Changes between Version 27 and Version 28 of PiwikServer


Ignore:
Timestamp:
06/29/11 20:46:43 (5 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PiwikServer

    v27 v28  
    233233}}} 
    234234 
    235  
    236  
     235Then the GA code and import: 
     236 
     237{{{ 
     238cd /web/stats.transitionnetwork.org/ 
     239wget http://clearcode.cc/google2piwik-1.2.5.tgz 
     240tar -zxvf google2piwik-1.2.5.tgz 
     241cd google2piwik-1.2.5 
     242cp google2piwik.conf.sample google2piwik.conf 
     243}}} 
     244 
     245Edit {{{google2piwik.conf}}}:  
     246 
     247{{{ 
     248 
     249## Google Account Credentials 
     250# If you don't know your site table_id type: 
     251#                       ./google2piwik.py -p 
     252[google] 
     253user_login = transitiontownsnetwork [at] gmail.com 
     254user_pass  = XXX 
     255table_id   = ga:XXX 
     256 
     257# MySQL Piwik Database configuration 
     258[mysql] 
     259db = stats 
     260host = localhost 
     261port = 3306 
     262user = stats 
     263passwd = XXX 
     264table_prefix = 
     265 
     266# Set export date range 
     267[export] 
     268start = 2008-01-01 
     269end   = 2011-06-29 
     270 
     271## Piwik configuration of site. 
     272# For default Piwik installation with one website, site_id should be set to 1 
     273[piwik] 
     274site_id  = 1 
     275site_url = http://transitionnetwork.org 
     276}}} 
     277 
     278Test and backup db: 
     279 
     280{{{ 
     281./google2piwik.py -p 
     282./google2piwik.py -c 
     283mysql_backup 
     284}}} 
    237285 
    238286