For Shopify and WooCommerce store owners
Shopify affiliate app: run your own affiliate and referral program
This page is for Shopify store owners who want affiliates to sell their products. If you want to earn by sending new merchants to Shopify, this page is not about that. Affiliateo connects to your store, credits each order to the affiliate who sent it, and pays them.
How it works
- Create an Affiliate app in Affiliateo and pick Shopify as your payment provider.
- Type your .myshopify.com address. Shopify opens an approval window where you let Affiliateo read orders and create webhooks. There are no API keys to copy.
- Paste one script into your theme, just before </body> in layout/theme.liquid.
- Set your commission: a percentage, a flat amount per order, or a rate per product.
- Affiliates join and share their links or discount codes. Each paid order they bring is credited to them.
- Commissions become payable 14 days after the order. Pay one affiliate or all of them from the Pay tab.
How the Shopify affiliate app tracks orders
The theme script reads the affiliate's code from the link and saves it in the Shopify cart. Shopify carries it to the order. When the order is paid, Shopify tells Affiliateo, and the affiliate gets their commission. Nothing has to be added to your checkout.
The same script counts your visitors and page views, so you can see where your store traffic comes from and which affiliates send it.
It works on every Online Store 2.0 theme, like Dawn, Crave and Sense, and on headless and Hydrogen storefronts.
Discount codes count too
Many store affiliates share a code instead of a link, especially in videos and podcasts. Turn on coupon codes for your program, and a buyer who types an affiliate's code at the Shopify checkout credits that affiliate, even if they never clicked a link.
If an order has both a link and a code, the code wins. That keeps the credit with the person the buyer actually listened to.
Commissions, refunds and payouts
You set the rate once for the whole program, and change it for single products or single affiliates when you need to.
- Commission: a percentage, a flat amount per order, or a rate per product. Up to 70% of a sale. An app-wide flat rate is capped at $50.
- Refunds and cancelled orders: the commission is taken back.
- Chargebacks: tracked for stores that use Shopify Payments.
- Payable: 14 days after the order, then you pay from your Affiliateo wallet.
- Cash out: affiliates withdraw to their bank in 101 countries.
A referral program for your Shopify customers
A Shopify referral program works the same way. Your customers become affiliates, get their own link or code, and earn a commission when a friend buys. The reward is paid in money, to their Affiliateo wallet.
You can sign customers up from your own store with a "Become an affiliate" button that calls the Affiliateo API from your server. They get their link and a QR code without leaving your site. Or send them to your program on Affiliateo to join there.
Customer referrals and Shopify affiliate marketing run in the same program, so a customer who tells a friend and a creator with a big following are paid the same way. You can give any affiliate their own commission rate.
Find affiliates for your store
List your program on Discover, the marketplace inside Affiliateo where affiliates and creators look for programs to join. You can also invite people by name, ask for applications and approve each one, or keep the program invite-only.
You can also sign up your best customers as affiliates yourself, since they already know and like your products.
WooCommerce affiliate plugin
Selling on WordPress? Affiliateo works with WooCommerce the same way. Type your shop address in Affiliateo and approve access in the WooCommerce window. WooCommerce sends the keys to Affiliateo for you.
Then install the Affiliateo WordPress plugin: upload it under Plugins > Add New > Upload Plugin, activate it, and paste your app ID under WooCommerce > Settings > Advanced > Affiliateo. The plugin keeps the affiliate's code through checkout and writes it to the order. Coupon codes count here too.
Your store and your app in one program
If you also sell through a mobile app, one Affiliate app can cover your store and your app together. Each affiliate gets one link: phones go to your App Store or Google Play page, or to your store if you prefer, and computers go to your store. An affiliate who drives a store order and an app sale is one affiliate with one balance.
Affiliateo takes 1% of each order an affiliate brought you, on top of the commission you set. Orders through your own Affiliateo link pay the 1% too. Orders with no link pay no Affiliateo fee. Your Shopify fees are separate and do not change.
Questions people ask
- Is this Shopify's own affiliate program?
- No. This is for store owners who want affiliates to sell their products. If you want to earn by sending new merchants to Shopify, this is not it.
- Do I need to change my checkout?
- No. The theme script puts the affiliate's code in the cart, and Shopify carries it to the order. There is nothing to add to checkout.
- Can affiliates use discount codes instead of links?
- Yes. Turn on coupon codes for the program. A buyer who types an affiliate's code at checkout credits that affiliate, even without a link.
- Does it work with headless or Hydrogen stores?
- Yes. The same script works on Online Store 2.0 themes and on headless and Hydrogen storefronts.
- Does it work with WooCommerce?
- Yes. Connect your shop from Affiliateo, install the Affiliateo WordPress plugin, and paste your app ID. Coupon codes work there too.
- When do affiliates get paid?
- Commissions become payable 14 days after the order. You pay them from the Pay tab, and they can withdraw to their bank after a 7-day hold.
Start free on Affiliateo
What Affiliateo takes when money moves, and the plans for apps without affiliates, are all on the fees page.
Updated November 15, 2026