summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoro <o@immerda.ch>2011-11-29 11:56:54 +0100
committero <o@immerda.ch>2011-11-29 11:56:54 +0100
commitb363af1849f260357fbf07836c154954795da563 (patch)
treef0973c04428064e35ee896a48f38b51eff9d0491
parent14b07886f59c6824274d75c2356178fe7e9e9c80 (diff)
add piwik code
-rw-r--r--footer.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/footer.php b/footer.php
index 36ac41e..a04dbd9 100644
--- a/footer.php
+++ b/footer.php
@@ -6,6 +6,18 @@
</div><!-- End Center -->
+<!-- Piwik -->
+<script type="text/javascript">
+var pkBaseURL = (("https:" == document.location.protocol) ? "https://datamining.immerda.ch/" : "http://datamining.immerda.ch/");
+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", 15);
+piwikTracker.trackPageView();
+piwikTracker.enableLinkTracking();
+} catch( err ) {}
+</script><noscript><p><img src="http://datamining.immerda.ch/piwik.php?idsite=15" style="border:0" alt="" /></p></noscript>
+<!-- End Piwik Tracking Code -->
</body>
</html>