Accepted Solutions (1)

Accepted Solutions (1)

taciac

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)

Cleve_Young

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>"));