~bellini666/charms/trusty/wordpress/piwik_integration

« back to all changes in this revision

Viewing changes to README.md

  • Committer: Thiago Bellini
  • Date: 2014-12-10 17:03:41 UTC
  • Revision ID: hackedbellini@async.com.br-20141210170341-2rhb3tugw3zlox5u
Initial analytics relation support with piwik

Show diffs side-by-side

added added

removed removed

Lines of Context:
206
206
 
207
207
Any other value will result in the default (nginx) being used.
208
208
 
 
209
## Analytics
 
210
 
 
211
Wordpress can be be integrated with piwik using the piwik charm. For that, you
 
212
can follow this workflow, considering you already installed and configured
 
213
wordpress:
 
214
 
 
215
Deploy the piwik charm:
 
216
 
 
217
    juju deploy piwik
 
218
    juju add-relation mysql piwik
 
219
 
 
220
Get piwik public ip from `juju status`, go to http://<ip> and complete its
 
221
setup in the browser.
 
222
 
 
223
Then set piwik public address and, optionally, the super user created on the
 
224
browser.
 
225
 
 
226
    juju set piwiki public_address=<piwiki_ip>
 
227
    juju set piwiki analytics_user=<super_user_username>
 
228
 
 
229
Than add a relation between piwik and wordpress:
 
230
 
 
231
    juju add-relation piwik wordpress
 
232
 
 
233
Login to the wordpress admin site and go to Dashboard -> Plugins ->
 
234
Installed Plugins -> WP-Piwik -> Settings -> Tracking and click "Save".
 
235
 
 
236
Piwik should now be tracking the visits on your wordpress installation.
 
237
 
209
238
# Known Limitations and Issues
210
239
 
211
240
## HP Cloud