TrackInfo

struct TrackInfo : Hashable, Sendable

Public representation of a tracked-views batch payload delivered via didTrackInfo(_:).

  • The name/action of the event.

    Declaration

    Swift

    public let name: String
  • Optional attributes associated with the event.

    Declaration

    Swift

    public let attributes: Attributes?
  • The time when the event was tracked.

    Declaration

    Swift

    public let trackedTime: Date
  • Converts the event DTO to a dictionary representation.

    Declaration

    Swift

    public var asDTODict: [String : Any] { get }
  • Contains the attributes associated with an event.

    See more

    Declaration

    Swift

    public struct Attributes : Hashable, Sendable