Custom Events
Track specific user actions like button clicks, form submissions, or purchases using the JavaScript API.
window.revly.track('signup', { plan: 'pro' })Parameters
| Parameter | Type | Description |
|---|---|---|
eventName | string | Name of the event. Must not be a reserved name. |
properties | object (optional) | Any JSON-serializable data to attach to the event. |
Reserved Event Names
The following names are used internally and cannot be passed to track():
pageviewsession_endidentify
Next steps
- Conversion Goals — map event names to conversion metrics and track rates, unique converting visitors, and source attribution.
- Event Allowlist — restrict which event names your site accepts to prevent data pollution.
Need help? Reach out at contact@revly.pro