Simplify tracking of single page websites #11392
Labels
c: Documentation
For issues related to in-app product help messages, or to the Matomo knowledge base.
c: Onboarding
For issues that make the experience of getting Matomo up and running better.
c: Platform
For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.
c: Tracking
For issues related to getting tracking data into Matomo.
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
There is a new blog post on how to track such websites and web apps here: https://piwik.org/blog/2017/02/how-to-track-single-page-websites-using-piwik-analytics/
I think it could be much simplified eg instead of calling those methods depending on what features are enabled:
One could simply call one method and depending on which features are enabled, they will all scan the DOM for updates content.
Also when calling trackPageView or another new method we could automatically reset custom variables in scope page, referrer, generation time etc.
The text was updated successfully, but these errors were encountered: