Create "Load Rules" base on UDO

Silver Contributor
Silver Contributor
We'd like to create "Load Rules" base on utag data object instead of page JS variable. However, for the same setup, only page js variable condition works, but not UDO's. Sample Page: http://tms.apps.hk/prototype/systems/IBE/revenue/flexpricer/07_confirmation.html (cxDataLayer is set as the UDO in Tealium) Load Rules: "page.id(data object)" contains "Confirmation" >> Doesn't work, Tag doesn't fire "cxDataLayer.page.id(js_page)" contains "Confirmation" >> Works as expected. Please advise. Thanks. Marchi
2 REPLIES 2

Create "Load Rules" base on UDO

Employee Emeritus
Hi Marchi, I believe this may be because your UDO is currently formatted as a multi-level object. This is currently not supported for the Tealium UDO but we have methods for translating it. You should contact your Account Manager to set up a working session with a Solutions Engineer to step through how to correctly handle an UDO designed in this way.

Create "Load Rules" base on UDO

Tealium Employee
To add on to Clint, you can try using the "Flatten JSON Objects" Extension to turn the multi-level object into a single-level object. You'll end up with variables like cxDataLayer.page.id which can be used in the load rule and will correctly evaluate to true.
Public