Skip to content

Commit

Permalink
change google analytics tracking code
Browse files Browse the repository at this point in the history
  • Loading branch information
andylibrian committed May 3, 2014
1 parent 8f4e66b commit 27bd5f1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
<link rel="stylesheet" href="styles/syntax.css"/>
<link rel="icon" href="images/favicon.png" type="image/png"/>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-362072-7']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
(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');

ga('create', 'UA-50628626-1', 'phptherightway.com');
ga('send', 'pageview');

</script>
</head>
<body>
Expand Down
16 changes: 8 additions & 8 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<link rel="stylesheet" href="/styles/syntax.css"/>
<link rel="icon" href="/images/favicon.png" type="image/png"/>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-362072-7']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
(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');

ga('create', 'UA-50628626-1', 'phptherightway.com');
ga('send', 'pageview');

</script>
</head>
<body>
Expand Down

0 comments on commit 27bd5f1

Please sign in to comment.