Skip to content

Commit

Permalink
try simple matomo again #6
Browse files Browse the repository at this point in the history
  • Loading branch information
maxheld83 committed Nov 16, 2020
1 parent 7ee0331 commit e7e0a25
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions inst/pkgdown/templates/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,20 +99,14 @@
<script type="text/javascript">
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(["setCookieDomain", "*.subugoe.github.io"]);
_paq.push(["setDomains", ["*.subugoe.github.io","*.subugoe.github.io"]]);
_paq.push(["setDoNotTrack", true]);
_paq.push(["disableCookies"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://matomo.gwdg.de/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '407']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
g.type='text/javascript'; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="https://matomo.gwdg.de/matomo.php?idsite=407&amp;rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code -->

0 comments on commit e7e0a25

Please sign in to comment.