Difference between revisions of "MediaWiki:Liquiflow.js"

From QWiki
m (Testing tracking script)
m (Testing tracking script)
Line 1: Line 1:
      const scriptTag = document.createElement('script');
+
/* Tracking script for visitor stats */
      scriptTag.type = 'text/javascript';
+
<!-- Default Statcounter code for QWiki
      scriptTag.src = 'https://bot.leadoo.com/bot/dynamic.js?company=ewT8Z351';
+
https://www.quakeworld.nu/wiki/Overview -->
      document.appendChild(document.body, scriptTag);
+
<script type="text/javascript">
 +
var sc_project=13040350;
 +
var sc_invisible=0;
 +
var sc_security="75c98690";
 +
var scJsHost = "https://";
 +
document.write("<sc"+"ript type='text/javascript' src='" +
 +
scJsHost+
 +
"statcounter.com/counter/counter.js'></"+"script>");
 +
</script>
 +
<noscript><div class="statcounter"><a title="website
 +
statistics" href="https://statcounter.com/"
 +
target="_blank"><img class="statcounter"
 +
src="https://c.statcounter.com/13040350/0/75c98690/0/"
 +
alt="website statistics"
 +
referrerPolicy="no-referrer-when-downgrade"></a></div></noscript>
 +
<!-- End of Statcounter Code -->

Revision as of 21:54, 24 September 2024

/* Tracking script for visitor stats */
<!-- Default Statcounter code for QWiki
https://www.quakeworld.nu/wiki/Overview -->
<script type="text/javascript">
var sc_project=13040350; 
var sc_invisible=0; 
var sc_security="75c98690"; 
var scJsHost = "https://";
document.write("<sc"+"ript type='text/javascript' src='" +
scJsHost+
"statcounter.com/counter/counter.js'></"+"script>");
</script>
<noscript><div class="statcounter"><a title="website
statistics" href="https://statcounter.com/"
target="_blank"><img class="statcounter"
src="https://c.statcounter.com/13040350/0/75c98690/0/"
alt="website statistics"
referrerPolicy="no-referrer-when-downgrade"></a></div></noscript>
<!-- End of Statcounter Code -->