Type Method

addAttributionData(_:from:forNetworkUserId:)

Send your attribution data to RevenueCat so you can track the revenue generated by your different campaigns.

Declaration

@objc(addAttributionData:fromNetwork:forNetworkUserId:) static func addAttributionData(_ data: [String : Any], from network: AttributionNetwork, forNetworkUserId networkUserId: String?)

Parameters

data

Dictionary provided by the network.

network

Enum for the network the data is coming from, see AttributionNetwork for supported networks.

networkUserId

User Id that should be sent to the network. Default is the current App User Id.