{"id":18999635,"date":"2026-08-21T15:49:55","date_gmt":"2026-08-21T15:49:55","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/your-google-tag-configuration-will-soon-no-longer-be-supported\/"},"modified":"2026-08-21T15:49:55","modified_gmt":"2026-08-21T15:49:55","slug":"your-google-tag-configuration-will-soon-no-longer-be-supported","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/your-google-tag-configuration-will-soon-no-longer-be-supported\/","title":{"rendered":"Your Google Tag configuration will soon no longer be supported"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I&#8217;m using the GTM integration for Consent Mode v2 (with GTM id in 1 site and GA4 id in the other 2). Then I have <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;script&gt;gtag('consent', 'update', { 'ad_storage': 'granted', 'analytics_storage': 'granted'});&lt;\/script&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">in analytics category head on accept. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Just got an email from Google for these sites:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We noticed that some or all of your website pages deploy Google tag GT-xxxxxxxx, G-xxxxxxxxxx, G-xxxxxxxxxx via a Google Tag Manager snippet (gtm.js). This configuration will soon no longer be supported.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>What\u2019s changing?<\/strong><br \/><br \/>To ensure consistency across all websites using the Google tag, we are standardizing our tagging snippet behavior. Starting on <strong>October 02, 2026<\/strong>, all gtm.js snippets will initialize on container load, regardless of any gtag(&#8216;config&#8217;) commands.<br \/>To continue using the gtag configuration code, you must ensure all pages on your site use the gtag\/js code snippet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Next steps<\/strong><br \/>If you don\u2019t take any action, this update may alter how your tags behave. Please update your tag deployment to use gtag\/js instead of gtm.js, by following <a href=\"https:\/\/c.gle\/ACT4xYzke5mbg0Av1WxUF9vqNl2UubGB3yFo1Mp5Hn3v_fdOEPkKe2fUDUJzKiryY1qODKHieTE0s7wfRfbnqkqVZH28_dXla5ogBVwC3GDVVZ0QB6_j42gAYNT3ycbRHGnk_DX1ptd69y8wq5wK4KrKhGwvvHWXJsrVdCGPDUo-LSW5\" target=\"_blank\" rel=\"noreferrer noopener\">these instructions<\/a>.<\/p>\n","protected":false},"template":"","class_list":["post-18999635","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18999635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18999635\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18999635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}