hotosm / learnosm

LearnOSM.org content, Jekyll layouts & issue tracking. This repository is dedicated to helping people learn how to map in OpenStreetMap (OSM) and use many of the software and tools in the OSM community.
http://learnosm.org
MIT License
247 stars 189 forks source link

Update analytics tracking code and add optout form #563

Closed dakotabenjamin closed 5 years ago

dakotabenjamin commented 5 years ago

We recently switched over to a new website tracking system, (Piwik is now called Matomo). We are also working on getting all of our sites GDPR compliant. This update will implement a form that pops up on the bottom of the page that allows users to opt-out of tracking.

image

michael63-osm commented 5 years ago

I just installed the changes for Matomo on our staging site (http://nick-tallguy.github.io) but I cannot see any opt-out button. Additionally, several error messages pop up on the JavaScript console.

Please have a look whether I did something wrong or whether we have other issues here.

dakotabenjamin commented 5 years ago

I loaded that link and found it to work fine: image

Make sure you disable any script blockers.

michael63-osm commented 5 years ago

Oops - it was not a script blocker. I disable cookies by default and only allow specific domains. In this case the banner does not appear.

Merging this and fixing a typo ('You may choose to opt of of this below' -> 'You may choose to opt out of this below'