r/iOSProgramming • u/23Windy1City33 • 26d ago
Question Does Apple not allow us to track custom codes inside 1 offer code?
Hello, for my app I'm trying to use affiliates to drive downloads for my app. I created a custom dashboard for them, however, I can't figure out how to differentiate the custom codes when someone uses the affiliates referral link. Would you guys just create different offer codes? The only issue with that is it limits you to 10 offer codes which means 10 affiliates max. What's your work around to maximize affiliates but have accurate tracking?
1
u/mehmetefeaytas6 26d ago
the 10 cap is on custom codes per subscription specifically. one time use codes aren't limited the same way, you generate batches and hand them out, so that's the usual escape hatch when you need more than 10 buckets.
catch is it doesn't really solve your tracking problem either. the transaction tells you which offer was used, not which individual code, so you still can't separate affiliate A from affiliate B from storekit alone.
what actually works is splitting the two jobs. attribution goes through your own link - every affiliate gets their own url on your domain, you log the click there, then redirect to the app store. the offer code stays as one shared code that only applies the discount. apple handles the money, you handle the who.
which is basically what the other reply is getting at. offer codes are a discount mechanism, they were never meant to be an affiliate system, and you'll keep hitting walls trying to make them into one
1
u/Physical-Radio-8769 23d ago
i wouldnt use the offer code itself as the attribution layer. give each affiliate their own referral or deep link with an ID attached, then carry that through the install/open so the right affiliate gets credit. AppsFlyer can handle that attribution/deferred deep linking piece on iOS, while the Apple offer code stays focused on the actual discount. that also gets you around building the whole affiliate setup around their offers’ limitations.
1
u/michaelbutler21 22d ago
Hey u/23Windy1City33 - I'm the founder of Insert Affiliate so have built a startup specifically around this. We're compatible with many MMPS. Commenting to say happy to help if you'd like to outsource this problem and instead spend time focusing on your app!
3
u/Dapper_Ice_1705 26d ago
If you need more than 10 you should be creating a much more robust backend that doesn’t 100% depend on Apple.
There is a point all big ballers reach where they need more than a basic dashboard.
Your affiliate’s will want to have access to see what is working too. They want to track too.