Expand my Community achievements bar.

DTM not capturing variables set on page

Avatar

Level 2

We have a website that we are migrating to DTM and have decided not to move all the variable-setting page code into DTM. For example:

<script type="text/javascript">
      
     s.prop14 = s.eVar12 = !s.prop14 && window['readCookie'] && readCookie("ouid") || s.prop14;
     // Assume current user has the same account as before
     s.eVar58 = window['readCookie'] && readCookie("ut") || "";
      
     </script>
For some reason, DTM does not want to process that information. It appears to be skipping anything that is an s object outside the s_code that is hosted within DTM. Has anyone seen this before or can anyone offer any thoughts as to why it isn't setting those variables that are in the page code?

Thanks,
Chad

1 Reply

Avatar

Level 10

You may need to select the page code is already present option in DTM. If you are still experiencing issues with this, please contact Customer Care