Skip to content

AttributionParams

struct AttributionParams

Attribution parameters to hang off a share link, overriding the merchant’s defaults.

Conforms to Swift.Equatable, Swift.Hashable, Swift.Sendable

Defined in: Sources/FrakSDK/Sharing/SharingRequest.swift:2

init(utmSource:utmMedium:utmCampaign:utmContent:utmTerm:via:ref:)

Section titled “init(utmSource:utmMedium:utmCampaign:utmContent:utmTerm:via:ref:)”
init(
utmSource: String? = nil,
utmMedium: String? = nil,
utmCampaign: String? = nil,
utmContent: String? = nil,
utmTerm: String? = nil,
via: String? = nil,
ref: String? = nil
)
let ref: String?
let utmCampaign: String?
let utmContent: String?

What was shared. Only ever per-call or per-product — a merchant-level default cannot know it.

let utmMedium: String?
let utmSource: String?
let utmTerm: String?
let via: String?

!=(::)

static func != (lhs: Self, rhs: Self) -> Bool

Returns a Boolean value indicating whether two values are not equal.

Inequality is the inverse of equality. For any values a and b, a != b implies that a == b is false.

This is the default implementation of the not-equal-to operator (!=) for any type that conforms to Equatable.

  • Parameters:
    • lhs: A value to compare.
    • rhs: Another value to compare.