Highlighted

UDO values expires when using Data Layer Converter and Adobe Analytics custom events

Bronze Contributor
Bronze Contributor

Hi all,

we have a standard W3C digitalData data layer, which we "flatten" to UDO compatible format using the recommended JS code from here: Data Layer Converter.

We face some issues when implementing Adobe Analytics custom events.

My understanding is the following: Adobe Analytics runs, using s.t call (utag.view) after which the UDO variables are cleared.

Since we use clearVars, we have an issue when firing a custom event after the pageview (s.tl call, utag.link) - the values from data layer, such as language, pageType, pageCategory and so on are not set since they are not available after the pageview and we have to wait for the next pageview to use them again.AA.pngutag_debug1.pngutag_debug2c.png


My question is, how cn we make the values persist (at least some, we choose) also for the utag.link calls? Disabling clearVars is not a solution since we use many eVars which needs to be cleared.

Thanks
Pavel

1 REPLY 1
Highlighted

UDO values expires when using Data Layer Converter and Adobe Analytics custom events

Community Manager
Community Manager

Hi @PavelKrejci ,

This can be an issue even if you are not using the data layer converter, so I don't think that's causing the problem. Are you aware of the publish setting called "Base Variables"?  This allows you to specify variables from your UDO that should be included in every tracking call. It is designed for your specific scenario. Let me know if that helps.

Publish Configuration > Base Variables

Remember to "Accept as Solution" when your question has been answered and to give kudos to helpful replies.