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

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

Update one key/value

// Feed this call with your own custom data.
$crisp.push(["set", "session:data", ["order_id", "3535353214"]]);


Update multiple key/values

// Feed this call with your own custom data.
$crisp.push(["set", "session:data", [[["order_id", "3535353214"],["address", "1 Market Street"]]]]);


Of course, you can setup your own data key.

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