Skip to content
Permalink
Browse files

feat: replaced appinsights with google analytics

  • Loading branch information...
biohazard999 committed May 28, 2019
1 parent 8218d85 commit af9f1e2b58be5a8a9851f625fdc0c032093379d4
Showing with 7 additions and 2 deletions.
  1. +7 −2 _includes/head.html
@@ -41,6 +41,11 @@
<meta name="msapplication-square150x150logo" content="/img/mstile-150x150.png" />
<meta name="msapplication-wide310x150logo" content="/img/mstile-310x150.png" />
<meta name="msapplication-square310x310logo" content="/img/mstile-310x310.png" />

<script type="text/javascript"> 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:"9409470b-6ee9-4bc2-a24f-0b3f33f9aa30" }); window.appInsights=appInsights,appInsights.queue&&0===appInsights.queue.length&&appInsights.trackPageView();</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-140790339-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-140790339-1');
</script>
</head>

0 comments on commit af9f1e2

Please sign in to comment.
You can’t perform that action at this time.