Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.

Highlight when Custom Code exists in Analytics Set Variables

Avatar

Level 10

9/23/18

As an analytics developer I want to know if the Custom Code is set in the Adobe Analytics Set Variables action.

At the moment this element does not have any indication that the custom code exists. Developers have to always check what is inside.

Please highlight the block shown in the screenshot below so that it will be clear that the Custom Code is not empty.

---

aa-set-variables-custom-code.png

3 Comments

Avatar

Level 2

10/2/18

You can always check this in the console of the page you are on by referencing whatever you have set that tracker eVar or prop to:

s.evar9

or if you want to trace out the value of the data element that shares the value of your analytics variable,  you can do the following to trace out to the console:

_satellite.logger.info('MY DATA ELEMENT = ' + _satellite.getVar("my_data_element"));