From c3e7f267b61c208d0d5984895f9f2d761176b88f Mon Sep 17 00:00:00 2001 From: Reto Cossalter Date: Wed, 20 Nov 2019 19:29:09 +0100 Subject: [PATCH] Google Analytics TrackingID is stored in lowercase #3318 --- .../Connectors/GoogleAnalytics/GoogleAnalyticsConnector.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DNN Platform/Connectors/GoogleAnalytics/GoogleAnalyticsConnector.cs b/DNN Platform/Connectors/GoogleAnalytics/GoogleAnalyticsConnector.cs index d326f22f255..85404689a9e 100644 --- a/DNN Platform/Connectors/GoogleAnalytics/GoogleAnalyticsConnector.cs +++ b/DNN Platform/Connectors/GoogleAnalytics/GoogleAnalyticsConnector.cs @@ -189,7 +189,7 @@ public bool SaveConfig(int portalId, IDictionary values, ref boo } else { - trackingID = values["TrackingID"] != null ? values["TrackingID"].ToLowerInvariant().Trim() : string.Empty; + trackingID = values["TrackingID"] != null ? values["TrackingID"].ToUpperInvariant().Trim() : string.Empty; urlParameter = values["UrlParameter"]?.Trim() ?? string.Empty; trackForAdmin = values["TrackAdministrators"] != null ? values["TrackAdministrators"].ToLowerInvariant().Trim() : string.Empty; anonymizeIp = values["AnonymizeIp"] != null ? values["AnonymizeIp"].ToLowerInvariant().Trim() : string.Empty;