How Radar tracks pageviews, interactions, and custom behavior on your customers’ sites.
$pageview
and $pageleave
events. You can enable more advanced automatic event tracking by setting the appropriate feature flags in your configuration.
$pageview
: Fired every time a page is loaded or the URL hash changes. Includes details like the page URL, title, and referrer.$pageleave
: Fired when a user navigates away from a page. This event is used to calculate time-on-page metrics in session-based delivery.features.formTracking
)formTracking
, Radar will automatically capture the following events on your customers’ websites:
form_submit
: Fired when a user successfully submits a form. The event includes the form’s name, ID, and all non-sensitive field values.form_abandon
: Fired when a user interacts with a form’s fields but navigates away from the page without submitting.password
, credit_card
, ssn
).features.clickTracking
, features.downloadTracking
)clickTracking
, Radar automatically captures clicks on <a>
and <button>
elements, as well as any element with a data-track-event
attribute on your customer’s site.downloadTracking
, Radar will fire a download
event when a user clicks a link that points to a common file type (e.g., .pdf
, .docx
, .zip
).track
method, which is exposed by the namespace
you defined in the loader script.
[Object] [Verb]
naming convention to keep their events organized and readable. For example: File Downloaded
, User Upgraded
, or Video Played
.event_properties
object of the webhook payload you receive. See an example in Receiving Events.