Problem/Motivation
Google Analytics supports an option to disable the default cookie storage. This option is useful for sites implementing their own storage mechanism (such as localStorage or a Service Worker) to persist the client ID across sessions without using cookies. By disabling cookies, EU sites have no obligation to ask for permission for tracking cookies.
More information about this option is available on https://developers.google.com/analytics/devguides/collection/analyticsjs...
Proposed resolution
Add a configuration option to the administration form to disable cookie storage and update the ga function accordingly.
Remaining tasks
- Write a patch
- Review
- Commit
User interface changes
A new configuration option 'Disable cookies' is available under the configuration form vertical tab 'Privacy'.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | google_analytics-_disable_cookies-2804553-4.patch | 4.28 KB | idebr |
Comments
Comment #2
idebr commentedComment #3
idebr commentedComment #4
idebr commentedAttached patch implements a configuration option 'Disable cookies' in the Privacy vertical tab on the configuration form and updates the tracking code accordingly.
Comment #8
hass commentedAre you personally changing the laws? You are not allowed to track a user with whatever technology exists without user confirmation.
I have added two new create fields.
Comment #9
idebr commentedHeh, I guess I must only have heard it referenced as the 'cookie law' without actually looking into it, so I learned something new today :)
Thanks for the quick commit!
Comment #10
hass commentedSure it is often named "cookie law" by press, but in reality it means tracking / later identification of customers without their confirmation. If you are able to identify users it is forbidden.
You do not expect that there is a written law that has written down the word "cookie", aren't you?