diff options
author | Francesco Agosti <francesco.agosti93@gmail.com> | 2018-07-14 02:14:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-14 02:14:38 +0800 |
commit | 26363931ed8ba35a55073d00c4fe128c7e616acc (patch) | |
tree | 5a092a18fab2687a2d221209b947560f82884dcb /packages/website/public/index.html | |
parent | e2438330f588eba03d50c18943b24d6e7f9e9479 (diff) | |
parent | ee54438e92f191637ecb0d36e9d79e707d1c976c (diff) | |
download | dexon-sol-tools-26363931ed8ba35a55073d00c4fe128c7e616acc.tar dexon-sol-tools-26363931ed8ba35a55073d00c4fe128c7e616acc.tar.gz dexon-sol-tools-26363931ed8ba35a55073d00c4fe128c7e616acc.tar.bz2 dexon-sol-tools-26363931ed8ba35a55073d00c4fe128c7e616acc.tar.lz dexon-sol-tools-26363931ed8ba35a55073d00c4fe128c7e616acc.tar.xz dexon-sol-tools-26363931ed8ba35a55073d00c4fe128c7e616acc.tar.zst dexon-sol-tools-26363931ed8ba35a55073d00c4fe128c7e616acc.zip |
Merge pull request #866 from 0xProject/feature/website/integrate-heap
Integrate Heap analytics into the website
Diffstat (limited to 'packages/website/public/index.html')
-rw-r--r-- | packages/website/public/index.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/website/public/index.html b/packages/website/public/index.html index 060f2c3c2..a8a61f8ad 100644 --- a/packages/website/public/index.html +++ b/packages/website/public/index.html @@ -23,6 +23,12 @@ </head> <body style="margin: 0px; min-width: 355px;"> + <!-- Heap SDK --> + <script type="text/javascript"> + 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", "resetIdentity", "removeEventProperty", "setEventProperties", "track", "unsetEventProperty"], c = 0; c < p.length; c++)heap[p[c]] = o(p[c]) }; + heap.load("410099666"); + </script> + <!-- End Heap SDK --> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-98720122-1"></script> <script> |