_includes/head/index.html in word-games-theme-0.6.6 vs _includes/head/index.html in word-games-theme-0.6.7
- old
+ new
@@ -101,11 +101,11 @@
{%- endif -%}
{%- include google-analytics.html -%}
-
+ {%- if site.MonumetricID -%}
<script>
const autoLoadDuration = 5; //In Seconds
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
@@ -126,6 +126,8 @@
document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
});
}
</script>
+ {%- endif -%}
+
</head>
\ No newline at end of file