PostHog Blocked by Ad Blockers
Workaround available Web Updated October 21, 2026
Quick answer
Ad and tracking blockers block requests to PostHog's domains, which drops events, replays, flags and surveys. Route PostHog through your own subdomain with a reverse proxy; PostHog says this typically recovers 10-30% of events.
Most likely fix: Use PostHog's managed reverse proxy (free on Cloud).
Symptoms
Requests to posthog.com hosts show as blocked (ERR_BLOCKED_BY_CLIENT) in the Network tab; numbers are lower than server logs or other tools.
Why it happens
- Blocklists include PostHog's ingestion and asset domains
- Privacy browsers and extensions blocking third-party analytics
- Flags requests blocked along with analytics
How to fix it
Try these in order — the most common fix is first.
1. Use PostHog's managed reverse proxy (free on Cloud)
- In PostHog, open the managed reverse proxy settings and add a subdomain such as e.yourdomain.com
- Create the CNAME record it shows in your DNS provider
- Set api_host to https://e.yourdomain.com in posthog.init()
- Set ui_host to https://us.posthog.com (or https://eu.posthog.com) so the toolbar keeps working
2. Proxy through your own stack
- Add a rewrite in Next.js, Vercel, Netlify, Cloudflare, nginx or Caddy that forwards a path like /ingest to your region's ingestion host
- Forward /ingest/static to us-assets.i.posthog.com (eu-assets.i.posthog.com for EU)
- Set api_host to the proxied path and ui_host to the PostHog app domain
3. Separate feature flag requests
- If only flags are affected, set the flags_api_host option to a proxied host
- Reload and confirm flags resolve with the blocker enabled
4. Avoid obvious path names
- Use a neutral subdomain or path name rather than 'posthog' or 'analytics', which blocklists can match
This guide also covers
- posthog ad blocker
- posthog blocked by adblock
- posthog reverse proxy
- posthog err_blocked_by_client
- posthog proxy nextjs
Still not working?
If PostHog keeps failing, you're not alone. See every PostHog problem users report or the alternatives people switch to.
Other PostHog errors
- PostHog Events Not Showing Up
- PostHog Session Replay Not Recording
- PostHog Replay Broken: Missing CSS, Fonts or Blank Screen
- PostHog Bill Too High
- PostHog Feature Flags Not Working or Undefined
- PostHog Pageviews Missing or Duplicated in Next.js
- PostHog Numbers Different From Google Analytics
- PostHog Identify Merging Wrong Users
- PostHog Surveys Not Showing
- PostHog Toolbar or Heatmaps Not Loading
- Why Is PostHog So Slow?
- PostHog Not Capturing Events in Playwright or Puppeteer Tests