The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Integrate Tealium AudienceStream

Integrate Optimizely Web Experimentation with Tealium AudienceStream to target experiments

📘

Note

See Optimizely's Third-Party Add-Ons & Platform Integration Terms.

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

  1. Go to Settings > Integrations.
  2. Select Tealium AudienceStream and toggle the integration to On.
  3. Click Accept.
  4. Enter your Tealium Account ID. Log into Tealium and look for your account ID in the account drop-down list.

⚠️

Important

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

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 audience condition

  1. Go to Audiences > Create New Audience.
  1. Enter a name for the new audience.
  2. Click Tealium AudienceStream under Audience Conditions.
  3. 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

You can also set up AudienceStream for Optimizely. 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.

📘

Note

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 or edit an existing experiment and select Audiences.
  2. Click Add a Saved Audience and select the desired AudienceStream audience to target.
  3. Click Save.