mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-25 09:18:34 +00:00
Removed GA
This commit is contained in:
parent
ad92ba1083
commit
4c85c8761f
1 changed files with 0 additions and 16 deletions
|
@ -52,20 +52,4 @@
|
||||||
@RenderSection("Scripts", required: false)
|
@RenderSection("Scripts", required: false)
|
||||||
@Html.IncludeScript("jquery.signalR.min.js")
|
@Html.IncludeScript("jquery.signalR.min.js")
|
||||||
<script src="@Url.Content("~/signalr/hubs")" type="text/javascript"></script>
|
<script src="@Url.Content("~/signalr/hubs")" type="text/javascript"></script>
|
||||||
@if (EnvironmentProvider.IsProduction)
|
|
||||||
{
|
|
||||||
<script type="text/javascript">
|
|
||||||
var _gaq = _gaq || [];
|
|
||||||
_gaq.push(['_setAccount', 'UA-8318723-7']);
|
|
||||||
_gaq.push(['_setDomainName', 'none']);
|
|
||||||
_gaq.push(['_setAllowLinker', true]);
|
|
||||||
_gaq.push(['_trackPageview']);
|
|
||||||
|
|
||||||
(function () {
|
|
||||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
||||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
||||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue