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 push an event:

// 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)`

Of course, you need to replace product_bought with your own event name, own data and own color. For instance, you can use login or signup, upgrade, etc.

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