Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

DTM not capturing variables set on page

Level 2
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") || "";
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?


1 Reply
Level 10
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