~hristoast/modding-openmw.com

53f74a1040a384880bed911044a8f8e6a1f29eff — Hristos N. Triantafillou a month ago 53ec32d 3.25
Matomo out, goatcounter in
2 files changed, 2 insertions(+), 22 deletions(-)

M momw/momw/templates/privacy.html
M momw/momw/templates/tracking.html
M momw/momw/templates/privacy.html => momw/momw/templates/privacy.html +1 -2
@@ 4,8 4,7 @@
<div>
  <h3 class="bold center">Privacy Policy</h3>
  <p>
    The privacy of our visitors is important.  Below is an opt-out form for this site's tracking; if you've enabled "Do Not Track" in your browser then this will be respected, and you will be opted out by default.
    I collect general visitor stats for this website using <a href="https://www.goatcounter.com/">GoatCounter</a>. I do not share this data with anybody, ever.
  </p>
  <iframe id="dnt" src="https://stats.modding-openmw.com/index.php?module=CoreAdminHome&action=optOut&language=en"></iframe>
</div>
{% endblock %}

M momw/momw/templates/tracking.html => momw/momw/templates/tracking.html +1 -20
@@ 1,22 1,3 @@
{% if not DEBUG %}
<!-- Piwik -->
<script type="text/javascript">
 var _paq = _paq || [];
 /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
 _paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
 _paq.push(["setCookieDomain", "*.modding-openmw.com"]);
 _paq.push(["setDoNotTrack", true]);
 _paq.push(["disableCookies"]);
 _paq.push(['trackPageView']);
 _paq.push(['enableLinkTracking']);
 (function() {
   var u="//stats.modding-openmw.com/";
   _paq.push(['setTrackerUrl', u+'piwik.php']);
   _paq.push(['setSiteId', '6']);
   var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
   g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
 })();
</script>
<noscript><p><img src="//stats.modding-openmw.com/piwik.php?idsite=6&rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
  <script data-goatcounter="https://stats.modding-openmw.com/count" async src="//stats.modding-openmw.com/count.js"></script>
{% endif %}