@mattab opened this issue on January 3rd 2008

Feature available in phpMyVisites. The plugin makes it easy to create a cookie so that visits by the piwik user are not registered in the piwik.php process and not counted in the statistics.

The plugin would hook during the installation process and make the cookie by default (opt out)[[Image()]]

@robocoder commented on January 5th 2009

Patch for review (submitted to [Piwik-hackers] by Christoph Moseler).


@mattab commented on May 18th 2009

I had a quick look at plugin;

Feedback: - html could be extracted in templates - code to create the cookie should be in an API. - instead of building your URLs manually, you can reusePiwik_Url::getCurrentQueryStringWithParametersModified( $params ) - security: creating the cookie should only be available for users with a "view" access and that are logged in.

Also ideally we would like to add this feature in the admin section of the website, with a link to create a special cookie to be excluded from all websites in this Piwik.

@robocoder commented on March 20th 2010

Unless there are reasonable use cases where someone might want to deactivate the SitesManager, I've moved #554 to the same milestone as it would be a logical extension to integrate the per-site exclusion UI into the SitesManager UI.

@mattab commented on March 20th 2010

Note: cookie exclusion will not be possible "per website"; there will be a global cookie that would disallow tracking for all websites in the Piwik installs. we already have problems with the number of cookies (see #409). We could have a cookie that contain all website IDs to exclude, but this would not work and cause errors when the Piwik contains dozens/hundreds of websites (which is a more and more common use case that we def want to handle gracefully)

For finer grain control over which users are excluded from which websites, the IP exclusion would be the proper solution to use.

@robocoder commented on March 20th 2010

black silence: please advise if you're able to make Matt's proposed changes for the upcoming release. Your help is appreciated.

@mattab commented on March 20th 2010

I'll do it at the same time as #43

@mattab commented on May 6th 2010

(In [2142]) Fixes #5462 Adding cookie exclude feature in the user settings page; will exclude visits from all websites tracked in the Piwik instance.

@mattab commented on May 6th 2010

(In [2143]) Refs #5462 anonymous user can't set the cookie (csrf protection)

This issue was closed on May 6th 2010
Powered by GitHub Issue Mirror