aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRikard <rikard@morus.se>2013-01-14 15:02:17 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2014-03-11 16:36:23 +0000
commit41c5e8fe21dfca231ea774696547647961847fc9 (patch)
treefc40ef572de7561168c4fd7a1256599f40852e33
parent3f8c6bd7b82e12e0ac31eaa3975e1142f6173f05 (diff)
Added tracking code for Piwik
-rw-r--r--templates/web/fixamingata/footer.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/web/fixamingata/footer.html b/templates/web/fixamingata/footer.html
index 5d462eddc..d196d1c6d 100644
--- a/templates/web/fixamingata/footer.html
+++ b/templates/web/fixamingata/footer.html
@@ -58,4 +58,19 @@
})();
</script>
</body>
+
+<!-- Piwik -->
+<script type="text/javascript">
+var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.ffkp.se/" : "http://piwik.ffkp.se/");
+document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+</script><script type="text/javascript">
+try {
+var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 12);
+piwikTracker.trackPageView();
+piwikTracker.enableLinkTracking();
+} catch( err ) {}
+</script><noscript><p><img src="http://piwik.ffkp.se/piwik.php?idsite=12" style="border:0" alt="" /></p></noscript>
+<!-- End Piwik Tracking Code -->
+<!-- Note, Piwik really should be changed so that we have one for beta and one for www -->
+
</html>