ScreenViewMixpanelEventTrackerFactory

Claims every ScreenViewEvent and declines everything else, which is GenericMixpanelEventTrackerFactory's business.

A screen view does not go through the generic path because it is sent under one shared screen_view name with the screen as a screen_name property, so all screens land in a single Mixpanel event that can be broken down by screen.

To handle screen views differently, write a factory and place it before this one in the chain.

Constructors

Link copied to clipboard
constructor(mixpanel: MixpanelAPI)

Functions

Link copied to clipboard
open override fun create(event: Event): Resolution<MixpanelEventTracker>