MixpanelTracker

open class MixpanelTracker : Tracker

Mixpanel Tracker

  • Start the tracking. Calls Mixpanel initialise. Logging is enabled.

    Declaration

    Swift

    open override func start()
  • Tracks all the non-nil properties under event name.

    Declaration

    Swift

    override open func track(trackingParameters: TrackingParameters)

    Parameters

    trackingParameters

    Tracking parameters struct

  • Set the opt-in or opt-out tracking in the framework.

    Declaration

    Swift

    override open func setTracking(enabled: Bool)

    Parameters

    enabled

    Enable tracking.

  • Track error is not implemented for this framework.

    Declaration

    Swift

    override open func track(error: NSError)

    Parameters

    error

    NSError

  • Tracker Keys.

    Custom keys are used to track the user identifier, email or screen name.

    Declaration

    Swift

    override open func track(trackerKeys: TrackerKeys)

    Parameters

    trackerKeys

    Tracker keys struct

  • Builder

    See more

    Declaration

    Swift

    open class MixpanelBuilder : Tracker.Builder