wiki:PiwikServer

Version 50 (modified by chris, 4 years ago) (diff)

--

Piwik Web Stats

The Piwik webstats server is available at: https://stats.transitionnetwork.org/

The site is currently running on wiki:PenguinServer#stats.transitionnetwork.org via Nginx, previously there was a live site on Quince and a dev site on Kiwi using Apache, see the old Apache PiwikServerInstall notes.

Accessing the stats

If you need access to the stats for one of more site please contact webproject@… or chris@… to request an account and state which sites you need access to.

If you have an andriod or iOS mobile phone then you can install the Piwik app for your device from the apple store or google play, see http://piwik.org/mobile/

Sites

Currently stats are generated for the following sites:

  1. Transition Network
  2. Transition Movie
  3. Transition Wiki
  4. 2010 Archive
  5. 2011 Archive
  6. Static Archive
  7. TTech Trac

Adding a site

To add a site you need to contact webproject@… or chris@… and they can login and and use the sites manager to add a site and get the tracking code for the site, they should add the site to the PiwikServer#Sites list above.

They should then create a user and grant the new user access to the stats for the sites they need access to.

If the new site is running a content management system such as Drupal or Wordpress then please install the plugin for your CMS, see http://piwik.org/integrate/

Tickets

Current Piwik tickets:

Ticket Summary Owner Reporter
#909 What's involved in enabling longer Piwik reports? chris sam
#882 Login to PiWik stats chris annesley
#855 Piwik plugins chris sam
#768 Piwik Archive Cron Error chris chris
#675 Piwik Geolocation chris chris

Closed Piwik tickets: #337, #361, #371, #382, #393, #410, #414, #418, #436, #477, #495, #509, #515, #556, #660, #664, #672, #697, #720, #726, #729, #732, #752, #756, #776, #782, #791, #796, #800, #801, #807, #810, #817, #823, #832, #833, #835, #838, #840, #848, #850, #858, #861, #866, #867, #869, #880, #902, #910, #923

Updates

To update Piwik, backup the config file:

sudo -i
cd /web/stats.transitionnetwork.org/
cp piwik/config/config.ini.php .

There is an optional task of switching off the recording of stats, but it's not clear that the sites are busy enough to make this necessary, see ticket:418.

Download, extract, and update the database:

wget "http://piwik.org/latest.zip"
unzip latest.zip
cp config.ini.php piwik/config/
chown -R www-data:www-data piwik/
php /web/stats.transitionnetwork.org/piwik/index.php -- "module=CoreUpdater" 

Plugins

Do Not Track

Upgraded to version 0.3 on ticket:414

Penguin Server

See wiki:PenguinServer#stats.transitionnetwork.org and see ticket:470#comment:13 for the notes on the migration from Apache to Nginx. See also the initial research comments on the migration to Nginx, ticket:357#comment:14 ticket:357#comment:28.

See the GeoIP install notes, ticket:470#comment:33 and the setup of the Mediawiki plugin ticket:470#comment:32 and the Nginx install ticket:470#comment:13 and cronjob ticket:470#comment:13 and the Nginx config ticket:470#comment:34