Mixpanel Community Icon

Resolving Duplicate User Entries in Mixpanel by Email Address

·
·

Hello everyone, we made a mistake when we used wrong userId (different one) for identifying users. Then we fixed it but now we have duplicate user entries in mixpanel. We also log e-mails, that are unique. Is there any possibility to tell mixpanel to join those accounts with same e-mail address? Or how would you approach solving this issue? Thank you very much in advance for any help, Filip

  • Avatar of Vlad S.
    Vlad S.
    ·
    ·

    do you know what version of id merge you are on?

  • Avatar of Vlad S.
    Vlad S.
    ·
    ·

    if you go to project settings, it should say there (we are on original ID merge)

  • Avatar of Vlad S.
    Vlad S.
    ·
    ·

    depending on what you're on, you have different options

  • Avatar of Vlad S.
    Vlad S.
    ·
    ·

    can you simply delete those profiles?

  • Avatar of Filip O.
    Filip O.
    ·
    ·

    we have Simplified ID Merge

  • Avatar of Filip O.
    Filip O.
    ·
    ·

    Do you think if I could call identify twice with old and new id? mixpanel?.identify("oldId"); mixpanel?.identify("newId"); Because what I have read, the alias is not possible to use for this Simplified merge ID

  • Avatar of Vlad S.
    Vlad S.
    ·
    ·

    this is from the documentation:

    It is not possible to merge 2 $user_ids together using the Simplified API. We don’t recommend doing this in general, as it adds complexity to your identity resolution strategy. Instead, we recommend having a single, unchanging $user_id for each user and pointing all other IDs for that user to that single $user_id

    so I think you'll have to delete the duplicate profiles, and maybe delete and resend the associated events too, depending on your case

  • Avatar of Filip O.
    Filip O.
    ·
    ·

    alright, thank you