Update gtm.js

Unused variable, import, function or class
This commit is contained in:
2026-01-17 17:32:28 -06:00
parent 46ce1328ff
commit 1b252df6d6

View File

@@ -90,8 +90,6 @@
return scripts.reverse().find(s => (s.getAttribute("src") || "").includes("/gtm.js")) || null;
};
const getAttr = (el, name) => el ? el.getAttribute(name) : null;
const readDatasetCascade = (name) => {
// Check <script>, <html>, <body>, then <meta name="moko:gtm-<name>">
const script = getCurrentScript();