Integrate Kameleoon with Salesforce Commerce Cloud

Written by Julie Trenque

Updated on 01/23/2025

2 min

Intermediate

Manage your integrations

Analytics

Automation

CDP

CMP

CMS/CRM/E-commerce

Data Warehouses

Developers

Was this content useful?

This guide explains how to integrate Kameleoon with Salesforce Commerce Cloud (SFCC) to enable experimentation and personalization across your e-commerce platform.

The Kameleoon Salesforce Commerce Cloud cartridge offers a quick and efficient way to implement Kameleoon on your site. Fully self-contained, the cartridge can be integrated into any project. It is configurable through Business Manager and includes all the necessary components to integrate the Kameleoon application into any e-commerce environment.

Prerequisites

Before starting, ensure the following:

  • You have access to your Salesforce Commerce Cloud instance.
  • Administrative access to the Kameleoon platform.

Step 1: Import the Kameleoon cartridge

  1. Download the Salesforce x Kameleoon cartridge
  2. Log in to your Salesforce Business Manager.
  3. Navigate to Administration > Site Development > Code Deployment.
  4. Upload the Kameleoon cartridge file int_kam_plugin provided by the Kameleoon team.
  5. Activate the cartridge by setting its priority higher than other cartridges in the Cartridge Path under Administration > Sites > Manage Sites.

Step 2: Configure site preferences

  1. In Business Manager, go to Administration > Sites > Manage Sites.
  2. Select your site from the list.
  3. Navigate to Custom Preferences and locate the Kameleoon preferences group.
  4. Configure the following settings:
    • Enable Kameleoon Web Application File: Set to true to activate Kameleoon.
    • Project Sitecode: Enter the Sitecode found in the Kameleoon App for your project.
    • Project Domain: The domain for your Kameleoon scripts may vary from one project to another. Your projects may be hosted on either kameleoon.eu or kameleoon.io depending on their creation date. Make sure you use the domain displayed in your project in the Kameleoon App.

Step 3: Inject the Kameleoon script

Once the cartridge is activated and preferences are configured, the Kameleoon script will automatically be injected across all webpages on your site.

You can verify the script injection by:

  • Inspecting your website’s source code for the Kameleoon script tag.
  • Using browser developer tools to confirm that the script is loaded.

Step 4: Test the integration

  1. In the Kameleoon App, create an experiment or personalization campaign.
  2. Simulate and launch the campaign.
  3. Visit your SFCC site to ensure the experiment or personalization changes appear as expected.

  • In this article :