Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opt In event still sent when "trackAutomaticEvents" is set to false #836

Open
brandenfung2 opened this issue Jul 11, 2024 · 0 comments
Open

Comments

@brandenfung2
Copy link

We are obtaining the MixpanelAPI instance using the following call:

 MixpanelAPI.getInstance(applicationContext, getToken(), false)

where trackAutomaticEvents is set to false

However we are still seeing automatic events being sent to our console, specifically we are still seeing the $opt_in event.

Upon further investigation in the Mixpanel Android SDK, it appears that MixpanelAPI.optInTracking() will send this event no matter the trackAutomaticEvents flag via this line:

Is there a reason why the opt_in event is not classified as an automatic event? This seems like a bug to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant