[planet-web] Add piwik tracking code



commit d91ed06cb6269f5fa0eb2b96b48c7c58c6015ad2
Author: Jaap A. Haitsma <jaap haitsma org>
Date:   Fri Nov 13 21:17:25 2009 +0100

    Add piwik tracking code

 themes/gnome/index.html.tmpl |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/themes/gnome/index.html.tmpl b/themes/gnome/index.html.tmpl
index 28731b0..eb05e90 100644
--- a/themes/gnome/index.html.tmpl
+++ b/themes/gnome/index.html.tmpl
@@ -202,7 +202,18 @@ Hosted by <a href="http://www.redhat.com/";>Red Hat</a>.</p>
 		});
 	});
 	</script>
-
+<!-- Piwik -->
+<script type="text/javascript">
+var pkBaseURL = (("https:" == document.location.protocol) ? "https://webstats.gnome.org/"; : "http://webstats.gnome.org/";);
+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", 6);
+piwikTracker.trackPageView();
+piwikTracker.enableLinkTracking();
+} catch( err ) {}
+</script><noscript><p><img src="http://webstats.gnome.org/piwik.php?idsite=6"; style="border:0" alt=""/></p></noscript>
+<!-- End Piwik Tag -->
 </body>
 
 </html>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]