New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to track Single Page Applications? #7998
Comments
Enable "Page URL fragments tracking" in Websites settings and manually trigger trackPageView after each site "refresh". |
thanks |
I am re-opening this issue, as there is a strong need for us to document the best practise around "Measuring Single Page Applications". Let's create a User Guide or at least FAQ with our set of best practises. |
Maybe there is also potential to build a better tracking API, or build in piwik.js some useful features, to make tracking single page app better & easier. For example last week Google released a new tool which helps users measure their single page app:
(this issue is about creating a FAQ. If we identify potential to also create a new feature in piwik.js we shall create a separate issue) |
This issue is tracked in: matomo-org/developer-documentation#90 (comment) If anyone has measured their single page app with Piwik, please let us know any tip or advice in the comments on matomo-org/developer-documentation#90 - we'd like to write this guide in the future 👍 |
We've just published the guide, check it out here: How to track single-page websites and web applications using Piwik Analytics |
The guide covers navigation through location hash changes but History API navigation is not mentioned at all. Is there a best practice recommendation for this case? |
You can listen to |
As a User i want to be able to track my Single Page Application.
It uses a URL hash as "Page Identifier", like "xyz.com/#links", "xyz.com/#welcome" and so on.
The text was updated successfully, but these errors were encountered: