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:
|
track("$opt_in", properties); |
Is there a reason why the opt_in event is not classified as an automatic event? This seems like a bug to me.
We are obtaining the MixpanelAPI instance using the following call:
where
trackAutomaticEventsis set to falseHowever we are still seeing automatic events being sent to our console, specifically we are still seeing the
$opt_inevent.Upon further investigation in the Mixpanel Android SDK, it appears that
MixpanelAPI.optInTracking()will send this event no matter thetrackAutomaticEventsflag via this line:mixpanel-android/src/main/java/com/mixpanel/android/mpmetrics/MixpanelAPI.java
Line 1239 in f40e1f7
Is there a reason why the
opt_inevent is not classified as an automatic event? This seems like a bug to me.