Mixpanel Community Icon

Understanding the Impact of Sending $phone with Events in Kapa.ai

·
·

kapa.ai if we send $phone as a property with any event then what happens

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Please stand by Aditya G. as I search the knowledge base. I normally take about 15 seconds or so. đź‘‹

    Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    When you send $phone as a property with an event in Mixpanel, nothing special happens to the event itself - it's treated like any other event property. However, $phone is a reserved profile property in Mixpanel that has special meaning when used with user profiles.If you're specifically looking to use $phone for its intended purpose, you should set it as a user profile property rather than an event property. When set as a user profile property: - $phone is used to store the user's phone number - It's required if you want to send SMS to users via partners receiving cohorts from Mixpanel's Cohort Syncs - The phone number should include a '+' prefix for international numbers, otherwise Mixpanel will automatically add the country code based on the $country_code default property, which could result in a phone number with two country codesAs noted in the documentation: > "You must set this property if you want to send SMS to users via partners receiving cohorts from our Cohort Syncs. Note that a '+' needs to precede international phone numbers. If the user does not import a phone number with the '+' sign in front, the country code will be prefixed to the front of the number based on the $country_code default property, resulting in a phone number with two country codes."Reserved Properties documentationIf you're tracking $phone as an event property rather than a profile property, it won't automatically be used for these special purposes - it will just be a regular property attached to your events.

    kapa.ai is still learning and improving, please let me know how I did by reacting below.

    ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.