[art-web] Add piwik tracking code
- From: Jaap A. Haitsma <jhaitsma src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [art-web] Add piwik tracking code
- Date: Sun, 15 Nov 2009 18:04:54 +0000 (UTC)
commit 31099850d9d60ab8400a61b026ca37753b9d2317
Author: Jaap A. Haitsma <jaap haitsma org>
Date: Sat Nov 14 20:57:55 2009 +0100
Add piwik tracking code
index.html | 12 ++++++++++++
templates/footer.php | 12 ++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/index.html b/index.html
index feb471c..56a4365 100644
--- a/index.html
+++ b/index.html
@@ -127,4 +127,16 @@ Are you a developer that need help with a application icon, logo or design for m
</div>
</div> <!-- end of div#body -->
+ <!-- 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", 8);
+ piwikTracker.trackPageView();
+ piwikTracker.enableLinkTracking();
+ } catch( err ) {}
+ </script><noscript><p><img src="http://webstats.gnome.org/piwik.php?idsite=8" style="border:0" alt=""/></p></noscript>
+ <!-- End Piwik Tag -->
</body></html>
diff --git a/templates/footer.php b/templates/footer.php
index ae9ad2b..375729f 100644
--- a/templates/footer.php
+++ b/templates/footer.php
@@ -9,4 +9,16 @@
</div>
</div> <!-- end of div#body -->
+ <!-- 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", 8);
+ piwikTracker.trackPageView();
+ piwikTracker.enableLinkTracking();
+ } catch( err ) {}
+ </script><noscript><p><img src="http://webstats.gnome.org/piwik.php?idsite=8" 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]