If you are using Crisp on a website where users are authenticated, you may want to push events to retarget them later.

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 events data.
$crisp.push(["set", "session:event", [[["product_bought", { price: "$200", name: "iPhone 6S" }, "red"]]]])

Sets one or multiple session events, with a text and an optional data object and optional color (in red, orange, yellow, green, blue, purple, pink, brown, grey, black)`

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