Commit ea52dff
committed
🐛 Disable GA proxy to avoid 403 on regional Google domains
The googleAnalytics: true shorthand routes runtime calls through
/_scripts/p/<host>/, but the registry's allowlist only covers
www.google.com — not regional cctlds like google.com.tw used by
gtag.js' ga-audiences remarketing beacon. Calls from non-US visitors
were rejected with 403 "Domain not allowed". proxy: false sends GA
direct to Google; bundle: false stops shipping a copy of gtag.js
first-party since the runtime fetches no longer benefit from it.1 parent 5990ae3 commit ea52dff
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
226 | 229 | | |
227 | 230 | | |
228 | 231 | | |
| |||
0 commit comments