Optimizely within Google Analytics?

Bronze Contributor
Bronze Contributor

We have Optimizely implemented (on-site), and we are starting to use Google Universal Analytics through Tealium. In the Optimizely documentation, they say you can integrate with GUA, but you need to add an Optimizely APT call to the GUA code. Has anybody tried this through the GUA tag in Tealium? This is what they specify:

Add the following JavaScript code to your site wherever the Universal Analytics code exists after the ga('create'...) function fires and before the Universal Analytics ga('send','pageview') function fires and the tracking call is made (see details in the next section):

// Optimizely Universal Analytics Integration
window.optimizely = window.optimizely || [];
window.optimizely.push("activateUniversalAnalytics");

Any thoughts on a solution to this one?

2 REPLIES 2

Optimizely within Google Analytics?

Employee Emeritus

Hi Mike,

 

We've done this for clients and it can be done relatively quickly but does require a Tealium template edit. Since template edits can be a bit tricky, I would recommend you contact your account manager so we can make this change for you.

Optimizely within Google Analytics?

Bronze Contributor
Bronze Contributor
I had a feeling it would be a template change. Melanie thanks you in advance, I'm sure!
Public