WebSDK - Data Object does not exist unless we set at least 1 thing in Update Variables
Hi,
I'm currently working on a migration from Tags to Event Forwarding.
I'm using Data Object instead of XDM as the client has an existing data layer and huge website and would like to avoid doing mapping in the report suite and Journey Analytics is in their future.
In my WebSDK Extension I'm using the On Before Send Event Callback Code to set my "global" variables, just how we would with doPlugins in the old AA extension.
I have a page load rule that fires a "Web Webpagedetails Page Views".
I have noticed that content.data is not defined in my CallBack Code if in my page load rule I do not add the action Update Variables and set at least one evar, prop, etc.
This seems like an unneeded extra step for a rule as some rules do not need to send extra evars etc, they just need to pass the "global" ones.
Has anyone found a work around for this, other than adding Update Variables to each rule?
Thanks!