Comments (13)
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!)
BlockingCookie.php
from matomo.
Attachment:
BlockingCookie-0.3.tar.gz
from matomo.
I would like that feature too.
from matomo.
Patch for review (submitted to [Piwik-hackers] by Christoph Moseler).
http://lists.piwik.org/pipermail/piwik-hackers/2008-December/000548.html
from matomo.
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.
Current state:
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.
from matomo.
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 reuse
Piwik_Url::getCurrentQueryStringWithParametersModified( $params )
- instead of building your URLs manually, you can reuse
- 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.
from matomo.
it has grown a little bit :) -> v0.3
- API to exclude from one or all sites (includes sites that are not yet created)
- API to check if excluded from one or all sites
- uses a little template for the widget
- API checks if user has view access for the site he wants to set the cookie for
- Please check that, it seems to work but I'm unexperienced which checks Piwik does anyways. My second test user was not able to use a modified link but I didn't see any error message because of my redirect.
from matomo.
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.
from matomo.
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.
from matomo.
black silence: please advise if you're able to make Matt's proposed changes for the upcoming release. Your help is appreciated.
from matomo.
I'll do it at the same time as #43
from matomo.
(In [2142]) Fixes #5462 Adding cookie exclude feature in the user settings page; will exclude visits from all websites tracked in the Piwik instance.
from matomo.
(In [2143]) Refs #5462 anonymous user can't set the cookie (csrf protection)
from matomo.
Related Issues (20)
- Export a report as a pdf
- Add the possibility to zoom on the map without clicking HOT 1
- Goal restrictions: make them available for some users only HOT 1
- Goal type: give the possibility for end users to categorize their goals
- Search/filter feature on the visit log page HOT 1
- Let the metrics/statistics window open
- Give the possibility to categorize/label segments
- Real time visit log updated when using HeartBeatTimer HOT 1
- [Bug] Discrepancy in Matomo Statistics for Confluence Pages HOT 1
- [Bug] Updating scheduled email report fails if goal has been deleted
- [Bug] Redirect issue when editing a goal
- Add possibility to customize icon of events per event category
- Optional Order ID
- [Bug] Plugin on activated does not load `configs.php` and results in \DI\NotFoundException
- [Bug] Segments: Filtering by country results in inconsistent data HOT 4
- how to track network status ? HOT 1
- [Bug] double metric _paq.push(['trackSiteSearch', false, false]) HOT 2
- [Bug]: Expand βOthersβ section for Pages not working
- [Bug] URL decoding should not be used when saving regular expressions
- Cross-visit Reports
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matomo.