From 4995fe5d45f9420096dfe32b9ae8f63a5a3d8832 Mon Sep 17 00:00:00 2001 From: groovecoder Date: Thu, 20 Jun 2024 13:45:34 -0500 Subject: [PATCH] for MPP-2822: add googletagmanager to CSP --- privaterelay/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/privaterelay/settings.py b/privaterelay/settings.py index c1359a4e23..82c95df419 100644 --- a/privaterelay/settings.py +++ b/privaterelay/settings.py @@ -187,6 +187,7 @@ CSP_CONNECT_SRC = [ "'self'", "https://www.google-analytics.com/", + "https://www.googletagmanager.com/", "https://location.services.mozilla.com", "https://api.stripe.com", BASKET_ORIGIN, @@ -198,6 +199,7 @@ + (["'unsafe-inline'"] if _CSP_SCRIPT_INLINE else []) + [ "https://www.google-analytics.com/", + "https://www.googletagmanager.com/", "https://js.stripe.com/", ] )