How to create your Shopify app affiliate program?
Installs from the Shopify App Store don’t pass referral links or cookies to your app. So your Shopify app affiliate program runs on a referral code the merchant enters in your app, with the installer’s IP as a back-up match.
-
Ask for the code in your app
Show a “Got a referral code?” field in your app. When the merchant enters a code, your app calls storeConnect with platform shopify, the shop domain and the code. At install you can also send the installer’s IP, which matches a click on an affiliate link made within the previous 30 days.
-
Let Appsify collect the revenue
For Shopify, Appsify pulls charges from the Shopify Partner API, so your app doesn’t report Shopify charges. Each commission is held for 30 days before it becomes payable, and refunds are clawed back.