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

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

Here's how you would proceed to set the visitor's data:

// Feed this call with your own internal segment.
$crisp.push(["set", "session:segments", [["registered_users", "lead"]]])


Of course, you can setup your own segment value.

Want to know more about the $crisp interface? Read: How to use $crisp Javascript SDK?
Was this article helpful?
Thank you!