Data Element not getting picked up by page load rule
Hi,
I'm trying to set the value of an eVar via Data Element + Page Load Rule in DTM.
My page has a data layer with multiple object branches, for example:
dataLayer.pageInfo.country
dataLayer.productInfo.style
dataLayer.visitorInfo.zipcode
etc
I can successfully pass values from the dataLayer.pageInfo branch into evars via a DE referencing the js object path as:
dataLayer.pageInfo.country
e.g. in the PLR, eVar11=%Country%
But, all my DE's pointing to values on the .productInfo branch fail to pass. For example:
dataLayer.productInfo.style
...and in the PLR, eVar12=%Style%
To clarify, in both cases, I can type _satellite.getDataElement('country') or _satellite.getDataElement('style') in the console and get the right value to return. But when the AA beacon fires, the evar for country is there, but the evar for style is not.
I have triple-checked for typos :-)
Any ideas will be greatly appreciated!
Thanks!