Issue with the dataElements

balakrishnad200

25-02-2019

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Andrey_Osadchuk

MVP

12-03-2019

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.