About cookies on this site

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. Learn more

Cookie settings

About cookies on this site

Cookies used on the site are categorized and below you can read about each category and allow or deny some or all of them. Learn more

Necessary

Some cookies are required to provide core functionality. The website won't function properly without these cookies and they are enabled by default and cannot be disabled.

Preferences

Preference cookies enables the web site to remember information to customize how the web site looks or behaves for each user. This may include storing selected currency, region, language or color theme.

Analytical cookies

Analytical cookies help us improve our website by collecting and reporting information on its usage.

Marketing cookies

Marketing cookies are used to track visitors across websites to allow publishers to display relevant and engaging advertisements. By enabling marketing cookies, you grant permission for personalized advertising across various platforms.

  • Courses
    • Paid courses
    • Course bundles
    • Free courses
  • Blog
  • Resources
    • Youtube channel
    • E-books and Guides
    • GTM Recipes
    • View All Resources
    • GTM Community
    • GA4 community
  • Services
  • About
    • About
    • Contact
  • Login
  • Courses
    • Paid courses
    • Course bundles
    • Free courses
  • Blog
  • Resources
    • Youtube channel
    • E-books and Guides
    • GTM Recipes
    • View All Resources
    • GTM Community
    • GA4 community
  • Services
  • About
    • About
    • Contact
  • Login

February 15, 2025

How to Move Google Tag Manager Container to Another Account

Updated: February 15th, 2025

There might be some situations where you want to move the Google Tag Manager container to another account. Maybe your company was acquired, or maybe your agency created a container in their account, and now you want to have the ownership under your own account.

Unfortunately, there is no simple way for that, where this could be done in several clicks. However, there are workarounds. And in this blog post, I will explain that.

P.S. I presume that you want to move the web container from one account to another.

 

Terminology

First, let’s do a quick overview of the terminology (so that you and I are on the same page). In Google Tag Manager, an account usually means a business/company. If a company has multiple websites, it still makes sense to have just one account.

In that account, you can have multiple containers. In many cases, one website means one container (but there are some exceptions).

So when I say “move Google Tag Manager container to another account”, I mean this:

 

If you just want to switch the administrators of the account

If on the other hand, you mean “removing one user as an administrator from the account and making another user an admin”, things are much easier.

Just log in to your GTM account (if you are the administrator of the GTM account), then go to Admin > User Management (in the Account column) and click on the user you wish to make an administrator.

Then click the checkbox next to Administrator, save changes.

Done. This user is now the administrator. Admins of accounts can add/remove other administrators. The original admin (who created the container) can also be removed from the account.

Anyway, let’s go back to the main topic – moving the container to another account.

 

Transfer Google Tag Manager container to another account

As I have said at the beginning of this blog post, there is no built-in quick “move” option in Google Tag Manager. The process of moving the container to another account looks like this:

  1. Export your current container (you’ll get a file that contains all tags, triggers, variables, templates) but the container ID will be different
  2. Create a new GTM Container
  3. Import the file in the new container (the one that you exported)
  4. Publish the new container
  5. Ask a developer to change the container ID on your website (from the old one to the new one)

Let’s take a look at each step closer.

 

#1. Export the container

Go to your current container > Admin > Export Container.

Select your current workspace (if there are no changes).

If there are changes, then it might make sense to select the latest published version. Consult with other coworkers who work with GTM in your company about this. Doing uncoordinated migration might result in your coworker’s container changes not being published/migrated.

When you select the workspace, by default, all items will be selected. Keep those checkboxes that way. Click Export.

This way, you will get a .json file. You will need it later.

 

#2. Create a new Google Tag Manager container

Go to the list of all your Google Tag Manager accounts. It can be done by clicking this:

Then click three dots in the account to which you want to “move” the container. Click Create container.

Then, enter all the information GTM asks you.

 

#3. Import the container file

In this new Google Tag Manager container, go to Admin > Import Container.

Choose the container file (and select the .json file you have exported in step #1).

Select existing workspace.

Keep the Overwrite option. Since this is a completely new container, we don’t have to worry about overwriting any current changes (because there are none).

At the bottom of the window, you will see the list of all items that will be imported.

Click Confirm.

 

#4. Publish the container

Do this step if the code of the new container is not added to the source code of the website.

You can publish all the changes in the container by clicking the SUBMIT button in the top right corner and then complete all the other steps that the user interface asks you to do.

 

#5. Switch from the old container on your website to the new one

This step is different for various websites and it depends on how Google Tag Manager is installed on your website.

  • If a developer installed GTM, then ask him/her to replace the container ID of the old container with the new one. You can find the new container ID next to the Preview button of the GTM interface.
  • If you installed GTM via a plugin or in some other way, then you’ll need to change the ID yourself.

Don’t change anything else in the GTM container JavaScript snippet. Both containers (the old and the new one) use the same code. The only thing that’s different is the container ID.

Once all of these steps are completed in this exact order, your new container (from the other GTM account) will start working and will send data to the same tools like GA, etc.)

 

Will this kind of migration affect my historical data in Google Analytics?

No.

 

Will this kind of migration affect new incoming data in Google Analytics?

Usually, no. If you did everything correctly and there are no weird hardcoded quirks on your website, then this migration process should not cause any interruptions in your data collection.

 

Final words

Even though there is no simple “move Google Tag Manager container to another account” feature in GTM, this still can be achieved (by exporting and importing the container).

As long as you have access to the original container, it will take you no more than 15 minutes before you ask a developer to change the container ID in the source code.

If on the other hand, you lost access to the original container, things get much more complicated and limited. You might try to use the GTM spy or Project Andromeda.

Julius Fedorovicius
In Google Tag Manager Tips
1 COMMENT
Armin
  • Oct 9 2025
  • Reply

Thanks for that – this was exactly what I needed. Straight forward, well explained!

Leave a comment Cancel reply

Your email address will not be published. Required fields are marked *


 

Hi, I'm Julius Fedorovicius and I'm here to help you learn Google Tag Manager and Google Analytics. Join thousands of other digital marketers and digital analysts in this exciting journey. Read more
Analytics Mania
  • Google Tag Manager Courses
  • Google Tag Manager Recipes
  • Google Tag Manager Resources
  • Google Tag Manager Community
  • Login to courses
Follow Analytics Mania
  • Subscribe to newsletter
Recent Posts
  • How to Track QR Codes with Google Analytics 4
  • The Magic of Cookies with Google Tag Manager
  • Google Analytics 4 Tutorial for Beginners
Analytics Mania - Google Tag Manager and Google Analytics Blog | Privacy Policy
Manage Cookie Settings