Ask your own question.

Someone from our team or the Crisp community will answer publicly.

We will ask your email to let you know when an answer is published.

Thanks! We will let you know when an answer is published.

Tell us why you are not satisfied.

Tell us how we can improve, and what is missing.

We will answer if we need more details, and improve this help section.

Thanks! We will get back to you if we need more information.

How can I push user events?

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?

Baptiste Jamin
Was this article helpful?YesNo
Thanks! 👍
Don’t find what you are looking for?

Ask your own question.

Ask Now