Currently Im trying to solve a problem about tracking.
On our website, an user should be able to decide whether or not he gets tracked and also which kind of information is shared.
Also we have different third party tracking mechanism, which can be switched off aswell. (if the user wants to)
I resolved this problem with local storage + cookies. If the user decides to deactivate one of our trackings, the code which is responsible for that kind of tracking will not be transmitted via the requested file.
Also I do respect the settings from window.Navigator.doNotTrack, which will in case of beeing 1, resolve in a snackbar popping up and asking for permission.
All Information I found about this topic is here
What I want to know is how to ask for an exception and also how to see whether or not the website is accepted or not.
I tried what is described here but it does not seem to work.
Navigator.trackingExceptionExists // will be undefined