Skip to main content
HubSpot is a widely used software platform that offers a suite of tools for inbound marketing, sales, customer service, and Customer Relationship Management (CRM). With this integration, you can use your Kameleoon experiment data in HubSpot as additional contact attributes. With the HubSpot integration, you can use your Kameleoon experiment data in HubSpot as the additional contact attributes. Key benefits:
  • Identify the specific variants or experiments your HubSpot contacts encountered.
  • Tailor further engagement strategies, and enhance overall customer experience.

Considerations

  • Kameleoon Tracking: Ensure that Kameleoon is properly installed and configured to track visitor interactions on your website or app.
  • Integration Setup: It’s essential to note that the integration leverages HubSpot Custom Behavioral Events, a feature available exclusively in HubSpot Marketing Hub Enterprise. Verify that HubSpot is correctly integrated and configured across your website or app. This integration relies on the presence of the window._hsq variable from HubSpot, and the HubSpot tracking script must be accurately placed on all relevant pages to capture visitor behavior.
  • Permission: Ensure that visitors’ browsers allow the execution of JavaScript code, and grant any necessary permissions for tracking and sending data to HubSpot.
  • Create an event in HubSpot:
Name of the event: “Kameleoon” Properties:
  • type
  • campaign_name
  • campaign_id
  • variation_name
  • variation_id
After creating the event, you will get a tracking ID (also called internal name). You can read the HubSpot documentation on this subject.

Activate HubSpot on Kameleoon

The first step is enabling HubSpot. To do this:
  1. Open the Kameleoon app.
  2. Click Admin > Integrations.
  3. Search for the HubSpot integration and click it.
  4. Click Install.
  5. Select the project on which you want to activate HubSpot.
  6. Click Next.
  7. Enter the HubSpot tracking ID you previously created.
  1. Click Next.
You will then see it appear in the installed tab, showing the number of projects where you configured the tool. Your campaigns’ data is automatically sent to HubSpot.

Associate HubSpot with a Kameleoon campaign

In the Graphic/Code editor

In the finalization panel, click Integrations > HubSpot.
The summary pop-in will mention HubSpot before going live. Kameleoon will automatically transmit data to HubSpot and you can view your results directly in the tool.

On the personalization creation page

You can select HubSpot as a reporting tool for a personalization the same way you would in an A/B test.

On the Results page

Once you set HubSpot as a reporting tool for an experiment, you can select or clear it via the Kameleoon 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 HubSpot tool.
  4. To save this step, click Next.

On a feature flag

To add HubSpot to a feature flag:
  1. Click Edit on the feature flag you want to track.
  2. Click Integrations in the Reporting section. All the integrations you’ve enabled appear.
  3. Toggle HubSpot on for Delivery rules, Feature experiments, or both.
Learn how to manage third-party analytics integrations