Google Tag manager code added with the help of DTM is not working

1.2k Views Asked by At

I had a request to add Google tag manager to our website and i added it using Dynamic Tag Manage (DTM). I created a page load rule and added this script. But my client is saying it is not working as DTM adds the code to the page with an Iframe. Is there a way we can fix this issue?

Alternative is directly add in the page. I don't want to go in that route as we have to update our page templates for these tags.

2

There are 2 best solutions below

0
On BEST ANSWER

Avoid adding Tag Manager code in any other tag containers. It is built to be a standalone tag management solution and Google won't provide support if it's embedded in a 3rd party solution.

Your best option is to just select one tag management solution and stick with that. Having multiple tag managers kind of defeats the purpose, no?

0
On

You should never use one TMS to deploy the code of another TMS. None of them were designed to be deployed in that manner and all sorts of bad / odd things could happen.