Articles on: Developers

How to automatically set my user's phone number

If you are using Crisp on a website where users are authenticated, you may want to set their phone number.

This method uses the Crisp JavaScript API, that you can call from your own code.

// Feed this call with your own custom data.
$crisp.push(["set", "user:phone", ["0123456789"]])


Want to know more about the $crisp interface? Read: How to use $crisp Javascript SDK?

Updated on: 13/06/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!