Permalink
Browse files

added google tracking

  • Loading branch information...
1 parent a52d9e6 commit 53e1155e716e90482060d8c4257f8cdee9cf5da6 Samal committed Oct 27, 2013
Showing with 10 additions and 8 deletions.
  1. +1 −1 _config.yml
  2. +9 −6 _layouts/layout.html
  3. +0 −1 index.html
View
@@ -3,4 +3,4 @@ pygments: true
permalink: /:title
comments: true
fb_app:
-google_analytics: "UA-8835616-"
+google_analytics: "UA-45184159-1"
View
@@ -37,12 +37,15 @@
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/main.js"></script>
-
<script>
- var _gaq=[['_setAccount',''],['_trackPageview']];
- (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
- g.src='//www.google-analytics.com/ga.js';
- s.parentNode.insertBefore(g,s)}(document,'script'));
- </script>
+ (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-45184159-1', 'samalgorai.com');
+ ga('send', 'pageview');
+
+ </script>
</body>
</html>
View
@@ -6,7 +6,6 @@
<div class="row">
<div class="col-md-2">
<div id="sidehead">
- {% include sidebar.html %}
</div>
</div>
<div class="col-md-8">

0 comments on commit 53e1155

Please sign in to comment.