adding tracking for day 2 tracking goodness

This commit is contained in:
Ken
2019-02-25 16:54:28 -08:00
parent 21760e7c8d
commit 2cdefd6f58
20 changed files with 27 additions and 10 deletions

8
assets/track.js Normal file
View File

@@ -0,0 +1,8 @@
// prettier-ignore
var appInsights=window.appInsights||function(a){
function b(a){c[a]=function(){var b=arguments;c.queue.push(function(){c[a].apply(c,b)})}}var c={config:a},d=document,e=window;setTimeout(function(){var b=d.createElement("script");b.src=a.url||"https://az416426.vo.msecnd.net/scripts/a/ai.0.js",d.getElementsByTagName("script")[0].parentNode.appendChild(b)});try{c.cookie=d.cookie}catch(a){}c.queue=[];for(var f=["Event","Exception","Metric","PageView","Trace","Dependency"];f.length;)b("track"+f.pop());if(b("setAuthenticatedUserContext"),b("clearAuthenticatedUserContext"),b("startTrackEvent"),b("stopTrackEvent"),b("startTrackPage"),b("stopTrackPage"),b("flush"),!a.disableExceptionTracking){f="onerror",b("_"+f);var g=e[f];e[f]=function(a,b,d,e,h){var i=g&&g(a,b,d,e,h);return!0!==i&&c["_"+f](a,b,d,e,h),i}}return c
}({
instrumentationKey: "6ad37ae0-c4ab-4739-925c-1e2773c31f17"
});
// prettier-ignore
window.appInsights=appInsights,appInsights.queue&&0===appInsights.queue.length&&appInsights.trackPageView();

View File

@@ -4,16 +4,6 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="stylesheet" href="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-core/9.6.1/css/fabric.min.css" /> <link rel="stylesheet" href="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-core/9.6.1/css/fabric.min.css" />
<link rel="stylesheet" href="./assets/shared.css" /> <link rel="stylesheet" href="./assets/shared.css" />
<script type="text/javascript">
// prettier-ignore
var appInsights=window.appInsights||function(a){
function b(a){c[a]=function(){var b=arguments;c.queue.push(function(){c[a].apply(c,b)})}}var c={config:a},d=document,e=window;setTimeout(function(){var b=d.createElement("script");b.src=a.url||"https://az416426.vo.msecnd.net/scripts/a/ai.0.js",d.getElementsByTagName("script")[0].parentNode.appendChild(b)});try{c.cookie=d.cookie}catch(a){}c.queue=[];for(var f=["Event","Exception","Metric","PageView","Trace","Dependency"];f.length;)b("track"+f.pop());if(b("setAuthenticatedUserContext"),b("clearAuthenticatedUserContext"),b("startTrackEvent"),b("stopTrackEvent"),b("startTrackPage"),b("stopTrackPage"),b("flush"),!a.disableExceptionTracking){f="onerror",b("_"+f);var g=e[f];e[f]=function(a,b,d,e,h){var i=g&&g(a,b,d,e,h);return!0!==i&&c["_"+f](a,b,d,e,h),i}}return c
}({
instrumentationKey: "6ad37ae0-c4ab-4739-925c-1e2773c31f17"
});
// prettier-ignore
window.appInsights=appInsights,appInsights.queue&&0===appInsights.queue.length&&appInsights.trackPageView();
</script>
</head> </head>
<body class="ms-Fabric"> <body class="ms-Fabric">
<div class="Container"> <div class="Container">
@@ -174,5 +164,6 @@
<li class="Tile Tile--unnumbered"><a target="_blank" href="/playground/" class="Tile-link">Playground</a></li> <li class="Tile Tile--unnumbered"><a target="_blank" href="/playground/" class="Tile-link">Playground</a></li>
</ul> </ul>
</div> </div>
<script src="./assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -8,5 +8,6 @@
<div id="app"> <div id="app">
Nothing to show here, just look at your console window for output. Hit F12 to open console window. Nothing to show here, just look at your console window for output. Hit F12 to open console window.
</div> </div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -8,5 +8,6 @@
<div id="app"> <div id="app">
Nothing to show here, just look at your console window for output. Hit F12 to open console window. Nothing to show here, just look at your console window for output. Hit F12 to open console window.
</div> </div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -6,5 +6,6 @@
<body class="ms-Fabric"> <body class="ms-Fabric">
<div id="markdownReadme"></div> <div id="markdownReadme"></div>
<div id="app"></div> <div id="app"></div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -6,5 +6,6 @@
<body class="ms-Fabric"> <body class="ms-Fabric">
<div id="markdownReadme"></div> <div id="markdownReadme"></div>
<div id="app"></div> <div id="app"></div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -6,5 +6,6 @@
<body class="ms-Fabric"> <body class="ms-Fabric">
<div id="markdownReadme"></div> <div id="markdownReadme"></div>
<div id="app"></div> <div id="app"></div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -6,5 +6,6 @@
<body class="ms-Fabric"> <body class="ms-Fabric">
<div id="markdownReadme"></div> <div id="markdownReadme"></div>
<div id="app"></div> <div id="app"></div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -10,5 +10,6 @@
<pre>npm test</pre> <pre>npm test</pre>
in the command line. in the command line.
</div> </div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -10,5 +10,6 @@
<pre>npm test</pre> <pre>npm test</pre>
in the command line. in the command line.
</div> </div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -10,5 +10,6 @@
<pre>npm test</pre> <pre>npm test</pre>
in the command line. in the command line.
</div> </div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -10,5 +10,6 @@
<pre>npm test</pre> <pre>npm test</pre>
in the command line. in the command line.
</div> </div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -10,5 +10,6 @@
<pre>npm test</pre> <pre>npm test</pre>
in the command line. in the command line.
</div> </div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -10,5 +10,6 @@
<pre>npm test</pre> <pre>npm test</pre>
in the command line. in the command line.
</div> </div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -6,5 +6,6 @@
<body class="ms-Fabric"> <body class="ms-Fabric">
<div id="markdownReadme"></div> <div id="markdownReadme"></div>
<div id="app"></div> <div id="app"></div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -6,5 +6,6 @@
<body class="ms-Fabric"> <body class="ms-Fabric">
<div id="markdownReadme"></div> <div id="markdownReadme"></div>
<div id="app"></div> <div id="app"></div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -6,5 +6,6 @@
<body class="ms-Fabric"> <body class="ms-Fabric">
<div id="markdownReadme"></div> <div id="markdownReadme"></div>
<div id="app"></div> <div id="app"></div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -6,5 +6,6 @@
<body class="ms-Fabric"> <body class="ms-Fabric">
<div id="markdownReadme"></div> <div id="markdownReadme"></div>
<div id="app"></div> <div id="app"></div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -6,5 +6,6 @@
<body class="ms-Fabric"> <body class="ms-Fabric">
<div id="markdownReadme"></div> <div id="markdownReadme"></div>
<div id="app"></div> <div id="app"></div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>

View File

@@ -6,5 +6,6 @@
<body class="ms-Fabric"> <body class="ms-Fabric">
<div id="markdownReadme"></div> <div id="markdownReadme"></div>
<div id="app"></div> <div id="app"></div>
<script src="../../assets/track.js"></script>
</body> </body>
</html> </html>