init(sourceIdentifier:destinationURL:sourceDescription:purchaser:)
Initializes a new event attribution object.
Declaration
init(sourceIdentifier: UInt8, destinationURL: URL, sourceDescription: String, purchaser: String)Parameters
- sourceIdentifier:
An 8-bit number that identifies the source of the click for attribution. Value must be between
0and255. - destinationURL:
The destination URL of the attribution.
- sourceDescription:
A description of the source of the attribution.
- purchaser:
A string that describes the entity that purchased the attributed content.