Skip to main content
Kameleoon’s LogRocket integration lets you send Kameleoon data and analyze the performance of any Kameleoon experiments in LogRocket report and analytics metrics.

Setup

Create a new custom analytics integration for LogRocket

First, you must create a new custom analytics integration for LogRocket. To do this:
  1. Log in to your Kameleoon app.
  2. Click Admin > Integrations.
  3. Click Custom integration in the top right of the page.
  4. 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.
  1. 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.
Kameleoon includes the code you add here in the kameleoon.js file, which visitors’ browsers load. Anyone can read that code in the browser, so don’t add API keys, passwords, or other private credentials to it.
  1. Click Create.
Kameleoon adds your analytics solution to the list of your integrations. To enable the integration on your projects, follow Install the integration on projects. You can later edit the integration, disable it for a project, or delete it. See Manage a custom analytics integration.

Associate your LogRocket integration with a campaign

In the Graphic/Code editor

When finalizing your experiment:
  • Click Integrations > LogRocket.
The summary pop-in mentions your analytics tool before going live. Kameleoon automatically transmits the data, and you can view your results 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 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:
  1. Click the three dots menu in the top right of the screen.
  2. Select Experiment configuration (Open configuration for personalization). A side menu appears.
  1. Scroll to the Reporting tools section, then click Edit. The Finalization page appears.
  2. Click Integrations.
  3. Click Activate on the LogRocket tool.
  4. To save this step, click Next.