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

SOLVED

GTM tag added in DTM not working.

vidyar30267388
Level 3
Level 3

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?

Regards,

Vidya

1 Accepted Solution
ParitMittal
Correct answer by
Level 10
Level 10

Hi Vidya, 

As a best practice we should not use one Tag management solution  to deploy the code of another Tag management solution like GTM from DTM . These solutions are not designed to be deployed in this manner and some weird things could happen.

Even I assume, If we try to do achieve it through 3rd party scripts , Google won't support it.

Thanks & Regards

Parit Mittal

View solution in original post

5 Replies
ParitMittal
Level 10
Level 10

Hi Vidya, 

Are you trying to add the Google Analytics Tracking code or Google Adwords conversion tag through DTM page load rule or you are adding GTM tag for google site verification. Please share the snapshot of the tag code so that we further let you know the solution.

Also, Please let us know when you are firing the rule i.e. Top of the page etc and How you are adding the script i.e. Non sequential javascript or etc.

Thanks & Regards

Parit Mittal

mehdio81538436
Level 2
Level 2

Vidya,

I don't think it is a good idea to add GTM using DTM. TMS cascading can create lags and side effects.

What is the final purpose of this request following your data governance? Why you don't provide an adapted access to DTM to the requester ?

vidyar30267388
Level 3
Level 3

Hi Parit,

 

I dont have the GTM code right now. This issue I had long back and told them that we can't add GTM code in DTM. Now I have a new request where we are centralizing all paid media scripts to be added to netapp.com. So my question now is we dont want to maintain 2 separate tools GTM and DTM. Why not add GTM code in DTM? It is is not Google analytics code. It is Google Tag manager tracking code which we add in the page to measure the engagement of the user.

Regards,

Vidya

ParitMittal
Correct answer by
Level 10
Level 10

Hi Vidya, 

As a best practice we should not use one Tag management solution  to deploy the code of another Tag management solution like GTM from DTM . These solutions are not designed to be deployed in this manner and some weird things could happen.

Even I assume, If we try to do achieve it through 3rd party scripts , Google won't support it.

Thanks & Regards

Parit Mittal

View solution in original post