-
Notifications
You must be signed in to change notification settings - Fork 377
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
GDPR Checklist #358
Comments
This is great! thank you guys Just started pulling ahoy into our app and excited to see this coming Much appreciated and I'll try and help out if I find an opportunity |
Just released 2.1.0 with this |
@ankane is there a way to expire visit or set a duration somehow in that case? |
@ankane - Using Javascript, how would I allow Ahoy to track the user based on the user's answer to a "GDPR-compliant cookies notice"? We'd also like to be able to automatically it off on certain sections of the site rather than application-wide. |
With GDPR settings on, can we still get unique visits properly? |
Summary
IP masking, anonymity sets, and no more cookies
Checklist
Completed items are on
master
branchAhoy.mask_ips = true
(side effect: reduces geocoding accuracy)Ahoy.cookies = false
to function server-side without cookiesAhoy.configure({cookies: false})
to Ahoy.js to function client-side without cookiesIP Masking
Same approach as Google Analytics IP Anonymization
Anonymity Sets & Cookies
Instead of cookies, use the following formula for visit and visitor tokens.
Visitors with the same masked IP address (see above) and user agent combo will be grouped together into an anonymity set
Note: Visits have an infinite duration - one approach is to add the current date/week to the hash, but this will interfere with active visits during switchover
Readme instructions
Update
config/initializers/ahoy.rb
to:If you use JavaScript tracking, set:
Notes
config.force_ssl
Resources
The text was updated successfully, but these errors were encountered: