Ad Blockers Affect Mixpanel

Depending on your website and the type of ad blocker, some users who have ad blockers enabled can prevent Mixpanel from loading on your page.

As a result, Mixpanel will not be able to collect data from those users.

Consider the following for users that Mixpanel does not track because of ad blockers:

  1. Generally, only a small percent of users have ad blockers enabled that prevent Mixpanel from tracking actions. Depending on the nature of your site, decide if not tracking users who have ad blockers enabled is acceptable.
  2. If you have some critical events (e.g., account creation, successful purchase, and so on) that you need tracked, you can track those critical events server-side. That way, you can capture those actions even for users with ad blockers. If you chose this route, make sure you’re properly handling identity management for a hybrid implementation.
  3. If your particular site a larger percentage of users have ad blockers enabled, or if all events are critical, you may consider an entirely server-side implementation (PythonJavaPHPRuby).
  4. You can use the JavaScript client-side SDK to proxy the calls to your own server first. Mixpanel has created an Nginx config to help you set up your own proxy servers to load the Mixpanel library and proxy tracking requests. We recommend having the proxy on the same domain as your site although this is not necessary. The data is sent to your proxy first and then relayed to Mixpanel. 
Did this answer your question?

Comments

0 comments

Article is closed for comments.