Expand my Community achievements bar.

The nominations are open for Adobe Community Advisor program 2023. Apply today!

Data element not grabbing the values

Avatar

Level 2

Hello,

I am trying to populate data element values in an eVar, and I don't see it firing. This is the DataLayer path I was using to create a data element and setting up the eVar value to data element and I see it is not firing. 

 

"digitalData.analyticsData.programcode"

Durga_Nandyala_1-1649788507590.png

 

Durga_Nandyala_2-1649788629037.png

Durga_Nandyala_3-1649788713494.png

 

Note: DataLayer firing before adobe Launch but this program code is populated before this page and carried forward throughout the application. 

 

What am I missing on ? PLease help!!

 

Thank you!!

 

 

 

1 Reply

Avatar

Community Advisor

Could it be that there is a delay between when this value gets set in digitalData vs when your Rule runs? E.g.

  1. Page loads.
  2. Launch library loaded.
  3. Your Rule runs.
  4. digitalData.analyticsData.programcode gets populated.

To verify: in your Rule, add a custom code action to log your "Programcode" data element to your browser console, e.g.

console.log(`Programcode: ${_satellite.getVar("Programcode")}`);