diff --git a/appengine/flexible/analytics/main.py b/appengine/flexible/analytics/main.py index 9c7314e441d..034f66f8222 100644 --- a/appengine/flexible/analytics/main.py +++ b/appengine/flexible/analytics/main.py @@ -42,7 +42,7 @@ def track_event(category, action, label=None, value=0): } response = requests.post( - 'http://www.google-analytics.com/collect', data=data) + 'https://www.google-analytics.com/collect', data=data) # If the request fails, this will raise a RequestException. Depending # on your application's needs, this may be a non-error and can be caught diff --git a/appengine/standard/analytics/main.py b/appengine/standard/analytics/main.py index 9766605bb39..d7d829f3063 100644 --- a/appengine/standard/analytics/main.py +++ b/appengine/standard/analytics/main.py @@ -45,7 +45,7 @@ def track_event(category, action, label=None, value=0): } response = requests.post( - 'http://www.google-analytics.com/collect', data=data) + 'https://www.google-analytics.com/collect', data=data) # If the request fails, this will raise a RequestException. Depending # on your application's needs, this may be a non-error and can be caught