Having a Tag Manager within a Tag Manager

Gold Contributor
Gold Contributor AndreScholten

This is the situation: country A wants a site that is managed by a worldwide corporation. The only way they can have it is by accepting the default setup as all the other country sites. That means that tracking/datalayer is implemented as it is, and is handled by Tag Manager B.


Now we want to implement Tealium in Tag Manager B. So first B will load, and then it will load Tealium as an extension. This is the only exception they're wanting to make on the default setup. All datalayer fields will be 'translated' to Tealium syntax. And all events are send through B to Tealium with a utag.link call. The rest of all the scripts/pixels/etc will be implemented in Tealium.


What is your opinion about this? Can/will it break? Will we get timing issues with certain scripts? Other thoughts?

Freelance Web Analist

Having a Tag Manager within a Tag Manager

Tealium Expert
Tealium Expert
You don't mention which TMS the Tag Manager B is, and maybe that isn't relevant since they all do the same thing. In our company we also use two TMS's, but the other way around. I load GTM from within Tealium. We have not had any problems at all with that, nothing breaks, no timing issues. We use GTM almost entirely for Google Universal Analytics with a heavy event/click model so a lot of data goes that way.

At the end of the day it is only matter of which container tag loads the other and the end result is pretty much the same since it is the browser in the end which decides (at least to a large - and sometime a bit obscured way - the actual loading order of all the async threads.

I would not worry too much about a setup like the one you describe. Some testing will give you the answer. I would recommend to invest in some additional good tag analytics tool which will give you a precise and reliable view of what is going on, like Tag Inspector.

Having a Tag Manager within a Tag Manager

Tealium Employee

Obviously it's not 'best practice' but in theory I agree with Per, it's 'just' javascript so in theory you should be able to do it. 

You will need to test carefully, and look out for timing and datalayer issues.  


Please keep in close contact with our support team or your account manager and we will be able to guide you through it. 





Having a Tag Manager within a Tag Manager

Tealium Expert
Tealium Expert

Hi @AndreScholten,


While earlier working at an agency, we succesfully implemented Google Tag Manager (GTM) through Tealium iQ (TiQ).

GTM of course ran a bit slower than normal, but otherwise quiet ok, and at least acceptable,


This was done during a migration form GTM to Tealium iQ, and therefore gave us the opportunity to "just disable" the GTM tag in TiQ, when the migration was completed.


I once tried to run a GTM through another GTM, and wouldn't recommend anyone else to try that ;-)


My guess is, that you will run into strange timing- and event issues, in connection to DOM Ready, Window Loaded and thing like that.
But that taken in account, you should be able to do it anyway, as long as you test to see, if you feel it's worth it, after looking at needed work-arounds.


Other than that, I haven't tried something like this with a combination of other TMS, but thought you might like my input anyway.


Best regards,



Best Regards