Question

Set Phone property for a user

  • 28 July 2020
  • 1 reply
  • 105 views

Hello,

 

I have an integration with an Android app and for a user I’m setting the Phone property as below:

UserSettingsManager.phoneNumber?.let {
mixpanel.people. set("Phone", it)
}

Data loads fine and I can see them set, but when I’m trying to setup a SMS message I get the following:

0 people will get this message

Is there another way to set the Phone property?

 

Thanks in advance.


1 reply

Badge

Hi @dorinsimina,

To be able to send SMS to the user, you must set the $phone property in their user profile (instead of Phone).

As you'll notice, the property is denoted with a "$". This $ allows Mixpanel to know that these are "special" properties (https://help.mixpanel.com/hc/en-us/articles/115004730066-Send-SMS-Messages-From-Mixpanel#send-phone-numbers-to-mixpanel). All other properties do not need to be denoted with a dollar sign.

 

Hope this helps!

 

Reply


Mixpanel