Launch and Integrate Optimizely with Adobe DTM

Here at Search Discovery, we have clients with all types of needs. As an agnostic analytics and media agency we have clients using several flavors of tag management, analytics, and optimization platforms – Adobe, Google, Optimizely, Monetate, Maxymiser, Webtrends, Yahoo, KISSmetrics, and more! When we built Satellite, now Adobe’s Dynamic Tag Manager platform, we also built it to be agnostic. We’ve recently deployed Optimizely using Adobe DTM and also used Optimizely’s built-in integration with Adobe to integrate the products! Here’s how we Integrate Optimizely with Adobe DTM:

FIRST – Launch Optimizely Using Adobe DTM

This process is so easy it requires only one step! Copy your Optimizely Project Code and paste it as a Sequential HTML tag into a Page Load Rule with the following settings:

Optimizely deployment rule setup

Your Optimizely Project code that you’re pasting into the Sequential HTML tag should look like this:

<script src="//"></script>

Optimizely will now be deployed on all pages.

THEN – Integrate Optimizely With Adobe Analytics

Step 1 – Find an available eVar and an available prop. Call these Optimizely Campaigns or a preferred name of your choosing.**

Optimizely Prop Setup

eVar Setup for Optimizely

Step 2 – Enable the integration in Optimizely for Adobe Analytics.

Optimizely made the integration with Adobe really simple.
In Optimizely, open an Experiment and browse to Options > Integrations

Analytics Integration for Optimizely

After clicking Analytics Integration, click this checkmark and select your eVar and Prop:

Adobe Analytics Integration Setup for Optimizely

(take note that if you’re using the beta version of Optimizely dashboard, this will be at the Project Settings level)

Step 3 – Add the Optimizely integration code to DTM

The following Optimizely document describes this process: Optimizely Analytics Integration

You may have noticed that if you’re using via DTM, you may not actually have the default s object available in your Console. Here is the code that you should deploy instead:

// Optimizely SiteCatalyst Integration<br></br>
window.optimizely = window.optimizely || [];<br></br>
window.optimizely.push(['activateSiteCatalyst', {"sVariable": s_gi('<strong>INSERT-RSID-HERE</strong>')}]);

This tells Optimizely to integrate regardless of the s object. You can obviously use a Data Element to populate the RSID portion if you have one set up (this is not done automatically):

window.optimizely.push(['activateSiteCatalyst', {"sVariable": s_gi(_satellite.getVar("Report Suite ID Data Element"))}]);

Place that code here:

config custom page code

Optimizely Analytics Integration Code

Click Save and you’re done!

As always – thoroughly QA your work before publishing!

Leave a Comment

Your email address will not be published. Required fields are marked *

Related Posts

Join the Conversation

Check out Kelly Wortham’s Optimization based YouTube channel: Test & Learn Community.

Search Discovery
Education Community

Join Search Discovery’s new education community and keep up with the latest tools, technologies, and trends in analytics.

Follow Us


Share on facebook
Share on twitter
Share on linkedin
Scroll to Top