diff --git a/source/VersionHandlerImpl/src/EditorMeasurement.cs b/source/VersionHandlerImpl/src/EditorMeasurement.cs index 86ea0fe9..254ce50c 100644 --- a/source/VersionHandlerImpl/src/EditorMeasurement.cs +++ b/source/VersionHandlerImpl/src/EditorMeasurement.cs @@ -514,7 +514,7 @@ public void Report(string reportUrl, string reportName) { if (String.IsNullOrEmpty(cookie.Key)) continue; // See https://developers.google.com/analytics/devguides/collection/protocol/v1 var status = PortableWebRequest.DefaultInstance.Post( - "http://www.google-analytics.com/collect", + "https://www.google-analytics.com/collect", new[] { // Version new KeyValuePair("v", "1"), diff --git a/source/VersionHandlerImpl/unit_tests/src/EditorMeasurementTest.cs b/source/VersionHandlerImpl/unit_tests/src/EditorMeasurementTest.cs index 52006cd2..a41593b3 100644 --- a/source/VersionHandlerImpl/unit_tests/src/EditorMeasurementTest.cs +++ b/source/VersionHandlerImpl/unit_tests/src/EditorMeasurementTest.cs @@ -366,7 +366,7 @@ public void ReportWhenDisabled() { private KeyValuePair CreateMeasurementEvent( string reportUrl, string reportName, string cookie) { return new KeyValuePair( - String.Format("http://www.google-analytics.com/collect" + + String.Format("https://www.google-analytics.com/collect" + "?v=1" + "&tid={0}" + "&cid={1}" +