TrackingSettings
public struct TrackingSettings : Encodable
The TrackingSettings
struct houses any tracking settings an email should be
configured with.
-
The click tracking setting.
Declaration
Swift
public var clickTracking: ClickTracking?
-
The Google Analytics setting.
Declaration
Swift
public var googleAnalytics: GoogleAnalytics?
-
The open tracking setting.
Declaration
Swift
public var openTracking: OpenTracking?
-
The subscription tracking setting.
Declaration
Swift
public var subscriptionTracking: SubscriptionTracking?
-
A
Bool
indicating if at least one of the settings have been specified.Declaration
Swift
public var hasSettings: Bool { get }
-
Initializes the struct with no settings set.
Declaration
Swift
public init()
-
Bubbles up the
subscriptionTracking
validation.Declaration
Swift
public func validate() throws