Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #75 from nightwatchjs/chore/disable-partytown
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhav Singh authored Aug 17, 2023
2 parents 56d2311 + 9527d29 commit a74678a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -116,18 +116,18 @@ function activeLink(urlPart) {
<link rel="stylesheet" href="/css/base.css">
<link rel="stylesheet" href="/css/landing/style.css">
<title><%- data.pageTitle %></title>
<script>
<!-- <script>
partytown = {
forward: ['dataLayer.push']
};
</script>
<script defer type="text/javascript">
/* Partytown 0.8.0 - MIT builder.io */
!function (t, e, n, i, r, o, a, d, s, c, l, p) { function u() { p || (p = 1, "/" == (a = (o.lib || "/~partytown/") + (o.debug ? "debug/" : ""))[0] && (s = e.querySelectorAll('script[type="text/partytown"]'), i != t ? i.dispatchEvent(new CustomEvent("pt1", { detail: t })) : (d = setTimeout(f, 1e4), e.addEventListener("pt0", w), r ? h(1) : n.serviceWorker ? n.serviceWorker.register(a + (o.swPath || "partytown-sw.js"), { scope: a }).then((function (t) { t.active ? h() : t.installing && t.installing.addEventListener("statechange", (function (t) { "activated" == t.target.state && h() })) }), console.error) : f()))) } function h(t) { c = e.createElement(t ? "script" : "iframe"), t || (c.setAttribute("style", "display:block;width:0;height:0;border:0;visibility:hidden"), c.setAttribute("aria-hidden", !0)), c.src = a + "partytown-" + (t ? "atomics.js?v=0.8.0" : "sandbox-sw.html?" + Date.now()), e.querySelector(o.sandboxParent || "body").appendChild(c) } function f(n, r) { for (w(), i == t && (o.forward || []).map((function (e) { delete t[e.split(".")[0]] })), n = 0; n < s.length; n++)(r = e.createElement("script")).innerHTML = s[n].innerHTML, e.head.appendChild(r); c && c.parentNode.removeChild(c) } function w() { clearTimeout(d) } o = t.partytown || {}, i == t && (o.forward || []).map((function (e) { l = t, e.split(".").map((function (e, n, i) { l = l[i[n]] = n + 1 < i.length ? "push" == i[n + 1] ? [] : l[i[n]] || {} : function () { (t._ptf = t._ptf || []).push(i, arguments) } })) })), "complete" == e.readyState ? u() : (t.addEventListener("DOMContentLoaded", u), t.addEventListener("load", u)) }(window, document, navigator, top, window.crossOriginIsolated);
</script>
</script> -->

<!-- Google Tag Manager -->
<script type="text/partytown">(function (w, d, s, l, i) {
<script type="text/javascript">(function (w, d, s, l, i) {
w[l] = w[l] || []; w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
Expand Down

0 comments on commit a74678a

Please sign in to comment.