Can I use user instead of email? Will it auto-stitch to the profile or do I need to use 'email' as is?
Hi Khushi L., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> đź‘‹
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
Yes, you can use a unique user identifier instead of an email. However, the identifier you choose should be unique to each user and should not change. For example, a database ID could be used. While using an identifier like email may be more convenient, keep in mind that you cannot merge 2 $user_ids
or change a $user_id
, so if the user changes their email, they will count as a separate user. In terms of stitching to the profile, User Profiles are set directly on $distinct_id
s, not on $user_id
s or $device_id
s. It is recommended to wait until after a user is identified before setting user profile properties. However, for certain integrations like Facebook Ads, Google Ads, and Iterable, you must set an email as a user profile property or have a device advertising ID. In addition to an email address, Mixpanel sends the first name user profile property, the last name user profile property, a phone number user property, an advertising ID user property and a distinct_id. Sources:
- Identifying Users (Simplified)
- Identifying Users (Original)
- Facebook Ads Data Requirement
- Google Ads Data Requirements
- Matching Users between Mixpanel and Iterable
kapa.ai is still learning and improving, please let me know how I did by reacting below.
⤵️ Hint: Mention @kapa.ai in the thread for follow-ups.
Let me check the knowledge base for you again. One moment! đź“š
Yes, it would still work. You can use an email ID as the $user_id
in Mixpanel. However, it's important to note that if a user changes their email, they will count as a separate user because you cannot merge 2 $user_ids
or change a $user_id
. Also, for certain integrations like Facebook Ads, Google Ads, and Iterable, you must set an email as a user profile property. Remember, User Profiles are set directly on $distinct_id
s, not on $user_id
s or $device_id
s. It is recommended to wait until after a user is identified before setting user profile properties. Sources:
- Identifying Users (Simplified)
- Identifying Users (Original)
- Facebook Ads Data Requirement
- Google Ads Data Requirements
- Matching Users between Mixpanel and Iterable
kapa.ai is still learning and improving, please let me know how I did by reacting below.
⤵️ Hint: Mention @kapa.ai in the thread for follow-ups.