Package-level declarations

Types

Link copied to clipboard

Asks each factory in order and takes the first answer that is not a decline.

Link copied to clipboard

Asks each factory in order and takes the first answer that is not a decline.

Link copied to clipboard

Tracks any event under its own name with its parameters attached. Claims everything, so it only belongs last in a chain — anything after it is unreachable.

Link copied to clipboard

Registers any property as a Mixpanel super property, so it rides along on every event sent afterwards. Claims everything, so it belongs last in a chain — and after UserPropertyMixpanelPropertySetterFactory, which would otherwise never see a UserProperty.

Link copied to clipboard

Mixpanel's lifecycle and identity, over a MixpanelAPI the consumer owns.

Link copied to clipboard
fun interface MixpanelEventTracker

One pending call to Mixpanel on behalf of one event.

Link copied to clipboard

Turns an event into the Mixpanel calls it should produce — or declines it.

Link copied to clipboard

One pending call to Mixpanel on behalf of one property.

Link copied to clipboard

The MixpanelEventTrackerFactory counterpart for properties, with the same partial contract.

Link copied to clipboard

Fails on any event that reaches it. Put it last in a chain to turn an event nobody wired up into a loud failure rather than a silent no-op.

Link copied to clipboard

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

Stores a UserProperty on the Mixpanel people profile, and declines every other property.

Properties

Link copied to clipboard

The value as Mixpanel should store it. Mixpanel properties are JSON, so numbers and booleans go across as themselves rather than as text and stay usable in numeric filters.

Functions

Link copied to clipboard

Event parameters as Mixpanel should store them; see asMixpanelValue.