Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideProduct feedbackGitHubNuGetDev CommunitySubmit a ticketLog In

Integrate Tealium AudienceStream

Integrate Optimizely Web Experimentation with Tealium AudienceStream to use the audiences created in AudienceStream to build target experiments in Optimizely Web Experimentation.

Tealium AudienceStream enables marketers to discover audiences, enrich visitor profiles, and stitch together customer interactions across digital touchpoints. You can use the audiences from AudienceStream to build targeted experiments in Optimizely Web Experimentation.

Option 1: Enable Tealium AudienceStream in Optimizely Web Experimentation

  1. Go to Settings > Integrations.
  2. Select Tealium AudienceStream, and toggle the integration to On.
  3. Enter your Tealium Account ID, which you can find by logging into Tealium and looking for your account ID in the account drop-down list.



The Tealium IQ utag must be installed on the page for this integration to work.

Within Tealium IQ, ensure that the Tealium Collect tag has the correct settings:

  • Server – Contact your Tealium account manager for your Tealium Collect server location
  • Data enrichment – Frequent

Turning this integration on lets Optimizely access the audiences defined in your Tealium account.

Add a Tealium audience as an Optimizely Web audience condition

  1. Go to Audiences.
  2. Click Create New Audience.
  3. Enter a name for the new audience in the Name field.
  4. Click Tealium AudienceStream under Conditions. Drag and drop a condition to the space under Audience Conditions and complete the open fields.

You can now begin using this audience to target your experiments.

Option 2: Connect your Optimizely account with AudienceStream

In addition to using Optimizely audiences to reference Tealium audiences, you can also set up AudienceStream for Optimizely Web Experimentation. You must have the latest version of Tealium Tools and a Google Chrome extension to complement your Tealium implementation, including the Optimizely Helper.

Create an audience

  1. Create an experiment or choose an existing experiment.
  2. Select Audiences.
  3. Select the AudienceStream audience you want to target.
  4. Click Save.

After you install Tealium Tools, you need an API token and Project ID from Optimizely. Learn how to retrieve an API token. Create an API token and copy it to your clipboard.

Add your API token to Tealium

  1. Open Tealium Tools and select the Optimizely Helper.
  2. Paste the API token into the Token field.

Add your Project ID to Tealium

  1. Find your Project ID in Optimizely.
  2. Go to the Optimizely Helper in Tealium and paste the Optimizely Project ID into the Project ID field.
  3. Enter the name of your Tealium account and the profile you want to associate with this Optimizely project.
  4. Click Import Audience Data. The Optimizely Helper now contains a list of your AudienceStream audiences and badges that you can map to new or existing audiences in Optimizely.
  5. Select the audience or badge to add to Optimizely Web Experimentation. You can select an existing Optimizely audience or create a new one.
  6. Click Save Audience.



If you want to create additional audience mappings, repeat steps 1 through 5.

  1. Click Generate Code Snippet in the Optimizely Helper when finished mapping. This provides the code to add to utag.sync.js.

Create audience-based experiments

Your project’s experiments now have the mapped AudienceStream audiences and are available for targeting. To select a new target audience:

  1. Create a new experiment or edit an existing experiment, and select Audiences.
  2. Click Add a Saved Audience and select the desired AudienceStream audience to target.
  3. Save your experiment.