Skip to content

Commit 151fbdf

Browse files
authored
Update index.html to add Heap Analytics tracking
Will need to change the heap.load ID in prod
1 parent eb49398 commit 151fbdf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
88
<base href="/">
9+
<script type="text/javascript">
10+
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])};
11+
heap.load("4153837120");
12+
</script>
913
</head>
1014
<body>
1115
<div id="root"></div>

0 commit comments

Comments
 (0)