Hmm...I can't tell what was done to gnome.org/friends to add Piwik to it, but I just looked at some commit logs for gnomeweb-wml. This one from Pierre-Luc Beaudoin seems to be a good example:
http://git.gnome.org/browse/gnomeweb-wml/commit/?id=382b19f469c231b355a77188e688cce0fbbf2a22 As does this one from Sandy Armstrong: http://git.gnome.org/browse/gnomeweb-wml/commit/?id=d94460a6a7400f2b589728eb8b69dcd3398d996e Now, the next step is to find the stats page to make sure these things really "took". Do you have a pointer to that page? webstats.gnome.org seems to require a login of some sort, but I'm not sure what to use. Thanks! Will On Jan 26, 2010, at 4:24 PM, Stormy Peters wrote: > > On Tue, Jan 26, 2010 at 2:01 PM, Willie Walker <william.wal...@sun.com> wrote: > 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? > > It's done for http://www.gnome.org/friends. > > Stormy > > > 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