How Radar automatically tracks pageviews in your customers’ Single-Page Applications (SPAs).
pushState
and replaceState
) and listening for the popstate
event.
This means that for the vast majority of your customers’ SPAs, you do not need to provide any extra configuration to get accurate pageview tracking. As long as their routing library uses the standard History API, Radar will automatically fire a $pageview
event every time the route changes.
page
MethodYourAppName.page()
method is provided for these scenarios.
You should advise your customers to use this if:
page
method: