Skip to content

Commit 95c870b

Browse files
committed
Update google analytics tracking code
1 parent eed35fa commit 95c870b

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

index.html

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -280,16 +280,14 @@
280280
</div>
281281
</div>
282282
<!-- GOOGLE ANALYTICS -->
283-
<script type="text/javascript">
284-
var _gaq = _gaq || [];
285-
_gaq.push(['_setAccount', 'UA-17922739-3']);
286-
_gaq.push(['_trackPageview']);
283+
<script>
284+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
285+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
286+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
287+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
287288

288-
(function() {
289-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
290-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
291-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
292-
})();
289+
ga('create', 'UA-28744302-1', 'auto');
290+
ga('send', 'pageview');
293291
</script>
294292
</body>
295293
</html>

0 commit comments

Comments
 (0)