05Custom events
Custom events: track the actions that matter
Pageviews are automatic on every plan. For everything else — signups, purchases, downloads — call metryo.event() from anywhere in your code. Available on all plans, including Free.
From JavaScript
anywhere.js
From HTML
index.html
Single-page apps
spa.js
Calling before the script loads
index.html