Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How do I troubleshoot Data Elements?

Avatar

Avatar
Validate 1
Level 7
taciac
Level 7

Likes

17 likes

Total Posts

341 posts

Correct Reply

188 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 7
taciac
Level 7

Likes

17 likes

Total Posts

341 posts

Correct Reply

188 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
taciac
Level 7

11-12-2015

How do I troubleshoot data elements?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 7
taciac
Level 7

Likes

17 likes

Total Posts

341 posts

Correct Reply

188 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 7
taciac
Level 7

Likes

17 likes

Total Posts

341 posts

Correct Reply

188 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
taciac
Level 7

11-12-2015

  1. Navigate to a page where the data element is available on the site. 
  2. Open the web console and type in _satellite.getVar(‘dataelementname’) and hit enter. This code returns any value that is present for the noted data element on that page. 
    1. If the data element is working correctly, then the value is defined.
    2. If the value is undefined, then the data element is likely setup incorrectly. Check the custom script for syntax errors.
    3. If the value is null, then that data element does not have a value on that particular page. Try testing on another page before altering the data element setup.
    4. If there is an error '_satellite is not defined', there is a scoping issue. In order for '_satellite.getVar()' to have access to the global _satellite object, check the box 'execute globally' in the script editor.

 

For more information on troubleshooting data elements check out the troubleshooting guide here: adobe.ly/1jTAzh7

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 2
Cleve_Young
Level 2

Likes

7 likes

Total Posts

19 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
Cleve_Young
Level 2

Likes

7 likes

Total Posts

19 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
Cleve_Young
Level 2

16-12-2015

You can also try the free DTM plugin developed by Adam Haining. It opens up a separate window with a full easy to read list of all of the rules, data elements, and _satellite.notify() comments. It gives you a complete list of all of the Properties Data Elements, the value for each if one is set, as well as its Type. Very handy tool! This plugin is MUCH easier to use and read than the Adobe DTM Switch plugin which utilizes the Console.

Plugin How to Page
To use it create a browser shortcut and change it to:
javascript:void(window.open("","disruptive_dtm_debugger","width="+screen.width+",height="+screen.height+",location=0,menubar=0,status=1,toolbar=0,resizable=1,scrollbars=1").document.write("<script id=\"disruptive_dtm_debugger\" src=\"//assets.adobedtm.com/d00638433326249dc42ea6fc89a4f65bfba18066/scripts/satellite-55fae9a2666337593b0005c2.js\"></"+"script>"));