New Opt-out solution: Mime-type conflict nosniff #19889
Labels
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
Potential Bug
Something that might be a bug, but can't be reproduced (yet).
Waiting for user feedback
Indicates the Matomo team is waiting for feedback from the author or other users.
Usage: Matomo Version 4.12.1 and new opt-out script without iframe (#17452).
Most websites have set the HTTP-Header x-content-type-options : nosniff.
In the case of this setting the new opt-out script is not working:
The browser console is logging "ressource is blocked because of MIME-Typ-conflict ("text/html")".
The behaviour occurs when I am use the Matomo tracker code snippet to set the opt-out.
The second snippet (self contained code) is working.
I don't know now if it's a bug or more of a documentation issue.
The text was updated successfully, but these errors were encountered: