Skip to content

Commit

Permalink
fix GA
Browse files Browse the repository at this point in the history
  • Loading branch information
christophM committed Jul 30, 2024
1 parent ec7613a commit 82ee21a
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions manuscript/html/header.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-V7RTNZBGE2"></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','//www.google-analytics.com/analytics.js','ga');
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

ga('create', 'UA-110543840-1', 'https://christophm.github.io/interpretable-ml-book/', {
'anonymizeIp': true
, 'storage': 'none'
, 'clientId': window.localStorage.getItem('ga_clientId')
});
ga(function(tracker) {
window.localStorage.setItem('ga_clientId', tracker.get('clientId'));
});
ga('send', 'pageview');
gtag('config', 'G-V7RTNZBGE2');
</script>

<link rel="stylesheet" type="text/css" href="css/cookieconsent.min.css" />
Expand Down

0 comments on commit 82ee21a

Please sign in to comment.