8000 Use a new property for developer.github.com · WebOfise/developer.github.com@3793ff9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3793ff9

Browse files
author
Kyle Neath
committed
Use a new property for developer.github.com
The old property was shared with help.github.com
1 parent c655b09 commit 3793ff9

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

layouts/footer.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,13 @@
3838
s.parentNode.insertBefore(t, s);
3939
})();
4040
</script>
41-
<script type="text/javascript">
42-
var _gaq = _gaq || [];
43-
_gaq.push(['_setAccount', 'UA-3769691-27']);
44-
_gaq.push(['_trackPageview']);
45-
(function() {
46-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
47-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
48-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
49-
})();
41+
<script>
42+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
43+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
44+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
45+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
46+
47+
ga('create', 'UA-3769691-37', 'github.com');
48+
ga('send', 'pageview');
5049
</script>
5150
<script src="/shared/js/retina.js" type="text/javascript"></script>

0 commit comments

Comments
 (0)
0