Skip to content

Commit

Permalink
add open and link tracking to send email to list
Browse files Browse the repository at this point in the history
  • Loading branch information
petrpavlik committed Dec 18, 2024
1 parent 8809af3 commit 01bf0e9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Sources/IndiePitcherSwift/dtos.swift
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,18 @@ public struct SendEmailToMailingList: Codable, Sendable {

/// Delay sending of this email until specified date.
public var delayUntilDate: Date?

/// Whether to track email opens.
///
/// Allow you to overwrite the project's global setting.
/// - Default: `nil`- Uses the project's global setting.
var trackEmailOpens: Bool?

/// Whether to track email opens.
///
/// Allow you to overwrite the project's global setting.
/// - Default: `nil`- Uses the project's global setting.
var trackEmailLinkClicks: Bool?
}

/// Represents a mailing list contacts can subscribe to, such as `Monthly newsletter` or `Onboarding`.
Expand Down

0 comments on commit 01bf0e9

Please sign in to comment.