[planet-web] Add piwik's tracking code for http://news.gnome.org.
- From: Andrea Veri <av src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [planet-web] Add piwik's tracking code for http://news.gnome.org.
- Date: Mon, 27 Feb 2012 18:29:02 +0000 (UTC)
commit 7011dd97680004c33024b479f5dffe4b03d770e2
Author: Andrea Veri <av src gnome org>
Date: Mon Feb 27 19:29:24 2012 +0100
Add piwik's tracking code for http://news.gnome.org.
themes/news/index.html.tmpl | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/themes/news/index.html.tmpl b/themes/news/index.html.tmpl
index e3b4fb6..32283bd 100644
--- a/themes/news/index.html.tmpl
+++ b/themes/news/index.html.tmpl
@@ -202,6 +202,18 @@ Hosted by <a href="http://www.redhat.com/">Red Hat</a>.</p>
</div> <!-- /page -->
+<!-- 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", 5);
+piwikTracker.trackPageView();
+piwikTracker.enableLinkTracking();
+} catch( err ) {}
+</script><noscript><p><img src="http://webstats.gnome.org/piwik.php?idsite=5" style="border:0" alt="" /></p></noscript>
+<!-- End Piwik Tracking Code -->
</body>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]