diff options
author | Fabio Berger <me@fabioberger.com> | 2018-02-22 04:06:53 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-02-22 04:06:53 +0800 |
commit | 9993a5090387e18d392f7ee832fef2504355780c (patch) | |
tree | d02f19be3d4925ad2ef5179b69b40d96bf7b1947 | |
parent | c226509be0e07bc87745e32205842dc7b6698a81 (diff) | |
download | dexon-sol-tools-9993a5090387e18d392f7ee832fef2504355780c.tar dexon-sol-tools-9993a5090387e18d392f7ee832fef2504355780c.tar.gz dexon-sol-tools-9993a5090387e18d392f7ee832fef2504355780c.tar.bz2 dexon-sol-tools-9993a5090387e18d392f7ee832fef2504355780c.tar.lz dexon-sol-tools-9993a5090387e18d392f7ee832fef2504355780c.tar.xz dexon-sol-tools-9993a5090387e18d392f7ee832fef2504355780c.tar.zst dexon-sol-tools-9993a5090387e18d392f7ee832fef2504355780c.zip |
Remove Segment.io
-rw-r--r-- | packages/website/public/index.html | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/packages/website/public/index.html b/packages/website/public/index.html index 3072ff03d..75ca9a4ed 100644 --- a/packages/website/public/index.html +++ b/packages/website/public/index.html @@ -58,63 +58,6 @@ })(document, 'script', 'twitter-wjs'); </script> <!-- End Twitter SDK --> - <!-- Segment.io --> - <script> - !(function() { - var analytics = (window.analytics = window.analytics || []); - if (!analytics.initialize) - if (analytics.invoked) window.console && console.error && console.error('Segment snippet included twice.'); - else { - analytics.invoked = !0; - analytics.methods = [ - 'trackSubmit', - 'trackClick', - 'trackLink', - 'trackForm', - 'pageview', - 'identify', - 'reset', - 'group', - 'track', - 'ready', - 'alias', - 'debug', - 'page', - 'once', - 'off', - 'on', - ]; - analytics.factory = function(t) { - return function() { - var e = Array.prototype.slice.call(arguments); - e.unshift(t); - analytics.push(e); - return analytics; - }; - }; - for (var t = 0; t < analytics.methods.length; t++) { - var e = analytics.methods[t]; - analytics[e] = analytics.factory(e); - } - analytics.load = function(t) { - var e = document.createElement('script'); - e.type = 'text/javascript'; - e.async = !0; - e.src = - ('https:' === document.location.protocol ? 'https://' : 'http://') + - 'cdn.segment.com/analytics.js/v1/' + - t + - '/analytics.min.js'; - var n = document.getElementsByTagName('script')[0]; - n.parentNode.insertBefore(e, n); - }; - analytics.SNIPPET_VERSION = '4.0.0'; - analytics.load('T6jtT2F2iMrw9FDJ8exE9Uu1mLN5qd8n'); - analytics.page(); - } -})(); -</script> - <!-- End Segment.io --> <!-- Main --> <script type="text/javascript" crossorigin="anonymous" src="/bundle.js" charset="utf-8"></script> |