SPA Support

Toasted Analytics supports Single Page Applications, there's usually no additional setup required for it to work.

You can also trigger a pageview manually if you wish to do so:

// To trigger a unique pageview
window.toastedAnalytics && window.toastedAnalytics.trigger();
‚Äč
// To trigger a non-unique pageview
window.toastedAnalytics && window.toastedAnalytics.trigger(true);