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

New setting: Piwik to track only 'known' page URLs #1918

Closed
mattab opened this issue Dec 27, 2010 · 5 comments
Closed

New setting: Piwik to track only 'known' page URLs #1918

mattab opened this issue Dec 27, 2010 · 5 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@mattab
Copy link
Member

mattab commented Dec 27, 2010

We could add a new setting

  • Enable URL check: Piwik will only record page views that come from any of the known domain URLs: site1.com, site2.com, site3.com, sub.site4.com

If this is enabled, piwik.php will check the incoming Page URLs against the list of URLs recorded for this website id.

Also, the http referer should be checked and it should be non empty, and have one of the known domain URL.

This new feature would help prevent fake requests to a Piwik server.

@robocoder
Copy link
Contributor

In the cases where the Referer header is suppressed, the check may have to allow an empty referrer.

@mattab
Copy link
Member Author

mattab commented Dec 27, 2010

I think we'll have to ignore the visits without referer or it would make the new feature incomplete (ie. you would just have to generate a proper URL and empty referer to record unwanted visits)

@robocoder
Copy link
Contributor

As I recall, the rationale for this feature was where UnrelatedSiteB copy & pasted content from SiteA. In this use case (copyvio), wouldn't we want to report the suspicious tracking (as opposed to ignoring it)?

@mattab
Copy link
Member Author

mattab commented Jan 2, 2011

This is for this use case as well as intentional requests. I don't think we want to report, or we could, but this would be in a V2.

@mattab
Copy link
Member Author

mattab commented Jan 17, 2011

Dupe of #588

@mattab mattab added this to the Future releases milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously. 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