JavaScript Analytics for Single Page Applications

Proxima Analytics is designed to work seamlessly with most single page applications, requiring no additional configuration to get started. Simply include our tracking script from our worldwide CDN network and we'll start collecting pageviews as soon as it's loaded.

<script
  defer
  src="https://buzz.proxima.so/script.js"
  data-site="XXXX"></script>

No matter which frontend framework you're using, if you can find a way to add the HTML to your website, you'll be ready to go with Proxima Analytics. Our tracking script is lightweight and non-intrusive, so it won't slow down your site or disrupt the user experience.

Hash Based Routing

If you are using a JavaScript framework that uses hash based routing, you will need to set the `data-spa` attribute as `hash` to the script tag. This will ensure that the pageview is tracked correctly.

<script
  defer
  src="https://buzz.proxima.so/script.js"
  data-spa="hash"
  data-site="XXXX"></script>