I have a desktop app, but tracking happens in our node.js server which is a proxy between the app and openpanel.
How can I achieve this flow:
- new user opens the app without an account
- we track some events (we don't know user id as there is no user yet. So I'd like to use deviceId)
- later, user creates an account -> we know userId
- I want to identify the user now
- as a result I want all events made before and after user signing up to be visible as made by a single user
I was a bit confused checking the docs. I also realized alias function does not work