Hey there, I’m working on getting Rudderstack inte...
# support
g
Hey there, I’m working on getting Rudderstack integrated in the front end our of Wordpress marketing site and several different Javascript applications that are part of our service. I’ve got the events tracking correctly using the Javascript SDK, but I’m running into a challenge with the identity resolution to unify the event data from a user’s pre-signup profile and merge that into the user profile that is created post sign up. (even when this does not happen in the same session or browser) I was able to somewhat resolve this using the
.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?)
j
Hey Luke, I’ll try to help you with the caveat that I’m not in technical support. 😅 There might be some confusion about what we offer and what Mixpanel offers. RudderStack offers out-of-the-box identity resolution when using our JS SDK (automatically tracking anonymous and known users). If you’re sending this to a tool like Mixpanel, you’re able to join “any two distinct_ids into one identity cluster” with their
$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.
🙌 1
Also adding @melodic-agency-22199 for further insights and clarification.
g
Hey @curved-motorcycle-71835 - Thank you for that explanation; that helps a lot! I think I was thinking the
merge
function on Rudderstack was the same as that on Mixpanel, but I see now that they are different things. I appreciate the help!