Commit 88a378c
fix: add missing GA4 domains to CSP for non-EU regions (tldraw#6534)
Updates Content Security Policy to include additional Google Analytics
and Google Tag Manager domains required for GA4 functionality:
- Adds www.google-analytics.com and *.googletagmanager.com to
connect-src
- Adds *.googletagmanager.com, www.google-analytics.com, and
*.google-analytics.com to script-src
This resolves CSP blocking issues preventing GA4 from working properly
in non-EU regions where analytics cookies are enabled.
Fixes ENG-3605
🤖 Generated with [Claude Code](https://claude.ai/code)
Describe what your pull request does. If you can, add GIFs or images
showing the before and after of your change.
### Change type
- [x] `bugfix`
- [x] `improvement`
- [ ] `feature`
- [ ] `api`
- [ ] `other`
Co-authored-by: Claude <noreply@anthropic.com>1 parent dfdf6b7 commit 88a378c
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| |||
0 commit comments