contextData in DTM
Hi
We have a number of sites that use s.contextData on the page and we use the s_code to pick up the value and write it into props and evars etc. Some are also using processing rules as well.
Using DTM and AppMeasurement.js we're unable to get contextdata to work. We have a block of code on the page as follows:
<script type="text/javascript"> if(s){ s.contextData["page"] = "product.category"; } </script>
It seems to be getting re-initialised when the DTM code actually loads and we're therefore unable to use it. Is this correct? Does DTM and AppMeasurement still support contextData in this manner?
Any advise would be appreciated.
Thanks
Tim