Skip to content

Instantly share code, notes, and snippets.

@ozten
Last active July 21, 2026 18:03
Show Gist options
  • Select an option

  • Save ozten/0fe991e97652a710b15de4d64bd41d43 to your computer and use it in GitHub Desktop.

Select an option

Save ozten/0fe991e97652a710b15de4d64bd41d43 to your computer and use it in GitHub Desktop.
CSP update for Hubspot pages
<meta
http-equiv="Content-Security-Policy"
content="
script-src
'self'
'unsafe-inline'
'unsafe-eval'
https://cdn.amplitude.com
https://cdn.rudderlabs.com
https://www.googletagmanager.com
https://*.googletagmanager.com;
connect-src
'self'
https://www.google-analytics.com
https://*.cloudfront.net
https://*.pendo.io
https://*.pendopub.com
https://r.lr-ingest.io
https://*.hubapi.com
https://*.hubspot.com
https://px.ads.linkedin.com
https://www.google.com
https://google.com
https://cdn.cookielaw.org
https://*.s3.amazonaws.com
https://*.token.awswaf.com
https://geolocation.onetrust.com
https://*.analytics.google.com
https://reflex.bigpicture.io
https://privacyportal.onetrust.com
https://auth-console.hiyainc.net
https://auth-console.hiya.com
https://www.googletagmanager.com
https://*.google-analytics.com
https://*.googletagmanager.com
https://google-analytics.com
https://analytics.google.com
https://c.ba.contentsquare.net
https://static.hsappstatic.net
http://fast.wistia.net
https://*.g.doubleclick.net
https://*.google.com
https://*.google.es
https://*.google.co.uk
https://*.google.com.au
https://*.google.ca
https://pagead2.googlesyndication.com
https://tracking-api.g2.com
https://stats.g.doubleclick.net
https://ad.doubleclick.net
https://faro-collector-prod-us-central-0.grafana.net
https://browser.sentry-cdn.com
https://api.rudderstack.com
https://cdn.rudderlabs.com
https://jeremyechoorhr.dataplane.rudderstack.com
https://hiyaausticxxxo.dataplane.rudderstack.com
https://api2.amplitude.com
https://sr-client-cfg.amplitude.com
https://cdn.amplitude.com
https://*.amplitude.com;
"
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment