Oz Nahum пре 12 година
родитељ
комит
9481c9ad88
3 измењених фајлова са 14 додато и 1 уклоњено
  1. 11 0
      templates/about.html
  2. 2 1
      templates/archive_index.html
  3. 1 0
      templates/base.html

+ 11 - 0
templates/about.html

@@ -46,7 +46,18 @@
   <a title="Stackoverflow" href="http://stackoverflow.com/users/492620/oz123">stackoverflow</a>
   <a title="Github" href="https://github.com/oz123">github</a>
 </div>
+<script type="text/javascript">
 
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-36587163-1']);
+  _gaq.push(['_trackPageview']);
 
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+</script>
 </body>
 </html>

+ 2 - 1
templates/archive_index.html

@@ -27,8 +27,9 @@ margin-right:800px;
   {% endfor %}
 {% endblock %}
 
-
 {{side_bar}}
+{{google_analytics}}
+
 
 </body>
 </html>

+ 1 - 0
templates/base.html

@@ -23,5 +23,6 @@
   </div>
 </div>
 {{side_bar}}
+{{google_analytics}}
 </body>
 </html>