Skip to content
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

Simplify tracking of single page websites #11392

Open
tsteur opened this issue Feb 22, 2017 · 0 comments
Open

Simplify tracking of single page websites #11392

tsteur opened this issue Feb 22, 2017 · 0 comments
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.

Comments

@tsteur
Copy link
Member

tsteur commented Feb 22, 2017

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:

MediaAnalytics::scanForMedia
FormAnalytics::scanForForms
trackContentImpressionsWithinNode
enableLinkTracking

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.

@tsteur tsteur added c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. labels Feb 22, 2017
@mattab mattab added this to the Priority Backlog (Help wanted) milestone Mar 21, 2017
@mattab mattab added c: Onboarding For issues that make the experience of getting Matomo up and running better. c: Tracking For issues related to getting tracking data into Matomo. c: Documentation For issues related to in-app product help messages, or to the Matomo knowledge base. labels Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants