Skip to content
This repository was archived by the owner on May 31, 2022. It is now read-only.

Commit db5a0b2

Browse files
authored
update google analytics snippet
1 parent caeecaa commit db5a0b2

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

‎index.html‎

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,14 @@
1717
<![endif]-->
1818

1919
<link rel="shortcut icon" href="favicon.ico">
20-
<script type="text/javascript">
21-
22-
var _gaq = _gaq || [];
23-
_gaq.push(['_setAccount', 'UA-10826408-10']);
24-
_gaq.push(['_trackPageview']);
25-
26-
(function() {
27-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
28-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
29-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
30-
})();
20+
<script>
21+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
22+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
23+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
24+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
25+
26+
ga('create', 'UA-85551126-1', 'auto');
27+
ga('send', 'pageview');
3128

3229
</script>
3330
</head>

0 commit comments

Comments
 (0)