We are currently implementing DTM. We want to use it to implement new variables going forward. However, there are a number of variables like eVars and props that are currently being set on the page itself, hard coded before the image request is sent. Ideally we would like to add DTM to the site while still capturing these variable (making the full migration and implement them all through DTM would be a very big undertaking at this stage).
The issue is that DTM does not include any of the variables we set on the page in the image request sent to Adobe. Is it possible to hard code variables on the page and have DTM pick these up? Regardless of how I load it it will not include anything set on the page currently.
So on the page, we have something like this
The issue here is, if we implement the s_code through DTM (and comment out the line calling the s_code as above) then this code will fire a second image request. DTM sends one first without any of the variables, then the code below sends a second on with the variables. I have not found a way to be able to set these variables and have DTM include it in it's own image request. Does anyone know how that can be done?
I'm following up on some old threads and I noticed this is still opened.
I assume you have already solved this question, but you should be able to use the "page code already present" option in your library management settings. You can read more about the setting in the documentation here.