Skip to content

Commit

Permalink
Remove GA
Browse files Browse the repository at this point in the history
  • Loading branch information
akoeplinger committed Jul 7, 2020
1 parent 16a332b commit 36ef29e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,6 @@
window.location.replace(window.location.href.replace("mono.github.io/website", "www.mono-project.com"));
}
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

function enableGA() {
ga('set', 'anonymizeIp', true);
ga('create', 'UA-76510-1', 'auto');
ga('send', 'pageview');
}

if (typeof(mscc) === 'undefined' || mscc.hasConsent()) {
enableGA();
} else {
mscc.on('consent', enableGA);
}
</script>
</head>
<body>
<div id="main-wrapper">
Expand Down

0 comments on commit 36ef29e

Please sign in to comment.