Skip to content

Commit 8482ab8

Browse files
author
Ives van Hoorne
committed
Install HEAP on embed
1 parent e6aa863 commit 8482ab8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/embed/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
ga('create', 'UA-89432508-1', 'auto');
3535
ga('send', 'pageview');
3636
</script>
37+
<script type="text/javascript">
38+
window.heap = window.heap || [], heap.load = function (e, t) { window.heap.appid = e, window.heap.config = t = t || {}; var r = t.forceSSL || "https:" === document.location.protocol, a = document.createElement("script"); a.type = "text/javascript", a.async = !0, a.src = (r ? "https:" : "http:") + "//cdn.heapanalytics.com/js/heap-" + e + ".js"; var n = document.getElementsByTagName("script")[0]; n.parentNode.insertBefore(a, n); for (var o = function (e) { return function () { heap.push([e].concat(Array.prototype.slice.call(arguments, 0))) } }, p = ["addEventProperties", "addUserProperties", "clearEventProperties", "identify", "removeEventProperty", "setEventProperties", "track", "unsetEventProperty"], c = 0; c < p.length; c++)heap[p[c]] = o(p[c]) };
39+
heap.load("3078105202");
40+
</script>
3741
</head>
3842

3943
<body style="margin: 0; padding: 0; background-color: #1C2022">

0 commit comments

Comments
 (0)