Skip to content

Commit 148120f

Browse files
authored
Update root.html
Add GA
1 parent 29cb793 commit 148120f

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

_layouts/root.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@
1111
<link rel="stylesheet" href="/static/css/default.css" type="text/css" />
1212
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
1313
<script type="text/javascript" src="/static/js/jquery.1.7.min.js"></script>
14+
<!-- Global site tag (gtag.js) - Google Analytics -->
15+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-154846433-1"></script>
16+
<script>
17+
window.dataLayer = window.dataLayer || [];
18+
function gtag(){dataLayer.push(arguments);}
19+
gtag('js', new Date());
20+
21+
gtag('config', 'UA-154846433-1');
22+
</script>
23+
1424
<!-- start Mixpanel --><script type="text/javascript">(function(c,a){window.mixpanel=a;var b,d,h,e;b=c.createElement("script");b.type="text/javascript";b.async=!0;b.src=("https:"===c.location.protocol?"https:":"http:")+'//cdn.mxpnl.com/libs/mixpanel-2.1.min.js';d=c.getElementsByTagName("script")[0];d.parentNode.insertBefore(b,d);a._i=[];a.init=function(b,c,f){function d(a,b){var c=b.split(".");2==c.length&&(a=a[c[0]],b=c[1]);a[b]=function(){a.push([b].concat(Array.prototype.slice.call(arguments,0)))}}var g=a;"undefined"!==typeof f?g=a[f]=[]:f="mixpanel";g.people=g.people||[];h="disable track track_pageview track_links track_forms register register_once unregister identify name_tag set_config people.identify people.set people.increment".split(" ");for(e=0;e<h.length;e++)d(g,h[e]);a._i.push([b,c,f])};a.__SV=1.1})(document,window.mixpanel||[]); mixpanel.init("ed50c28311513adf4b2293887b710db6");</script><!-- end Mixpanel -->
1525
</head>
1626
<body>

0 commit comments

Comments
 (0)