Custom events & revenue
Track signups, purchases, and other actions — with optional properties and revenue values.
Beyond pageviews, you can track any action as a custom event, optionally with properties and a revenue value.
Sending an event
Once the script is installed, call the global ometra function:
window.ometra("Signup");
With properties
window.ometra("Signup", { props: { plan: "pro", source: "pricing" } });
With revenue
window.ometra("Purchase", {
revenue: { amount: 49.0, currency: "USD" },
props: { order_id: "1234" },
});
Revenue is totaled on your dashboard and on any matching revenue goal.
Codeless events
Some events are captured automatically — no code required:
- Outbound link clicks
- File downloads (PDF, ZIP, CSV, and more)
- Form submissions
You'll find these in the Events card on your dashboard.
Do custom events count toward my limit?
Yes — a custom event counts as one event, the same as a pageview. Automatic scroll-depth pings do not count toward your limit.