Removed remnants loading Google Analytics. GA is now loaded via GTM.

This commit is contained in:
paulalexandrescuTR 2025-10-22 08:54:49 -04:00 committed by GitHub
parent e864a7b4cc
commit dc3c61c625
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {