Before giving an agency publish access to your GTM
Why giving a new marketing agency Publish access to Google Tag Manager is a security risk, and the approval workspaces you should set up instead.
Your new marketing agency is ready to launch their first campaign. To track the results, they need to add conversion pixels to your website. The onboarding email arrives asking you to grant their team full 'Publish' access to your Google Tag Manager container.
Tag Manager controls the JavaScript that runs on your website. When you give an external agency the ability to publish directly to your live environment, you are giving them the keys to your front end. The dashboard gets a quick setup. You get the liability of untested code running on your checkout page.
We check what happens all the way through the handover process. Who owns the parent account? Are changes isolated in separate workspaces? We follow the permissions from the initial request to the final go-live button. Then we fix the governance gaps and questionable access levels before anything breaks.
This matters when a broken tag drops your conversion rate or a rogue script harvests customer data. If your agency bypasses your cookie banner because they had the power to publish a tag without oversight, you pay the compliance fine.
The difference between editing and publishing
Google Tag Manager operates on three distinct permission tiers: Edit, Approve, and Publish. Most businesses mistakenly treat them as a single toggle, handing out full admin rights to anyone who needs to install a Facebook pixel.
Edit access allows an agency to build tags, triggers, and variables inside a draft workspace. It lets them do the work they were hired to do.
Approve access allows a senior reviewer to freeze that draft into a permanent snapshot called a Version. This ensures that what gets tested in quality assurance is exactly what goes live, with no last-minute adjustments.
Publish access is the final step. It takes that Version and pushes it to the browser of every visitor on your website. It is the release button. In a secure setup, the people building the tags should not be the same people pushing them live.
Why unrestricted access is a commercial risk
Google Tag Manager is frequently treated as a marketing tool, but it is fundamentally a deployment environment. The platform allows users to inject Custom HTML directly into your website.
When an agency has Publish access, they can bypass your internal security reviews, ignore your cookie consent mechanisms, and inadvertently break critical website functions. A badly configured tag can block a submit button, hijack a form, or slow down a page enough to damage your organic search rankings.
When your dashboard says a new pixel is tracking sales perfectly, there should be an actual review process confirming it isn't also breaking the basket for mobile users. The agency did not intentionally sabotage your site. They simply lacked the governance layer that catches mistakes before they hit production.
The cost of missing governance
We evaluate the impact of your Tag Manager permissions by looking at the control you retain over your live environment compared to the access you grant.
| What the setup says | What is happening underneath | What it does to your control |
|---|---|---|
| Agency holds Publish rights | Code goes live without client oversight. | You lose the ability to catch breaking changes before they hit customers. |
| Single shared workspace | Draft changes from multiple teams collide. | You risk publishing incomplete tags meant for a different campaign. |
| Agency owns the Account | The client is merely a user in their own system. | You risk losing historical data if the commercial relationship ends. |
| No version notes required | Tags are published with blank descriptions. | You spend hours auditing the container when something eventually breaks. |
| Everyone is an admin | Junior staff can inject arbitrary JavaScript. | You expose your website to significant security and compliance risks. |
The reviewer model for agency handovers
To maintain security while allowing an agency to operate efficiently, the governance architecture has to separate the builder from the publisher. The solution is the Reviewer Model.
The agency team receives Edit access. They do their work inside a dedicated, named workspace. When the campaign tracking is ready, an agency lead or your internal technical owner uses Approve access to create a Version and test it in preview mode.
Finally, a designated client owner presses Publish. This enforces a four-eyes principle. It gives the client a permanent kill switch and ensures no code executes on the live website without a second person's explicit oversight.
Diagnosing the access gap
When the onboarding process conflicts with basic security, we check the specific permission structures.
| Diagnostic symptom | Underlying cause | Required fix |
|---|---|---|
| Agency demands Admin rights | Convenience is prioritized over security. | Restrict the agency to Edit and Approve access within a dedicated workspace. |
| Live tags lack consent checks | Publish access allowed the agency to bypass GDPR rules. | Enforce a client-side review of all tag consent settings before publishing. |
| Breaking changes go unnoticed | No dedicated QA step exists between drafting and publishing. | Require a frozen Version to be tested before the release button is pressed. |
| Unknown tags clutter the container | Lack of naming conventions and version documentation. | Mandate strict naming formats and detailed notes for every approved Version. |
Frequently asked questions
Will restricting access slow down our marketing campaigns?
No. The agency can still build, configure and test everything they need in preview mode using their Edit access. The only change is that a designated owner takes five minutes to review and click Publish when the work is complete.
What if the agency says they need Publish access to test their work?
They are mistaken. Google Tag Manager's preview mode allows anyone with Edit access to fully test their tags on the live website without publishing them to the public. If they claim otherwise, they do not understand the tool.
How do we handle emergency fixes out of hours?
You can grant temporary Publish access to a senior technical lead at the agency, provided there is a written agreement that it is only used for critical rollbacks. Routine campaign tags should never require an emergency midnight publish.
Should we create a new container for the new agency?
No. Creating multiple containers slows down your website and fractures your data collection. You use Custom Workspaces within your single, existing container to isolate the new agency's draft work from your live environment.