Custom events with Crovio.track
Send your own events to Crovio from your theme or another app, then use them as goals and results filters.
Custom events let you measure things Crovio can't see on its own: finishing a quiz, opening a size guide, playing a video, signing up in a popup.
Send an event
Call Crovio.track from your theme code or another app's custom code:
window.Crovio && Crovio.track("quiz_completed");- Event names can use letters, numbers and
_ . : -, up to 60 characters. - Each event counts once per visitor per session.
- Events only count for visitors who are in a test.
Events Crovio sends for you
The shoppable videos widget sends video_play when a shopper opens a video, and video_add_to_cart when they add a product from the player. Use them as goals or filters like your own events, without writing any code.
Use it in a test
- As a goal: Goals → Add goal → Build your own → Triggers a custom event, and type the event name. Make it the primary goal if it's what you're optimising. Goals.
- In results: every tracked event appears under Custom events on the Results tab, with the share of each group's visitors who fired it.
- As a filter: Show results for → Custom event → yes / no. Segments and filters.
Was this page helpful?