Can we use DTM to add the script in the middle of the page?

vidyar30267388

17-05-2016

I have a request to add some tracking script in the middle of the page. This will show up as a widget in the page. We have an option to add the script in DTM either at the top or bottom. But is there a way we can add the script at the middle of the page as per our requirement. Please let me know.

 

Accepted Solutions (1)

Accepted Solutions (1)

ParitMittal

24-05-2016

Hi Vidya, 

There is nothing as such as "Middle of the page" in DTM. Actually it is the timing which should be considered and not the location . Also , I would like to mention that it's not suggested to use DTM as like Content management tool. However we can rarely do that but it's not recommended.

Thanks & Regards

Parit Mittal

Answers (1)

Answers (1)

mehdio81538436

24-05-2016

Vidya,

Following your request, I think there is a confusion : The moment of the tag firing is not the same thing that the position where you want to inject additional content (your widget). Following the fact that you need the DOM was ready to inject your content, bottom page load rule would do the job. As Parit said, of course TMS are not made for that but it can do the job temporarily, waiting for the right development from IT team.

Mehdi