Skip to content

Enabling Mixpanel helper breaks mixpanel.track() #38

@joeyfigaro

Description

@joeyfigaro

Table of Contents

Expected Behavior

After enabling the provided Mixpanel helper, mixpanel.track() should work.

Current Behavior

After enabling the Mixpanel helper, the mixpanel global is a different shape entirely - and doesn't have a track method.

working mixpanel global

error/global after enabling helper

Possible Solution

Steps to Reproduce (for bugs)

  1. check existing mixpanel global prior to enabling the library's mixpanel helper
  2. enable library's mixpanel helper
  3. check error in console regarding missing track method/mixpanel global

Context

Can't use the helper, and will have to set up my mixpanel events manually. Not the end of the world.

Your Environment

  • Version used: ^2.0.1
  • Browser Name and version: Chrome 59.0.3071.115
  • Operating System and version (desktop or mobile): OS X 10.12.5
  • Link to your project: N/A

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