-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Mixpanel] Allow extracting distinct ID, and identifying users #5
Comments
There are some issues, that is blocking it https://www.npmjs.com/package/mixpanel
The get_distinct_Id isn't present. That being said |
Connects-to: #5 Change-type: major Signed-off-by: Dimitrios Lytras <dimitrios@balena.io>
Connects-to: #5 Change-type: major Signed-off-by: Dimitrios Lytras <dimitrios@balena.io>
Connects-to: #5 Change-type: major Signed-off-by: Dimitrios Lytras <dimitrios@balena.io>
Connects-to: #5 Change-type: major Signed-off-by: Dimitrios Lytras <dimitrios@balena.io>
Connects-to: #5 Change-type: major Signed-off-by: Dimitrios Lytras <dimitrios@balena.io>
Connects-to: #5 Change-type: major Signed-off-by: Dimitrios Lytras <dimitrios@balena.io>
Connects-to: #5 Change-type: major Signed-off-by: Dimitrios Lytras <dimitrios@balena.io>
Connects-to: #5 Change-type: major Signed-off-by: Dimitrios Lytras <dimitrios@balena.io>
Connects-to: #5 Change-type: major Signed-off-by: Dimitrios Lytras <dimitrios@balena.io>
Connects-to: #5 Change-type: major Signed-off-by: Dimitrios Lytras <dimitrios@balena.io>
Connects-to: #5 Change-type: minor Signed-off-by: Dimitrios Lytras <dimitrios@balena.io>
Connects-to: #5 Change-type: minor Signed-off-by: Dimitrios Lytras <dimitrios@balena.io>
What needs to be done
In the consumer, we don't expose the mixpanel library at all.
In order to have proper cross-domain tracking, we need a) to extract the user's
distinct_id
from the Mixpanel instance [1]and then pass it along as a URL property in the next website.
b) In the destination, before doing any other calls, we have to associate the two sessions
Ideas
It's tricky because we have the same API for all three libraries (login, logout, track), and this calls for something mixpanel specific. One option would be to expose all the libraries to the client. Ideally, I would like to avoid this and have
getAnonymousId
,identifyVisitor
that handle all three platforms.Mixpanel docs
[1] https://help.mixpanel.com/hc/en-us/articles/115004511006-Track-Users-Across-Domains
[2] https://help.mixpanel.com/hc/en-us/articles/360000791746-Tracking-Truly-Anonymous-Data
The text was updated successfully, but these errors were encountered: