I have followed the instructions for including the JS code for client-side analytics on my dev site already. As expected, this will not load since I used my production subdomain for the URL. However, prior to deploying to production, I am unsure if this will fully work for my SPA where it does not do a page load on each request, only the first. Typically, analytics scripts like Google require a function call to be triggered on route changes, but cannot find anything in the FAQs/docs about this, and briefly running through the script doesn’t show anything obvious.
Since I cannot test this yet, I just want to confirm this will only track the first pages users navigate to or if there is a way to track all route changes. Thanks!