This commit is contained in:
Micah Godbolt
2019-02-26 10:09:27 -08:00
6 changed files with 14 additions and 9 deletions

View File

@@ -4,5 +4,8 @@ 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();
if (window.location.hostname !== 'localhost') {
window.appInsights=appInsights,appInsights.queue&&0===appInsights.queue.length&&appInsights.trackPageView(null, null, {urlReferrer: document.referrer});
}