Skip to content

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

Description

@brandenfung2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions