Google Tag Manager wants you to optimize your container. What to check before you click
If you've opened Google Tag Manager lately, you may have seen a banner offering to optimize your container. It's a real improvement, and it's optional. It also changes how your Google tags are set up, so it deserves the same care as any other change to your live site.
The short answer
Optimizing moves your Google tag settings into a new Settings tab and lets the container send data straight to Google Analytics, Google Ads and other Google products, without loading an extra script. Your event tags and triggers stay as they are, and Google doesn't make the change for you. Before you publish it, check whether Google tags also sit in your page code, how consent is set up, who gets access to the container, and whether your key actions still reach each platform in Preview mode.
On this page
What the banner actually does
Google announced a set of changes that bring the Google tag and Tag Manager together. For existing Tag Manager users, the main one is optimizing the container.
- Google tags are consolidated into the container. The container connects to each Google product through a destination tag, one for each destination, such as a Google Analytics data stream or a Google Ads account.
- Settings move to one place. A new Settings tab holds container-wide settings such as automatic event detection, cross-domain domains, user-provided data, internal traffic, unwanted referrals, cookie settings and consent defaults.
- Less JavaScript on the page. According to Tag Manager's release notes, an optimized container sends data directly to Google products. Google says the extra JavaScript Tag Manager used to load,
gtag.js, could delay measurement. - Accounts get linked. During the flow, the container is linked to the Google products it sends data to, and you choose the access each one gets.
Google says your event tags and triggers are kept. You can undo the change in your workspace before publishing, and roll back to an earlier version after.
Five things I'd check before publishing
1. Are Google tags also in your page code?
If GA4 or Google Ads is installed in the site's code and again through Tag Manager, you're already at risk of counting things twice. It comes up in my audits. Optimizing the container won't remove the copy in your page code, so find out where every Google tag lives before you start.
2. Do your Google tags use different settings?
Google's flow has a separate path for containers where Google tags have conflicting settings, and it asks you to choose which tags' settings to keep. Cross-domain lists, internal traffic rules or cookie settings may differ between your GA4 and Google Ads tags for good reasons. Write down what each tag uses today so you can check the result in the Settings tab.
Google also notes that the central settings don't apply to a Google tag you keep loading inside the container. If you keep one, you'll still manage its settings on the tag itself.
3. How is consent set up?
The Settings tab includes consent controls. One of them, "Manage default consent settings," lets you tell Google that all data is already consented. Google explains that this holds when your tags don't load until a visitor consents. On most sites with a consent banner and Google consent mode, that isn't the case, so be careful with this setting.
After you add the change to your workspace, test the site in Preview mode before a visitor chooses, after accepting, after declining, and with Global Privacy Control turned on. Check that Google tags behave the way they did before.
4. Who gets access?
Optimizing creates links between the container and your Google Analytics and Google Ads accounts, and you choose the access each one gets. Google notes that these permissions aren't versioned, so rolling the container back won't undo them. You can change them later in the container's admin settings. Check these links after publishing.
5. Do your key actions still arrive?
Before you click Submit, use Preview mode to run through the actions that matter: a form submission, a purchase, a sign-up. Confirm each one reaches GA4 and Google Ads, with the same names and values as before. After publishing, check those numbers over the next few days. If something stops, the publish date gives you a clear starting point.
What about the Conversion Linker tag?
Google's Conversion Linker help page says that if a container loads a Google tag or a destination tag for a Google product on every page, it doesn't also need a Conversion Linker tag. After optimizing, the old tag may be redundant. I'd confirm the destination tag loads on every page in Preview before removing anything.
If you use server-side tagging
Google's page describes a setting for sending events to a server container (server_container_url). If your Google tags send data to a server container or through a tag gateway today, check in Preview that requests still go where they did before you publish.
For agencies managing client containers
Google says anyone with edit, approve or publish permissions can start the optimization from the banner. On a client's container, that could be anyone on your team. Treat it like any other change to a client's live site: decide who runs it, test it in Preview, and record it in the version notes so the client can see what changed and why.
A checklist you can use
Here's the checklist I'd work through, in three stages.
| Before you start | In Preview | After you publish |
|---|---|---|
| List every Google tag and where it lives: page code, Tag Manager, plugins | Key actions reach GA4 and Google Ads | Check account links and access |
| Write down each Google tag's settings | Tags behave the same before a choice, after accepting, after declining, and with Global Privacy Control turned on | Check key action counts for a few days |
| Note any server container or tag gateway | Server-side requests still go where they did | Remove the Conversion Linker only after confirming it's redundant |
| Decide who will run and publish the change | Cross-domain links still carry the _gl parameter | Record the change in the version notes |
Questions people ask
Do I have to optimize my container?
No. Google recommends it, but says no changes are made automatically and you choose whether to adopt it.
Will my event tags and triggers change?
Google says they're kept through the upgrade. Your Google tag settings move to the new Settings tab.
Can I undo it?
Yes. You can undo it in your workspace before publishing, and roll back to an earlier container version after. Account links and their permissions aren't part of the version, so check those separately.
