Skip to content

Commit 19e623e

Browse files
committed
Remove GTM datalayer as requested
1 parent 0aea293 commit 19e623e

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

src/assets/javascript/cookies.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -134,18 +134,7 @@ var cookies = function (trackingId) {
134134
}
135135

136136
function initGtm() {
137-
window.dataLayer = [
138-
{
139-
"gtm.allowlist": ["google"],
140-
"gtm.blocklist": [
141-
"nonGoogleScripts",
142-
"nonGoogleIframes",
143-
"nonGooglePixels",
144-
"customScripts",
145-
"customPixels",
146-
],
147-
},
148-
];
137+
window.dataLayer = window.dataLayer || [];
149138

150139
function gtag() {
151140
dataLayer.push(arguments);

0 commit comments

Comments
 (0)