Setup
Prerequisites
- Kameleoon Account
- Piwik PRO Account
- Kameleoon and Piwik PRO tracking codes
Create a new custom analytics integration for Piwik PRO
First, you must enable Piwik PRO in Kameleoon. To do this:- Log in to your Kameleoon app.
- Click Admin > Integrations > New custom analytics.
- Name your integration and select the projects on which it will be configured.
- Click Next.

If you want to know more about custom analytics, please read the dedicated documentation.
- From the dropdown list, choose the Piwik Pro integration and click Add new script. The corresponding script will automatically populate the JavaScript code insert.
- You can adapt the sample code to your needs. Don’t forget to add your own slug in the code.
- Click Validate.

Associate your Piwik PRO integration with a campaign
In the Graphic/Code editor
When finalizing your experiment:- Click Tacking and Goals.
- Configure your custom analytics as a tracking tool.
On the personalization creation page
You can select your custom analytics as a reporting tool for a personalization the same way you would in an A/B test.On the Results page
Once your custom analytics integration is defined as a reporting tool for a campaign, you can select (or unselect) it via the Results page. To do this:- Click Reporting tools > Edit.
- Select or deselect the tool.
- Click Validate.