ChilliSource.Front.Modules

Mixpanel

Mixpanel is little bit of a tricky one because autotracking doesn’t work anymore.

The solution is to declare as a chillifront module and then programmatically call events.

Thankfully it’s pretty easy via the ReduxBCLog module and is encouraged.

Quick Start

Add something like this as a chillifront declaration.

new Mixpanel({
  token: process.env.REACT_APP_MIXPANEL_TOKEN
})

Use ReduxBCLog to dispatch log actions which are picked up by its middleware.