AuditHelp

How to Export Your Google Tag Manager (GTM) Container

If you want to back up your setup, share it with a teammate, or run an audit in a tool like GTM Scanner, the first step is exporting your Google Tag Manager (GTM) container. Here’s how you can do it in just a few clicks.


Step 1: Log in to GTM

  1. Go to tagmanager.google.com.
  2. Choose the Account and Container you want to export.

Step 2: Navigate to the Admin Section

  1. In the left-hand menu, click Admin.
  2. Under the Container column, click Export Container.

Step 3: Choose the Version

You’ll have two main options:

  • Latest Version – Exports the last published version of your container.
  • Workspace – Exports the current draft, including any unpublished changes.

Your analytics shouldn't require manual checking.

GA Auditor builds your measurement plan, validates your implementation, and continuously watches your analytics for important changes.

Choose the one that fits your needs.


Step 4: Download the JSON File

  1. Once you choose the version, GTM will generate a .json file.
  2. Save it to your computer — this is your container export.

Step 5: Use the Export

  • You can import it back into GTM (as a new container or workspace).
  • Or, you can upload it to auditing tools (like GA Auditor) to check for errors, unused tags, missing consent, and more.

Pro Tips

  • Always name and date your export files so you can track versions.
  • If you’re sharing with others, remember the file contains all tags, triggers, and variables, so handle it securely.
  • For audits, exporting the workspace is usually best, since it includes your latest edits.

Continue Reading

More practical guides for improving your analytics setup.

Know what your analytics should track.
Know when something changes.

GA Auditor builds your measurement plan, validates your implementation, and continuously monitors your analytics for important changes.

Start Free →