EventTracking

struct EventTracking

Keys that availible for Event Tracking hit in Google Analytics Measurement Protocol.

  • Specifies the event category. Must not be empty.

    • Example: ec=Category

    Declaration

    Swift

    static let category: String
  • Specifies the event action. Must not be empty.

    • Example: ea=Action

    Declaration

    Swift

    static let action: String
  • Specifies the event label..

    • Example: el=Label

    Declaration

    Swift

    static let label: String
  • Specifies the event value. Values must be non-negative.

    • Example: ev=55

    Declaration

    Swift

    static let value: String