Integrate Kameleoon with LogRocket

Written by Julie Trenque

Updated on 11/15/2024

3 min

Intermediate

Manage your integrations

Analytics

Automation

CDP

CMP

CMS/CRM

Data Warehouses

Developers

Was this content useful?

By integrating Kameleoon with LogRocket, 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 LogRocket.

Key benefits

  • Unified analytics: Integrating Kameleoon with LogRocket allows for a more comprehensive view of user behavior by combining data from Kameleoon experiments or personalizations with LogRocket analytics.
  • Enhanced targeting insights: The integration enables tracking of user interactions specific to Kameleoon campaigns in LogRocket, providing valuable insights into the performance of targeted content variations.
  • Data-driven decision making: Access to Kameleoon campaign data in LogRocket facilitates informed decision-making by correlating user engagement metrics with experiment or personalization outcomes.
  • Holistic visitor understanding: Integrating tracking events in LogRocket offers a complete picture of user journeys, including how they interact with personalized content, contributing to a more nuanced understanding of visitor behavior.
  • Optimization opportunities: The combined data from Kameleoon and LogRocket allows for identification of areas that may benefit from further optimization, leading to more effective campaigns and better user experiences.

Setup

Prerequisites

  • Ensure you have an active Kameleoon account with the necessary permissions to configure integrations.
  • Have an existing LogRocket account with access rights to set up integrations and manage tracking events.
  • Confirm that both Kameleoon and LogRocket tracking codes are correctly implemented on your website.

Create a new custom analytics integration for LogRocket

On your Kameleoon App, click on Admin in the left menu, then on Integrations.

To add a new custom analytics integration, click on the button at the top right.

A pop-in will open.

You will have to set up and activate the integration of this new analytics tool. Name your custom integration (you can name it “LogRocket”) and select the project(s) on which it will be available.

Then click on Next.

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

You can add predefined custom analytics scripts from the Script Library. From the dropdown list, choose the LogRocket integration and click on the Add new script button. 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.

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

Then validate your custom integration.

Your analytics solution is added to the list of your integrations.

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

Associate your LogRocket integration with a campaign

In the Graphic/Code editor

When finalizing your experiment, click the Tracking and Goals step to 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 the data and you will be able to view your results directly in the analytics tool.

On the personalization creation page

In the same way as A/B testing, you can select your custom analytics among the reporting tools for a personalization.

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, click on Reporting tools in the right panel to open the corresponding menu.

The reporting tools associated with the campaign are displayed. Click Edit to edit this selection.

You can then select or unselect the tool. Then click on Validate and continue to finalize or update your campaign.

  • In this article :