Skip to content

Commit

Permalink
Change GTM ID to match Famous
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyklapatch committed Sep 30, 2024
1 parent 32a24c1 commit 48eb524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions best-cigars-guide/scripts/delayed.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ function onGALoad() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'GT-M6QM788');
gtag('config', 'G-S1GMVHJEKZ');
gtag('set', 'linker', { domains: ['www.famous-smoke.com'] });
}

function loadGoogleAnalytics() {
// Load the Google Analytics library
const tag = document.createElement('script');
tag.async = true;
tag.src = 'https://www.googletagmanager.com/gtag/js?id=GT-M6QM788';
tag.src = 'https://www.googletagmanager.com/gtag/js?id=G-S1GMVHJEKZ';
document.head.appendChild(tag);
// Configuration script
tag.onload = onGALoad;
Expand Down

0 comments on commit 48eb524

Please sign in to comment.