How to debug direct call rule like data layer to see what values are available?
Solved! Go to Solution.
Views
Replies
Total Likes
That's why the direct call rule is the least preferred type of rule in my opinion. To know what exact values are presented at the trigger time of the direct call rule, you can only add custom code action and print out values into the console for examination.
Views
Replies
Total Likes
You can read the Adobe Data Layer in your browsers console by typing in "adobeDataLayer" and hitting enter (this is in the code execution area, not the filter).
However, reading it and using it to debug, you will have to know what events are triggering rules and what object paths are being accessed (as this is an event based data layer, and depending on the implementation, new data could be continually be added to the object, or the object could be cleared and replaced)
Views
Replies
Total Likes
That's why the direct call rule is the least preferred type of rule in my opinion. To know what exact values are presented at the trigger time of the direct call rule, you can only add custom code action and print out values into the console for examination.
Views
Replies
Total Likes