Usage of Tealium's utag data layer in Adobe Launch | Community
Skip to main content
Level 3
December 28, 2024
Solved

Usage of Tealium's utag data layer in Adobe Launch

  • December 28, 2024
  • 1 reply
  • 1732 views

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.
Best answer by bjoern__koth

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?

1 reply

bjoern__koth
Community Advisor and Adobe Champion
bjoern__kothCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
December 28, 2024

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!
Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
December 29, 2024

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...