From dc3c61c625e5be2d39fcebb842d1ae41131186e6 Mon Sep 17 00:00:00 2001 From: paulalexandrescuTR <52189864+paulalexandrescuTR@users.noreply.github.com> Date: Wed, 22 Oct 2025 08:54:49 -0400 Subject: [PATCH 1/2] Removed remnants loading Google Analytics. GA is now loaded via GTM. --- src/components/Analytics/providers/ga.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/components/Analytics/providers/ga.ts b/src/components/Analytics/providers/ga.ts index 159f1d55..29b3f335 100644 --- a/src/components/Analytics/providers/ga.ts +++ b/src/components/Analytics/providers/ga.ts @@ -1,6 +1,3 @@ -// Reuters Google Tag ID -const GOOGLE_TAG_ID = 'G-WBSR7WLTGD'; - export default () => { try { window.dataLayer = window.dataLayer || []; @@ -11,10 +8,6 @@ export default () => { window.dataLayer.push(arguments); }; window.gtag('js', new Date()); - // config event registers a pageview by default - window.gtag('config', GOOGLE_TAG_ID, { - send_page_view: false, - }); registerPageview(); } } catch (e) { From 6d5c1520fe557b5f52b2627af8ad3daac9efc198 Mon Sep 17 00:00:00 2001 From: hobbes7878 Date: Wed, 22 Oct 2025 14:02:08 +0100 Subject: [PATCH 2/2] docs(changeset): Removes stray Google Analytics loading call so GA is only loaded via Google Tag Manager. --- .changeset/early-plants-hear.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/early-plants-hear.md diff --git a/.changeset/early-plants-hear.md b/.changeset/early-plants-hear.md new file mode 100644 index 00000000..0381d326 --- /dev/null +++ b/.changeset/early-plants-hear.md @@ -0,0 +1,5 @@ +--- +'@reuters-graphics/graphics-components': patch +--- + +Removes stray Google Analytics loading call so GA is only loaded via Google Tag Manager.