Piwik
- From: Stormy Peters <stormy gnome org>
- To: GNOME Desktop Hackers <desktop-devel-list gnome org>
- Subject: Piwik
- Date: Tue, 26 Jan 2010 12:50:25 -0700
Thanks to Jeff Schroeder and Jaap Haitsma we are now using Piwik to track web traffic.
By tracking web traffic we can learn more about what people are coming
to our website for, what they find useful and in general, improve our
website for our users.
Jaap has added the tracking html code to many of our web pages by
modifying the evilsedhack script which processes wml pages and produces
html pages in the gnomeweb-wml module.
However there are many
projects that don't use wml files, so for those somebody needs to put
the html code in manually.
Please take a minute
to make sure your project is being tracked.
Here's the code snipped that needs to be added, it's specific to every subdomain, so if you need a different code, please let me know.
gnome.org:
<!-- 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", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img
src="" href="http://webstats.gnome.org/piwik.php?idsite=1">http://webstats.gnome.org/piwik.php?idsite=1" style="border:0"
alt=""/></p></noscript>
<!-- End Piwik Tag -->
projects.gnome.org:
<!-- 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", 4);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img
src="" href="http://webstats.gnome.org/piwik.php?idsite=4" target="_blank">http://webstats.gnome.org/piwik.php?idsite=4"
style="border:0"
alt=""/></p></noscript>
<!-- End Piwik Tag -->
If you could take a minute
to make sure your project is being tracked, it would help us out a lot
in marketing GNOME effectively.
Thanks,
Stormy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]