Update to server-side Google Tag Manager changes how Google libraries load

August 13, 2025 at 5:08:22 AM

TL;DR Server-side GTM no longer loads gtag.js with GA4 Client; all Google JS libraries load via Web Container Client. To load gtag.js, create or modify a Web Container Client and allowlist Measurement IDs. The "Automatically serve all dependent Google scripts" option auto-handles tags without separate ID listing. Using the Web Container Client for gtag.js loading is optional.

Update to server-side Google Tag Manager changes how Google libraries load

Server-side Google Tag Manager (SGTM) no longer supports loading the Google Tag library (gtag.js) via the built-in GA4 Client. Instead, all Google JavaScript libraries must now be loaded using the Web Container Client. To load gtag.js files through SGTM, you need to create or modify a Web Container Client and allowlist the Google Tag Measurement IDs.

If you load Google Tag Manager through SGTM using the Web Container Client, enabling the "Automatically serve all dependent Google scripts" option will handle any Google Tags loaded through that GTM web container automatically, without needing to list Measurement IDs separately.

This update does not require loading a full web container for GTM through SGTM; you can simply use the Web Container Client to allow loading gtag.js files by listing their Measurement IDs in the "Allowed Container IDs" table. The explanation acknowledges this change can be confusing and offers clarification if needed. Learn more.

Have more questions on this topic? Ask our AI assistant for in-depth insights.

Read more from sources πŸ‘‡

Simo Ahava
Simo Ahava

Top Creator

Top Analytics Creator

Simo Ahava is a Top Analytics Creator. Part of Swipe Insight Select, a curated list of top creators.

Top Analytics Creator
- Server-side GTM no longer loads gtag.js with GA4 Client; all Google JS libraries load via Web Container Client. To load ... Visit Source Open external source URL

The Only Digital Marketing Feed You'll Ever Need.

Stay informed your way. Tailored updates when and how you want them. 100% Free.

10,000+ Users

500+ Sources

1000+ Tools

Or

Related Posts

Google Tag Manager launches readAnalyticsStorage API to read GA client and session cookies Trending ️‍πŸ”₯

Google Tag Manager launches readAnalyticsStorage API to read GA client and session cookies

Google
Google

Official Source

Official Source

Google is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Top-Notch Google Ads Audit Tool

Top-Notch Google Ads Audit Tool

Featured
New Web Analytics Community Launches to Support Marketers and Data Professionals

New Web Analytics Community Launches to Support Marketers and Data Professionals

Google Tag Manager adds control to manage monitored domains in Container Diagnostics tool

Google Tag Manager adds control to manage monitored domains in Container Diagnostics tool

Brais Calvo
Brais Calvo

Top Creator

Top Analytics Creator

Brais Calvo is a Top Analytics Creator. Part of Swipe Insight Select, a curated list of top creators.

Top Analytics Creator
Google Unveils New AI Tools for Measurement and First-Party Data Strategies

Google Unveils New AI Tools for Measurement and First-Party Data Strategies

Google
Google

Official Source

Official Source

Google is a Official Source. The source has been verified by Swipe Insight team.

Official Source
First-party Mode with Cloudflare rebranded as Google Tag Gateway

First-party Mode with Cloudflare rebranded as Google Tag Gateway

Simo Ahava
Simo Ahava

Top Creator

Top Analytics Creator

Simo Ahava is a Top Analytics Creator. Part of Swipe Insight Select, a curated list of top creators.

Top Analytics Creator
Google Ads launches Google tag gateway for advertisers to boost conversion measurement

Google Ads launches Google tag gateway for advertisers to boost conversion measurement

Google
Google

Official Source

Official Source

Google is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Shopify mandates Google tag migration to new app

Shopify mandates Google tag migration to new app

Google
Google

Official Source

Official Source

Google is a Official Source. The source has been verified by Swipe Insight team.

Official Source

Related Tools

Markifact logo

Markifact

Verified Tool

Verified Tool

Markifact is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Marketing Workflows Powered by AI

Featured
Marketing Auditor logo

Marketing Auditor

Verified Tool

Verified Tool

Marketing Auditor is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Automated audits for Google Ads and Analytics.

Get Featured Here

Showcase your tool in this list.

Contact Us
Branch logo

Branch

Seamless mobile linking and attribution solutions

easyTag.io logo

easyTag.io

Effortless GA4 server-side tracking

Rockerbox logo

Rockerbox

Simplified marketing data for strategic decisions

Datahash logo

Datahash

Privacy-focused server-side tracking

Adsmurai logo

Adsmurai

Manage and scale your digital marketing campaigns

Ad Management
Stape.io logo

Stape.io

Simplify server-side data tracking and compliance

AppsFlyer logo

AppsFlyer

Maximize app growth with data-driven insights

Adjust logo

Adjust

Optimize and scale app growth with real-time insights

Get Featured Here

Showcase your tool in this list.

Contact Us