- Optimizely Classic
- Optimizely X Web Experimentation
- Optimizely X Web Personalization
This article will help you:
- Enable the Krux integration in Optimizely
- Create new audiences using the Krux integration
Krux is a Data Management Platform (DMP). This integration allows you to create targeted audiences in Optimizely based on visitor segments in Krux. From there, you can run targeted tests and personalization campaigns.
The Krux integration currently only works for customers using the 'legacy Krux console'. To determine which console your Krux account is on, please contact your Krux representative.
Enabling Krux in Optimizely
First, contact your Krux representative to obtain your API key. You'll need to provide them with your Optimizely account ID, which you can find by navigating to Account Settings > Account Overview.
Here's how that looks in Optimizely X:
Here's how that looks like in Optimizely Classic:
Then, enable Krux for a project.
In Optimizely X, navigate to Settings > Integrations > Krux. Toggle the button to On.
In Optimizely Classic, navigate to the Integrations tab on the Home page and toggle the button to On in the right sidebar.
Enter your Krux username, password and the API key that your Krux account representative provided. Then, click Save. This will connect your project with Krux, so Optimizely can read the segments defined in your Krux account.
The Krux integration uses the Krux segments defined on a your website. Each audience in Krux has a corresponding unique ID available in a website cookie which Optimizely reads to match a user on each page-view.
Creating a Krux Audience
After enabling the Krux integration, you can create Optimizely Audiences (or add Krux conditions to current Audiences) based on visitor segments in Krux. To do this, go to the Overview > Audiences tab and click New Audience.
In the Audience builder, go to the Third Party tab.
Click on the Krux drop-down and drag the Audience Segment condition into the Audience Conditions. Complete the open fields by selecting one of the values auto-populated into the drop-down.
In this example, we created an audience with the following conditions:
Meanwhile, in Krux, for each segment you want to make into Optimizely, you'll need to check this box:
Here are the segments setup in this Krux account:
Note the Optimizely specific category.
The dropdown shows only the segments in your Krux account that have a Sub Category of "Optimizely."
To expose a Krux segment to Optimizely, you'll first need to edit the Sub Category field to "Optimizely," as shown in the screenshot above.
Once you have set your audience conditions, click Save Audience. You should now be able to see your Krux segments in Optimizely.