diff --git a/PlexRequests.UI/Helpers/BaseUrlHelper.cs b/PlexRequests.UI/Helpers/BaseUrlHelper.cs
index 2d349fe2c..15a102fed 100644
--- a/PlexRequests.UI/Helpers/BaseUrlHelper.cs
+++ b/PlexRequests.UI/Helpers/BaseUrlHelper.cs
@@ -262,6 +262,23 @@ namespace PlexRequests.UI.Helpers
return helper.Raw(asset);
}
+ public static IHtmlString LoadFavIcon(this HtmlHelpers helper)
+ {
+ var settings = GetSettings();
+ if (!settings.CollectAnalyticData)
+ {
+ return helper.Raw(string.Empty);
+ }
+
+ var assetLocation = GetBaseUrl();
+ var content = GetContentUrl(assetLocation);
+
+ var asset = $"";
+ asset += $"";
+
+ return helper.Raw(asset);
+ }
+
public static IHtmlString GetSidebarUrl(this HtmlHelpers helper, NancyContext context, string url, string title)
{
var content = GetLinkUrl(GetBaseUrl());
diff --git a/PlexRequests.UI/Views/Shared/Partial/_Head.cshtml b/PlexRequests.UI/Views/Shared/Partial/_Head.cshtml
index 927c6cad7..a57044559 100644
--- a/PlexRequests.UI/Views/Shared/Partial/_Head.cshtml
+++ b/PlexRequests.UI/Views/Shared/Partial/_Head.cshtml
@@ -22,6 +22,8 @@
+ @Html.LoadFavIcon()
+
@Html.LoadAnalytics()
@Html.LoadAssets()
\ No newline at end of file