Goal: Run campaigns on Apple Search Ads and give them a different Offering and Paywall.
Idea: We should be able to use AdServices.AAAttribution.attributionToken() to get the token. I’m assuming this is what the Purchase SDK does. If we have a token then we can request a specific revenueCat offering.
Success. If the API finds a matching attribution record, the payload returns
attribution=true
. If the API doesn’t find a matching attribution record, the payload returnsattribution=false
. In this case, the200
OK
response is acknowledgment of the receipt of the data request.
Question:
- Does the SDK support this feature without me calling AAAtribution?
- If I’m calling AAAtribution could that possibly break anything? I’m assuming apple would return the token twice if we both call it.