How-to · Updated November 18, 2026
Roll back a Tag Manager container to an earlier version
Updated November 18, 2026
15 minutes
In Tag Manager, open Versions, find the last version that worked by its Published date, preview it, and publish it from its Actions menu. That changes what visitors run, and Google lists resetting the draft as a separate step, so also choose Set as Latest Version, or the next publish can put the broken change back.
Before you start
- Publish permission on the container. Google's Edit role cannot create versions or publish, and the Approve role can create versions but cannot publish.
- Roughly when the problem started, such as the day the site or the tracking broke, to match against the publish dates.
Find the last version that worked
Every publish records a version, so the version that was live before the break is your rollback point, and its Published date is how you find it.
- Open the container at tagmanager.google.com and click Versions.
- Read the Published column. Entries with a date there are the publish history: when each version went live and who published it. If environments are set up, an Environments column shows where each one went; only Live matters to visitors.
- Pick the newest version published before the problem started. Click it to see what it contains, then open the version after it to confirm that one holds the change you suspect.
- Compare the two versions item by item, not by their totals. In the containers read below, more than half the steps from one version to the next left the number of tags, triggers and variables exactly the same, because the change was an edit inside a tag that already existed. Read each version's Name and Description too: a version that restores an earlier one can sit at the top of the list with a new number.
- Test it before it goes live: open the Actions menu on that version (Google's preview help calls it More Actions) and select Preview, then do on the site whatever broke. Preview shows the version only in your browser, so visitors are not affected.
If the earlier version fails in Preview too, the fault is probably outside Tag Manager, such as a site update, and rolling back the container will not fix it.
Publish the earlier version
Publishing the earlier version from the Versions list replaces the version your visitors run, and Google lists changing the draft as a separate step.
- In Versions, open the Actions menu next to the version you tested and select Publish To....
- If an environment menu shows, choose Live. Publishing to any other environment does not reach visitors.
- Confirm the publish.
- Write down every change published after this version. They leave the site too, including any that worked, and you will add the good ones back.
Reset the draft so the fault does not come back
Your workspace is still built on the newest version, the one with the broken change, so the next publish from it can ship that change again unless you reset it.
- In Versions, open the Actions menu next to the good version and select Set as Latest Version. Google says this replaces the current container draft with the content of that version.
- If other workspaces exist, each may say it is out of date. Either way, open each one before anyone publishes from it, and abandon anything that repeats the broken change.
- Re-add the good changes you wrote down, preview them, and fix the broken one before it goes back.
- When you publish next, click Submit, choose Publish and Create Version, and give it a Version Name and Version Description that say what changed. A named version is the rollback point the next person can find.
Check it worked
In Versions, the publish history should show the version you restored as published today.
Leave Preview first: click the X in the upper left corner of the Tag Assistant debug interface, then Stop debugging on the Tag Assistant activation page, so the browser no longer shows the previewed version.
Then open the live site and repeat what broke: load the page, submit the form, click the button. The site should behave as it did before the problem started.
If reports were affected, judge the fix on the site first, since reports usually fill in later than the site changes.
What eight managed containers' version histories show, read 2026-11-18
On 2026-11-18 we read the full version list of every Tag Manager container Adrythm manages through the Tag Manager API: seven web containers and one server container. For a few recent versions we also read every tag, trigger and variable with its fingerprint, which changes whenever that item is edited, so two versions could be compared item by item. Businesses are not named.
Most versions have no name. Across the eight containers there were 498 versions after each one's empty first version, and 54 carried a name. The server container's 59 versions had none. The largest web container had 294 versions and 11 names, six of them Default Workspace, Default, 1 or 5. In practice the rollback point is found by its Published date and what it contains, and the name you give your next version is what makes the next rollback quick.
The totals hide most changes. In 231 of the 432 steps from one web container version to the next, the number of tags, triggers, variables and templates stayed exactly the same, so the change was an edit inside an item. The tag count fell in 47 steps, each with at least one tag removed. A version whose totals look identical to the one before can still hold the change that broke the site.
Recent versions changed one thing each. Four recent steps read item by item in three containers each changed a single item: a garage door company's version 40 edited one tag and nothing else, a plumbing firm's version 29 added one tag and its version 30 edited that same tag, and a roofer's version 16 removed one tag. Where each version holds one change, going back one version undoes that one change and nothing more. Where several changes went into one version, they all leave together.
The one rollback the record names came back as a new version. At an estate planning firm on 2026-01-09, version 177 added a click-fraud blocker (two tags, two triggers and a variable) at 15:17 UTC. Version 178, five minutes later, removed the two tags and two triggers and left the variable behind. Version 179, at 15:49, was named Restored_177 with the description Restored from 177, and every one of its tags, triggers and variables carried the same fingerprint as in 177. The restore did not reappear as 177: it sat at the top of the list as 179, so the newest number held the older setup.
A good description says what a rollback would bring back. The roofer's version 16 explains in its description that it removed a second Google Ads tag because the Analytics Google tag already configured that account, and names what it now depends on: the Analytics and Ads link staying in place. Rolling back to version 15 would put the duplicate tag back, and the description says so before anyone publishes it.
Which version to go back to
If the version just before the break changed one item and that item is the one you suspect, publish the version before it. If it changed several items, roll back anyway to stop the damage, then re-add the good changes one version at a time so each has its own rollback point. If the version list shows a version named or described as restoring another, compare it with the one it names before treating it as new work. And if the version you plan to restore has a description, read what it says it depends on: a rollback can bring back a fault an earlier version fixed.
Undo the rollback
Rolling back is itself a publish, so it can be reversed the same way: open Versions, choose Publish To... from the Actions menu of the newer version, and publish it to Live again.
Why the Published column matters more than the version number
A version can be created without ever being published, so the newest version in the list is not always what visitors ran. The Published column is the record of what was actually live and when.