aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/assets/index.html
blob: 73797b9588ac22bf236806b23724e2ae2dfd12ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="ie=edge" />
        <link rel="preload" href="/fonts/MaisonNeue-Book-subset.woff2" as="font" type="font/woff2" crossorigin />
        <link rel="preload" href="/fonts/MaisonNeue-Bold-subset.woff2" as="font" type="font/woff2" crossorigin />
        <title><%= htmlWebpackPlugin.options.title %></title>
    </head>
    <body>
        <!-- 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('<%= htmlWebpackPlugin.options.heapAnalyticsId %>');
        </script>
        <!-- Global site tag (gtag.js) - Google Analytics -->
        <script
            async
            src="https://www.googletagmanager.com/gtag/js?id=<%= htmlWebpackPlugin.options.googleAnalyticsId %>"
        ></script>
        <script>
            window.dataLayer = window.dataLayer || [];
            function gtag() {
                dataLayer.push(arguments);
            }
            gtag('js', new Date());

            gtag('config', '<%= htmlWebpackPlugin.options.googleAnalyticsId %>');
        </script>
        <!-- End Google Analytics -->
        <div id="app"></div>
    </body>
</html>