---
title: "Comment by José Alves on \"Prevent Ad-blockers from blocking Mixpanel [Without Nginx!]\" | Hashnode"
description: "Hi! Tried Cloudfront approach but this solution does not appear to be working. 1 - there's a missing property override as per Mixpanel documentation docs.mixpan"
url: "https://hashnode.com/posts/prevent-ad-blockers-from-blocking-mixpanel-without-nginx/62daef1299a21b6b5b5eb684/comment/65ae92cd36b306a1241d41ff"
---

[Discussion](https://hashnode.com/posts/prevent-ad-blockers-from-blocking-mixpanel-without-nginx/62daef1299a21b6b5b5eb684)

Comment [Prevent Ad-blockers from blocking Mixpanel \[Without Nginx!\]](https://hashnode.com/posts/prevent-ad-blockers-from-blocking-mixpanel-without-nginx/62daef1299a21b6b5b5eb684)

[José Alves](https://hashnode.com/@jalves)

[Jan 22, 2024](https://hashnode.com/posts/prevent-ad-blockers-from-blocking-mixpanel-without-nginx/62daef1299a21b6b5b5eb684/comment/65ae92cd36b306a1241d41ff)

Hi! Tried Cloudfront approach but this solution does not appear to be working. 1 - there's a missing property override as per Mixpanel documentation docs.mixpanel.com/docs/tracking-methods/sdks/javascript#tracking-via-proxy MIXPANEL\_CUSTOM\_LIB\_URL 2- there is a need to forward 3 request headers: X-Real-IP, X-Forwarded-For and X-Forwarded-Host. The first one is not allowed by cloudfront.. without this set we cannot include the library.
