Heiya,
is there a sane way to add a GoogleAnalytics Opt-Out to a wiki page like the privacy policy page?
Currently I add the resprecitve script to the wiki using the PCR GUI Inserts extension [0] and then I call the script on a page via the HTMLTags extension [1]. Currently this works somehow but not in 100% of the cases the opt-out cookie is set. (Sidenote: Obviously the respective wiki is not publicly editable.)
I am wondering if there is an extension or setup what can do this better? A specialized extension I am currently not aware of or perhaps the Widgets extension [2] or ...?
I feel like doing the wrong thing for the right reason.
Help or suggestions much appreciated! I am sure that I am not the only one in need to do this.
Cheers,
Karsten
[0] https://www.mediawiki.org/wiki/Extension:PCR_GUI_Inserts [1] https://www.mediawiki.org/wiki/Extension:HTML_Tags [2] https://www.mediawiki.org/wiki/Extension:Widgets