The configuration for
ahoy.js lives in
ahoy.js's defaults to match that on the frontend.
In order to track an event, use the
This function will send a
POST request to the
/ahoy/events endpoint on our backend with the
properties of the event. The backend endpoint will also create a corresponding
Ahoy::Visit for the event if one does not exist already.