Setup
Create a new custom analytics integration for LogRocket
First, you must create a new custom analytics integration for LogRocket. 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. 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, choose the LogRocket integration and click Import. The corresponding 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 LogRocket integration with a campaign
In the Graphic/Code editor
When finalizing your experiment:- Click Integrations > LogRocket.
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 LogRocket tool.
- To save this step, click Next.