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. Therefore, Mixpanel will not be able to collect data from those users. A few consideration for users not tracked by Mixpanel due to ad blockers:
- 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.
- If you have some critical Events (e.g., account creation, successful purchase, etc.) 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.
- If for 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 (Python, Java, PHP, Ruby).