Fixing tracking and fixing the playground link

This commit is contained in:
Ken
2019-02-26 09:35:56 -08:00
parent 71acfdabbd
commit 6953257aad
2 changed files with 2 additions and 2 deletions

View File

@@ -5,4 +5,4 @@ var appInsights=window.appInsights||function(a){
instrumentationKey: "6ad37ae0-c4ab-4739-925c-1e2773c31f17"
});
// prettier-ignore
window.appInsights=appInsights,appInsights.queue&&0===appInsights.queue.length&&appInsights.trackPageView();
window.appInsights=appInsights,appInsights.queue&&0===appInsights.queue.length&&appInsights.trackPageView(null, null, {urlReferrer: document.referrer});

View File

@@ -161,7 +161,7 @@
<h2>Playground</h2>
Build your app here!
</li>
<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>
</div>
<script src="./assets/track.js"></script>