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 > New custom analytics.
- Name your custom integration and select the projects on which it will be active.
- Click Next.
If you want to know more about custom analytics, read the dedicated documentation.
- From the dropdown list, choose the LogRocket 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 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:- On the Finalization page, click Integrations.
- Select the LogRocket.
- To save this step, click Next.