Skip to content

Commit

Permalink
Merge pull request #292 from hlxsites/feature/gtm-id-update
Browse files Browse the repository at this point in the history
updated the GTM id from Staging to Production
  • Loading branch information
davenichols-DHLS authored Jan 23, 2024
2 parents 8ca5144 + ff4474c commit 41f2815
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/delayed.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sampleRUM('cwv');
function loadGTM() {
const scriptTag = document.createElement('script');
scriptTag.innerHTML = `
let gtmId = 'GTM-W93WJWB9';
let gtmId = 'GTM-MLWV3QQ';
// googleTagManager
(function (w, d, s, l, i) {
w[l] = w[l] || [];
Expand All @@ -29,7 +29,7 @@ function loadGTM() {
document.head.prepend(scriptTag);
const noScriptTag = document.createElement('noscript');
noScriptTag.innerHTML = `
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W93WJWB9"
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MLWV3QQ"
height="0" width="0" style="display:none;visibility:hidden"></iframe>
`;
document.body.prepend(noScriptTag);
Expand Down

0 comments on commit 41f2815

Please sign in to comment.