I can't really see any other obvious way to deal with it, unfortunately.
I can't really see any other obvious way to deal with it, unfortunately.
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/d...
I am not saying this is a bad way (it is much better than many others), just that users should be made aware of the cause.
1. You don't respect DNT by default for a majority of users (since a user explicitly needs to disable JS).
2. You provide a relatively easy option for your viewers to disable tracking and make sure that everything works without third party tracking.
If I got it right, what you're doing is definitely not respecting DNT by default, but still doing more than most of the Web in order to reduce tracking (especially if you're donating screen estate in order to point that out).
Thus your users wouldn't have to fiddle with disabling javascript just for you(if they even know how to)