Hi Stormy: Neat!
Do you (or someone) have specific examples of pages where this has been done? For example, the URL of a page as well as a pointer to the source code behind that URL that's maintained somewhere in git? Thanks, Will On Jan 26, 2010, at 2:50 PM, Stormy Peters wrote: > 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="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="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 _______________________________________________ > desktop-devel-list mailing list > desktop-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/desktop-devel-list _______________________________________________ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list