Prevent Ad-blockers from blocking Mixpanel [Without Nginx!]
Most ad blockers block Mixpanel from sending events to the server. Since the number of people using ad-blockers or privacy-focused browsers is increasing, there is a dedicated post on Mixpanel's website to address this. However, the solutions they pr...
blog.pranavp.com.np2 min read
José Alves
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.