Closed NickColley closed 6 years ago
changelog
side note: i get undefined when i check for req.header('DNT') if DNT is disabled. should be 0 i assume
@igloosi by default a browser will not send a header, so it'll be undefined.
There's an unlikely chance someone would set DNT to 0, I'm not sure how though.
Adds a guard around Google Tag Manager script to prevent it from initialising, for users who have indicated they do not want to be tracked.
https://trello.com/c/jHVUmpdx/957-do-not-track-users-with-donottrack-enabled