1 min read
Enable Piwik for LimeSurvey
This post is part of my Your own Virtual Private Server hosting solution project.
Get the latest version of this article here: https://gist.github.com/1d5043a9f40760716def.
Introduction
Piwik is an Open Source webanalytics software. In this tutorial you’ll learn how to integrate the Piwiks plugin for LimeSurvey.
Requirements
- Ubuntu server
- Nginx
- Nginx minimal website
- php5-fpm
- php5-mysql
- Nginx php5-fpm website
- MySQL
- Increased Max Upload for php5-fpm website
- LimeSurvey webapp
Installation
Navigate to the LimeSurvey plugin directory.
cd /var/www/<limesurvey>/plugin
Clone the Piwik LimeSurvey plugin.
sudo git clone https://github.com/SteveCohen/Piwik-for-Limesurvey.git PiwikPlugin
Copy the scripts from the sub folder in to the main plugin folder.
cd PiwikPlugin/
sudo mv ./PiwikPlugin/* ./
sudo rm -R PiwikPlugin
Add access rights for the webserver user.
sudo chown www-data:www-data -R ./*
Open your Piwik website //<piwik host>/index.php?module=SitesManager
and optionally add a new site.
Copy the ID of the site where you want to store your LimeSurvey tracking data.
Open the LimeSurvey plugin manager //<limesurvey host>/index.php?r=plugins
and click the settings icon of the Piwik for Limesurvey plugin.
Update the URL to Piwik's directory
field with the url of your piwik installation //<piwik host>
.
Add the ID of the Piwik site to the Piwik SiteId
field.
Save the settings and enable the plugin.
Whenever a user access one of your suveys their actions are tracked with Piwik.
Categories: Web serverTags: analytics , insight , limesurvey , piwik
Edit this page
Show statistic for this page