Permalink
Browse files

split out to a footer

  • Loading branch information...
1 parent 954f338 commit 5c8e3567fdd3234cdba87770fe096db438ef77e7 @petdance committed Feb 10, 2010
Showing with 12 additions and 6 deletions.
  1. +11 −0 tt/footer.tt
  2. +1 −6 tt/page.ttml
View
@@ -0,0 +1,11 @@
+<div id="footer">
+</div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+ var pageTracker = _gat._getTracker("UA-631706-2");
+ pageTracker._trackPageview();
+} catch(err) {}</script>
View
@@ -90,12 +90,7 @@
</div><!-- End content -->
</div><!-- End main content wrapper -->
</div><!-- End container -->
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
- </script>
- <script type="text/javascript">
- _uacct = "UA-631706-2";
- urchinTracker();
- </script>
+ [% PROCESS footer.tt %]
</body>
</html>
[%# vi: ft=tt2html

0 comments on commit 5c8e356

Please sign in to comment.