How do I test if my data element is set up correctly?

Data elements are always tested first to ensure a proper setup before leveraging them in a rule. To test a data element is working, do the following:

  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. 
    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.

 

 Adobe

احصل على مساعدة بشكل أسرع وأسهل

مستخدم جديد؟