Unused import A module is imported (using the import statement) but t… #54
@@ -90,8 +90,6 @@
|
|||||||
return scripts.reverse().find(s => (s.getAttribute("src") || "").includes("/gtm.js")) || null;
|
return scripts.reverse().find(s => (s.getAttribute("src") || "").includes("/gtm.js")) || null;
|
||||||
};
|
};
|
||||||
|
|
||||||
const getAttr = (el, name) => el ? el.getAttribute(name) : null;
|
|
||||||
|
|
||||||
const readDatasetCascade = (name) => {
|
const readDatasetCascade = (name) => {
|
||||||
// Check <script>, <html>, <body>, then <meta name="moko:gtm-<name>">
|
// Check <script>, <html>, <body>, then <meta name="moko:gtm-<name>">
|
||||||
const script = getCurrentScript();
|
const script = getCurrentScript();
|
||||||
|
|||||||
Reference in New Issue
Block a user