Following the documentation on synchronous loading of Optimizely in Tealium (https://help.optimizely.com/hc/en-us/articles/206420397-Implementing-Optimizely-with-Tealium-iQ-or-Ensighten#tealium_sync) I've implemented Optimizely successfully. But I also would like to push UDO data from Tealium to a custom tag in Optimizely. Therefor Optimizely suggests the following on https://help.optimizely.com/hc/en-us/articles/201876450#custom_tags / http://developers.optimizely.com/javascript/reference/index.html#custom-tag <script>
window['optimizely'] = window['optimizely'] || [];
window['optimizely'].push(["customTag", tagKey, tagValue]);</script>
<script src="//cdn.optimizely.com/js/xxxxxxxx.js"> Putting this in the tag doesn't result in the right effect: //tealium universal tag - utag.sync ut4.0.##UTVERSION##, Copyright ##UTYEAR## Tealium.com Inc. All Rights Reserved.
##UTSYNC##
document.write(' <script>window['optimizely'] = window['optimizely'] || [];
window['optimizely'].push(["customTag", "lidmaatschap", u.data.Lidmaatschap]);</script> //using UDO variable lidmaatschap <script type="text/javascript" src="//cdn.optimizely.com/js/3509580682.js></script>');
... View more