great-minister-59816
11/07/2022, 10:28 PM.alias method, however, that causes the user ID to remain the anonymous ID rather than replacing with the new primary ID which is the user’s ID. I’m thinking the .merge function can help me with this, but I have a few questions.
1. The merge function does not appear to be available in the Javascript SDK. Does this mean I’d have to call this server-side?
2. Does the merge function translate correctly to Mixpanel? (that’s where most of our data is being pushed to)
3. Is there some way to accomplish this merge via Transformations (such as, when a new user is identified, look up to see if there is an existing user with the same email address in their profile and if so merge those two users together?)jolly-toddler-15438
11/08/2022, 2:11 PM$merge event (see their docs). I believe this requires some technical effort - you may want to reach out to Mixpanel support.
Our own Merge API is only available for identity resolution in BigQuery and Snowflake and is an enterprise feature. You can also use an ID stitching dbt package if you’re interested in identity resolution in the warehouse.
cc @plain-parrot-49913 @shy-kite-21035 feel free to add anything here.jolly-toddler-15438
11/08/2022, 3:14 PMgreat-minister-59816
11/08/2022, 8:24 PMmerge function on Rudderstack was the same as that on Mixpanel, but I see now that they are different things. I appreciate the help!