summaryrefslogtreecommitdiffstats
path: root/website/templates/google_analytics
diff options
context:
space:
mode:
Diffstat (limited to 'website/templates/google_analytics')
-rw-r--r--website/templates/google_analytics14
1 files changed, 14 insertions, 0 deletions
diff --git a/website/templates/google_analytics b/website/templates/google_analytics
new file mode 100644
index 0000000..2c881d1
--- /dev/null
+++ b/website/templates/google_analytics
@@ -0,0 +1,14 @@
+[%# Google analytics for tracking.
+ Ask RWMJ for access to the account. %]
+
+<script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-19035706-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>