Skip to main content
Level 3
Dec 28, 2024 12:24 PM UTC
Solved

Usage of Tealium's utag data layer in Adobe Launch

Hello Guys,

I would like to use Tealium's data layer i.e. utag.data in adobe launch to create data elements and rules to be used with AEP Web SDK but when I am creating data elements and firing the server call on page load than those data elements are not able to fetch the values. It says Can not resolved value of undefined. In this case the undefined is utag.data. 

Is it possible to use tealium's data layer in launch portal ? Please suggest !

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
bjoern-koth
bjoern-kothAccepted solution
Adobe Employee
Dec 28, 2024 2:49 PM UTC

Hi @amangupta21 

this looks more like a timing issue.

Male sure your utag.data is defined and set before the Launch script is loaded.

From there on it should not be a problem to access the data in your data elements.

 

Basically

1. define and set utag.data 

2. load utag.js (if you still user Tealium iQ in parallel with Launch)

3. load launch.js

(2 and 3 can be in any order)

 

When you say you want to trigger the call on page load, which launch event do you actually listen to?

Cheers from Switzerland!

6 replies

bjoern-koth
Adobe Employee
bjoern-kothAdobe EmployeeAccepted solution
Adobe Employee
Dec 28, 2024 2:49 PM UTC

Hi @amangupta21 

this looks more like a timing issue.

Male sure your utag.data is defined and set before the Launch script is loaded.

From there on it should not be a problem to access the data in your data elements.

 

Basically

1. define and set utag.data 

2. load utag.js (if you still user Tealium iQ in parallel with Launch)

3. load launch.js

(2 and 3 can be in any order)

 

When you say you want to trigger the call on page load, which launch event do you actually listen to?

Translate
Cheers from Switzerland!
Jennifer_Dungan
Adobe Champion and Community Advisor
Adobe Champion and Community Advisor
Dec 29, 2024 3:48 AM UTC

Without seeing it, I would also guess that it's a timing issue. If you can see/read the Data Layer using your browser's console, it means it can be read by JS, but if the Data Layer isn't yet ready when your Launch rule fires, then you would get undefined. Try adjusting the timing of your rules... 

Translate