You can clone with
HTTPS or Subversion.
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()]]
I would like that feature too.
Patch for review (submitted to [Piwik-hackers] by Christoph Moseler).
I created a plugin that could allow anybody to opt out of being tracked. It works, but I need help for creating a nice widget and/or API that allows users to do so.
Adds a widget (Special > Blocking Cookie) with a short message and a link to toggle tracking, clicking that link enables/disables tracking but doesn't take you back to the dashboard.
I thought of a link (button) to click which then replaces the widget content with the updated status message and a new link, but my jQuery code didn't work was I wanted.
Attachment: much cleaner version, less hardcoded, delete cookie if no site is excluded from tracking, user is sent back to dashboard (renamed widget, delete and add new!)
I had a quick look at plugin;
Piwik_Url::getCurrentQueryStringWithParametersModified( $params )
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.
it has grown a little bit :) -> v0.3
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.
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.
black silence: please advise if you're able to make Matt's proposed changes for the upcoming release. Your help is appreciated.
I'll do it at the same time as #43
(In ) Fixes #5462 Adding cookie exclude feature in the user settings page; will exclude visits from all websites tracked in the Piwik instance.
(In ) Refs #5462 anonymous user can't set the cookie (csrf protection)