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. 1. Use PostHog's managed reverse proxy (free on Cloud)

    1. In PostHog, open the managed reverse proxy settings and add a subdomain such as e.yourdomain.com
    2. Create the CNAME record it shows in your DNS provider
    3. Set api_host to https://e.yourdomain.com in posthog.init()
    4. Set ui_host to https://us.posthog.com (or https://eu.posthog.com) so the toolbar keeps working
  2. 2. Proxy through your own stack

    1. Add a rewrite in Next.js, Vercel, Netlify, Cloudflare, nginx or Caddy that forwards a path like /ingest to your region's ingestion host
    2. Forward /ingest/static to us-assets.i.posthog.com (eu-assets.i.posthog.com for EU)
    3. Set api_host to the proxied path and ui_host to the PostHog app domain
  3. 3. Separate feature flag requests

    1. If only flags are affected, set the flags_api_host option to a proxied host
    2. Reload and confirm flags resolve with the blocker enabled
  4. 4. Avoid obvious path names

    1. 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