Hit

@objcMembers public class Hit: NSObject

Class to provide Hit information. A hit is an HTTP request with a querystring containing all tracking information.

  • HitType Enum

    • unknown: unknown
    • screen: screen
    • touch: touch
    • audio: audio
    • video: video
    • animation: animation
    • podCast: podCast
    • rss: rss
    • email: email
    • advertising: advertising
    • adTracking: adTracking
    • productDisplay: productDisplay
    • weborama: weborama
    • mvTesting: mvTesting
    See more

    Declaration

    Swift

    @objc public enum HitType: Int
  • url

    Hit url

    Declaration

    Swift

    @objc public var url: String
  • Date of creation

    Declaration

    Swift

    @objc public var creationDate: Date
  • Number of retry that were made to send the hit

    Declaration

    Swift

    @objc public var retryCount: NSNumber
  • Indicates wheter the hit comes from storage

    Declaration

    Swift

    @objc public var isOffline: Bool
  • Hit type - See HitType

    Declaration

    Swift

    public  var type: HitType
  • Description

    Declaration

    Swift

    @objc public var text: String