From 0c6df3f73753c2a04a943e879a7f5d35e8ba40c5 Mon Sep 17 00:00:00 2001 From: Fuhu Xia Date: Mon, 23 Oct 2023 12:53:13 -0400 Subject: [PATCH] use HTTPS for www.google.com --- ckanext/googleanalytics/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/googleanalytics/utils.py b/ckanext/googleanalytics/utils.py index bd97b17..8477d81 100644 --- a/ckanext/googleanalytics/utils.py +++ b/ckanext/googleanalytics/utils.py @@ -81,7 +81,7 @@ def _ga_handler(data_dict): log.debug("Sending API event to Google Analytics: %s", data) requests.post( - "http://www.google-analytics.com/collect", + "https://www.google-analytics.com/collect", data, timeout=10, )