piwik #2
Description
Piwik is a free and open source web analytics application written by a team of international developers that runs on a PHP/MySQL webserver. Piwik tracks online visits to one or more websites and displays reports on these visits for analysis.
- Tags:
- applications ›
Overview
Piwik is a free and open source web analytics application written by a team of international developers that runs on a PHP/MySQL webserver. Piwik is used by over 1,000,000 websites, 1.2% of all websites, and has been translated to more than 45 languages. New versions of Piwik are regularly released every few weeks. (from Wikipedia)
Usage
This charm is available in the Juju Charm Store along with hundreds of others. To deploy this charm you will need: a cloud environment, a working Juju installation, and an already bootstrapped environment.
Once bootstrapped, deploy the MySQL and Piwik charm:
juju deploy mysql
juju deploy piwik
Add a relation between the two. Note: To avoid recieving "ambiguous relation" error, specify the "db" relation:
juju add-relation mysql piwik:db
Expose the Piwik service
juju expose piwik
Known Limitations and Issues
Installation
Piwik is not able to do an automated installation yet (see this piwik ticked). Because of that, when first accessing the service after adding the relation between it and mysql, you will still have to use the assisted installation wizard. But the database connection information will be already filled and insensitive for changes.
Contact Information
Piwik Project Information
Configuration
- analytics_user
- (string) The username used to get the TOKEN_AUTH for analytics relations. It needs to be a super user. If not set, the oldest registered super user will be used.
- public_address
- (string) The public address for piwik. This needs to be set to be set _before_ trying to make any analytics relation.