GoogleAnalyticsBuilder

open class GoogleAnalyticsBuilder : Tracker.Builder

Builder

  • Init the builder

    Declaration

    Swift

    public override init(context: UIApplication, key: String?)

    Parameters

    context

    UIApplication context

    key

    GA Key

  • Declaration

    Swift

    open override func build() -> GoogleAnalyticsTracker
  • Set the Mapfunction

    Declaration

    Swift

    open func set(mapFunction: MapFunction) -> GoogleAnalyticsBuilder

    Parameters

    mapFunction

    custom map function

    Return Value

    Builder so that it can be chained.

  • Enable UI event logging.

    Declaration

    Swift

    open func setUIEventLogging(enabled: Bool) -> GoogleAnalyticsTracker.Builder

    Parameters

    enabled

    Set UI event logging.

    Return Value

    Builder so that it can be chained.