AnalyticsLogger

public enum AnalyticsLogger

Represents a type that is able to log analytics events or screens.

  • Undocumented

    See more

    Declaration

    Swift

    public enum LogKeys : String
  • Logs an analytics event.

    By default, this posts a notification to the notification center with Notification.Name.logEvent.

    Declaration

    Swift

    public static func logEvent(with parameters: [String : Any], eventName: String)

    Parameters

    eventName

    Name of the event registered on your third-party SDK.

  • Logs an analytics screen.

    By default, this posts a notification to the notification center with Notification.Name.logScreen.

    Declaration

    Swift

    public static func logScreen(with screenName: String, screenClass: String)

    Parameters

    screenName

    Name of your screen to be passed on your third-party Analytics.

    screenClass

    Class of the screen.