Custom Events

Track specific user actions like button clicks, form submissions, or purchases using the JavaScript API.

window.revly.track('signup', { plan: 'pro' })

Parameters

ParameterTypeDescription
eventNamestringName of the event. Must not be a reserved name.
propertiesobject (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():

  • pageview
  • session_end
  • identify

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