Issue with the dataElements | Community
Skip to main content
balakrishnad200
Level 3
February 25, 2019
Solved

Issue with the dataElements

  • February 25, 2019
  • 1 reply
  • 2970 views

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

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 Andrey_Osadchuk

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.

1 reply

Andrey_Osadchuk
Andrey_OsadchukAccepted solution
Level 10
March 12, 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.