A complete reference for the methods available on the Radar JavaScript object for your customers to use.
namespace
you defined. This JavaScript SDK provides a set of methods that your customers can use to send custom data, manage their users’ identity, and control the tracker’s behavior.
Throughout this guide, we’ll use YourAppName
as the example namespace that you would provide to your customers.
track
method is the primary way for your customers to send custom event data to Radar.
[Object] [Verb]
naming convention, such as Document Signed
or Video Played
.identify
method allows your customers to associate traits with a user on their website. These traits are stored by Radar and attached to all future events from that user.
email
property is included, Radar will use it for enrichment.page
method can be used to manually trigger a pageview event. This is useful in Single-Page Applications (SPAs) where routing changes don’t always trigger a full page load.
localStorage
). See the Consent Management guide for a full walkthrough.
initialized
, session_start
, identify
, page_view
.