Expand my Community achievements bar.

SOLVED

Issue with the dataElements

Avatar

Level 4

Hi Team,

Hope you’re doing good !!

 

One of our sites has a DTM implementation We are facing issue with the data Elements created are not working when I debug by using the satellite object _satellite.getVar(‘errorCode’) & _satellite.getVar(‘abc’). But, when I debug on console with hardcode the JS object is fetching the value.

Ex: digitalData.error.errorCode=’404’;

Thank in Advance. Appreciate you're help!!

Best Regards,

Balakrishna

1 Accepted Solution

Avatar

Correct answer by
Level 10

Balakrishna, there may be various causes:

  • data element is mapped to the data layer incorrectly
  • data layer is populated with a delay (at the time DTM begins to process data element, the data layer element does not exist)
  • the dtm library you're debugging is not the one you made a change for

It would be helpful if you could share a link to the page where the issue is observed.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Balakrishna, there may be various causes:

  • data element is mapped to the data layer incorrectly
  • data layer is populated with a delay (at the time DTM begins to process data element, the data layer element does not exist)
  • the dtm library you're debugging is not the one you made a change for

It would be helpful if you could share a link to the page where the issue is observed.