- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
08-10-2017 01:19 PM
Hi. I'm trying to insert the following optmizely-Adobe integration code into my appMeasurement.js code so that it executes prior to the actual Adobe tracking call:
window.optimizely = window.optimizely || ;
When I add this code via a JS extension, it doesn't execute. Any pointers on how to get these two lines incorporated into appMeasurement?
Solved! Go to Solution.
08-14-2017 11:53 AM
Hi @kbridges - take a look at this item, scroll way down to the part about Extensions. See the part about "DoPlugins".
Have you scoped your new extension to the Adobe App Measurement tag? I think that's the key item here. That will make your code run when the Adobe tag runs but before the Adobe tracker fires.
Be sure to see the docs on debugging
Let us know how things go....
08-14-2017 12:57 PM
Thanks for the feedback. After looking at the issue more closely, the extension code was working properly. My issue was actually related to changes that were introduced in Optimizely X that alters tracking behavior, which I had mistaken for an extension problem. For waht it's worth, Optimizely X now does an independent Adobe tracking call rather than merging it's variables into the exisitng pageview call (like Optimizely Classic does).
Copyright All Rights Reserved © 2008-2023