Skip to content

Commit

Permalink
for MPP-2822: add googletagmanager to CSP
Browse files Browse the repository at this point in the history
  • Loading branch information
groovecoder committed Jun 24, 2024
1 parent 963350a commit 4995fe5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions privaterelay/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -198,6 +199,7 @@
+ (["'unsafe-inline'"] if _CSP_SCRIPT_INLINE else [])
+ [
"https://www.google-analytics.com/",
"https://www.googletagmanager.com/",
"https://js.stripe.com/",
]
)
Expand Down

0 comments on commit 4995fe5

Please sign in to comment.