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.
- Click Custom integration in the top right of the page.
- Enter a name in the Integration name field, for example Piwik PRO. Optionally, add a description. Click Next.
If you want to know more about custom analytics, read the dedicated documentation.
- From the Use a pre-built template dropdown list, search for Piwik Pro and select it. Click Import. The Piwik PRO script automatically populates 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 Create.

Associate your Piwik PRO integration with a campaign
In the Graphic/Code editor
When finalizing your experiment:- Click Integrations.
- 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 you define your custom analytics integration as a reporting tool for a campaign, you can select (or clear) it via the Results page. To do this:- Click the three dots menu in the top right of the screen.
- Select Experiment configuration (Open configuration for personalization). A side menu appears.

- Scroll to the Reporting tools section, then click Edit. The Finalization page appears.
- Click Integrations.
- Click Activate on the Piwik PRO tool.
- To save this step, click Next.