Docs
Tracking & DataCustom events
Open dashboard
Tracking & Data

Custom events

Count the actions that are special to your funnel: a button, a tab, a step in your own app.

Three ways to fire one

Open Custom Events (or press ⌘K and search for it) and choose New Event. Give it a name, then pick how it fires.

WayHow
SelectorAdd a CSS selector such as .cta-button or #checkout. Every click on a match counts. No change to your page.
Data attributePut data-morev-track="name" on any element. A click on it counts.
JavaScriptCall morev.track("name") from your own code. For anything a click cannot catch.

JavaScript

It is available as window.morev once the snippet has loaded.

Track a custom event
// Your own event, with any details you like
morev.track("pricing_toggled", { plan: "annual" });

// Shortcuts for common funnel actions
morev.purchase(499, "usd");
morev.checkout("start");
morev.quizAnswer("goal", "scale");
morev.webinarAttend();

These go through the same path as built-in events. The full list of methods is in the JavaScript API.

When to use it

Tip
Use custom events for the moments that matter to your offer, such as a pricing toggle or a plan picker. Then you can watch them like any other step.
Was this page helpful?
Morev documentationNeed help? support@morev.io