Skip to main content

Setting up Piwik PRO

By integrating Kameleoon with Piwik PRO, you can capture and analyze user interactions targeted by Kameleoon campaigns, providing valuable insights into the performance of personalized content. This documentation will walk you through the setup process, detailing how to send track events from Kameleoon to Piwik PRO.

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:

  1. Log in to your Kameleoon app.
  2. Click Admin > Integrations > New custom analytics.
  3. Name your integration and select the projects on which it will be configured.
  4. Click Next.

note

If you want to know more about custom analytics, please read the dedicated documentation.

  1. 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.
caution

Any custom code added here will be exposed in the kameleoon.js file and be available publicly. Please do not put private API keys or passwords in this section.

  1. Click Validate.

Your analytics solution is added to the list of integrations.

You can modify the installation code later if needed, deactivate the tool, or delete the integration.

Associate your Piwik PRO integration with a campaign

In the Graphic/Code editor

When finalizing your experiment:

  1. Click Tacking and Goals.
  2. Configure your custom analytics as a tracking tool.

Your analytics tool will be mentioned in the summary pop-in before going live.

Kameleoon will automatically transmit data, and you can view your results directly in the analytics 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:

  1. Click Reporting tools > Edit.
  2. Select or deselect the tool.
  3. Click Validate.