  <hr class="featurette-divider" />

  <div class="container">
    <footer class="text-center text-muted">
      <p class="pull-right"><a href="#" class="btn btn-large btn-default">Back to top</a></p>
      <p>&copy; 2014 <?php bloginfo('name'); ?>
    </footer>

    <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
    <?php //wp_footer(); ?>
  </div>

  <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-32446386-1']);
    _gaq.push(['_setDomainName', 'algolia.com']);
    _gaq.push(['_trackPageview', '/blog']);

    (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>

  <hr class="featurette-divider" />

  <div class="container">
    <footer class="text-center text-muted">
      <p class="pull-right"><a href="#" class="btn btn-large btn-default">Back to top</a></p>
      <p>&copy; 2014 <?php bloginfo('name'); ?>
    </footer>

    <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
    <?php //wp_footer(); ?>
  </div>
</body>
</html>

--- 
+++ 
@@ -10,5 +10,20 @@
     <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
     <?php //wp_footer(); ?>
   </div>
+
+  <script type="text/javascript">
+
+    var _gaq = _gaq || [];
+    _gaq.push(['_setAccount', 'UA-32446386-1']);
+    _gaq.push(['_setDomainName', 'algolia.com']);
+    _gaq.push(['_trackPageview', '/blog']);
+
+    (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>
Add google analytics tracking code
