Affiliate Campaign



It can sometimes be difficult to clearly record, calculate and distribute any share in profits for a promotional partner during a referral campaign. SHOPLINE's Affiliate Campaign feature allows you to create a unique referral link, which partners and merchants can both use to track campaign performance and metrics, allowing for easy calculation of affiliate rewards.


*You will need the Affiliate Campaign app to use this feature. This can be found be going to [Apps] > [Apps Store] in SHOPLINE Admin. 


This article will cover the following: 


1. How to setup an Affiliate Campaign

Step 1: Check your plan 

In the upper right corner of SHOPLINE Admin, go to ["Hello, OOO"] > ["My Subscription & Billing"] to view your store's plans and modules.

  1. If you see the screen below, with the headings "Plans" and "Modules" in the "Modules" section, please confirm whether your store has the "Promotions" module. If so, you can skip to Step 2: Create an Affiliate Campaign  EN_Step1-1.png
  2. If you see the screen as below, the "Plan" in the "Current Plan" is Basic, Advanced, Premium, O2O, or Enterprise. Please confirm whether your store has a "Premium/O2O/Enterprise".
    If so, please got to [Apps] > [Apps Store] and install "Affiliate Campaign". 

Step 2: Create an Affiliate Campaign

In SHOPLINE Admin, go to [Promotions & Reward] > [Affiliate Campaign]. Click on [Add] in the top right-hand corner to add a new Affiliate Campaign. 



Step 3: Enter campaign name 

The campaign name entered here is for internal use in SHOPLINE Admin only, and will not appear on your storefront. After entering the campaign name, click [Continue]. 



Step 4: Setup Campaign Condition & Reward

1. Condition

Enter the conditions that will trigger a reward (i.e. when the subtotal of an order goes over the "Condition" threshold, an affiliate will receive an "Order Reward"). Example: When the Total Order* amount is greater than $ ___** 

*The Total Order amount is equal to the subtotal amount (order amount minus any discounts, shipping, and additional fees). 

**You must enter a figure greater than zero. 

2. Order Reward

Enter the reward an affiliate will receive when the condition is met. There are three types of reward:

  • No reward: Selecting this option will mean an affiliate will not receive a reward for orders made via a referral URL.
  • Percent of sale: When the order subtotal amount (=total order amount - shipping fee - additional fee) matches with / exceeds the spending amount you set in "Condition", the reward will be calculated by a percentage based on the subtotal amount. For example, if the percent of the sale is set as "5",  the reward of a referral order would be 5% of the subtotal amount.
    *The percent of sales must be set as numbers between 1-99. 
  • Fixed amount per sale: When the order subtotal amount (=total order amount - shipping fee - additional fee) matches/exceeds the spending amount you set in "Condition", a fixed amount of reward would be given to the promoter. For example, if the fixed amount per sale is set as "100",  the reward of a referral order would be $100, regardless of how much the order subtotal amount is.  *You must enter a figure greater than zero.

Once you have filled in required fields in Condition & Reward, click [Continue].  EN_1_step3.png


Step 5: Set customer discount 


No Discount: Customer will not get any discount on purchases made using an Affiliate Link/Affiliate Code

Apply Promotion: Select a promotion for the Affiliate Campaign. Customers will then get this discount when they make a purchase using an Affiliate Link/Affiliate Code. If you don't have a promotion already set up, you can do so in SHOPLINE Admin by going to [Promotions & Rewards] and setting up a campaign of your choice. When setting up a promotion, free shipping, or bundle price campaign, check off [For Affiliate Campaign Only] to use it as part of an Affiliate Campaign. For more details, please see: Promotions 




Step 6: Setup Affiliate link and Valid Period

6.1: Affiliate Link

The Affiliate Code entered here will be added to the end of your store's URL create a unique Affiliate Link. Merchants can then copy and share this link with campaign partners.  

Please note: The Affiliate Code must be composed of a mixture of lowercase characters and numbers, for example: youtuber01 

To ensure the link is recognized by a customer's browser, you cannot include Chinese characters, spaces, or any symbols ( _ * ? # $ ^ - ( ) = + % &), etc.) as part of an Affiliate Code. 

The settings for an Affiliate Link are different compared to Promotions/Free Shipping. As the Affiliate Code is used to create a unique URL, each campaign partner must use a separate affiliate link. For example: youtuber01, youtuber02. 

If you wish to create an Affiliate Link that includes custom products, categories, and other non-storefront pages, you can do so by adding the Affiliate Code to the end of a specific page's URL. For example, if your Affiliate Link is, and you want to create a campaign link that redirects to, you can add the Affiliate Code (?sl-ref=test123) to the end of the product's URL: This allows campaign partners to share links for specific products, and track campaign performance.

If a customer accesses your store using an Affiliate Link then enters an Express Checkout Page, this order will not count toward the calculation of the Affiliate Reward total. If you wish to include an Express Checkout Page in an Affiliate Reward Campaign, please manually add the Affiliate Code to the end of the Express Checkout Page's URL. 


6.2: Valid Period

Our Valid Period setting will show a calendar for you to choose the start and end date as well as the time, it will be by hours, so please do not input a date or time at that field.

*Event start and end time will based on the origin of country/region that you have chosen for your online shop, if you are doing an offer at other country/region, then you need to refer to the specific local time.


6.3: (Coming soon) Affiliate Reward Rules 

Enter a description of campaign reward rules (this field is optional), such as the date Affiliate Rewards are calculated/disbursed, or the percentage/fixed amount reward per order. Promotional partners bound to the campaign will be able to view this information on the reports page of the KOL Partner Platform. For more examples, see below:

  • On the 10th of each month, the Affiliate Reward will be calculated based on valid orders from the previous month. 
  • If an order has been edited, the order amount after it is edited will act as the basis for the amount. 
  • If an order is split, the reward will be calculated according to the parent order amount. 

Once you have completed the set up, click [Preview] to view a summary of the campaign.



Step 7: Confirm campaign settings

After checking your settings and making sure there are no mistakes on the preview page, click on [Publish this Campaign] in the bottom right-hand corner to finish creating your campaign. You can see a full list of created campaigns in [Promotions & Campaigns] > [Affiliate Campaign]. 


You can copy the campaign's Affiliate Link on the preview page, or from the list of campaigns in [Promotions & Campaigns] > [Affiliate Campaign] by clicking on the link icon next to a campaign entry (see image below): 



2. How to check campaign performance

After providing a campaign partner with the Affiliate Link, when a customer uses this Affiliate Link to make a purchase on your store, this order will be recorded the Affiliate Performance Center. Partners will also be able to view a record of Affiliate Reward totals. For a more detailed guide on inviting a partner to use Affiliate Performance Center, please see this FAQ. 


Step 1: Choose usage record

Go to [Promotions & Reward] > [Affiliate Campaign] and click the [Usage Record] button next to a campaign entry.



Step 2: Check Affiliate Reward totals

If an Affiliate Campaign had been set up to include a reward, the "Affiliate Reward" field will be displayed regardless of order/payment status. After crosschecking the Affiliate Reward against actual totals, the Affiliate Reward will be calculated according to the final order amount. 

*Please note: "Total" is equal to the final order amount once discounts, member points, and store credits are deducted. 


Step 3: Export Usage Record Report

If you wish to export the record for Affiliate Campaign, you may click on [Export]. The report will be sent to whomever is currently logged in to SHOPLINE Admin. You can also download it at a later date in [Report & Analytics] > [Bulk Action Process].  EN_2_step3.png



3. Notes 

  • If an order is edited by a merchant after it is created, the Affiliate Reward total will also be updated accordingly to reflect any changes. 
  • If an order is split by a merchant after it is created, the Affiliate Reward total updated and calculated according to the parent order total. 
  • If the Affiliate Reward column displays "No reward", this indicates that the campaign has been set up not to provide a reward. If field is blank, this indicates that the campaign has been set up to include a reward, but that the payment for an order has yet to be completed. 
  • The timezone for start and end time for a campaign will be based store's country/region, which can be set in SHOPLINE Admin. Merchants with cross-border operations should pay particular attention to any time differences when publicizing the details of a campaign. 
  • After a customer uses an Affiliate Link to access your store and/or enters an affiliate code, the browser will record a tracking code for this particular affiliate campaign. The tracking code will be deleted and the Affiliate Campaign-based purchase/checkout will be terminated under the following conditions: 
      1. Cart is idle for more than 180 days.
      2. Customer clears browser's cache is
      3. Customer logs out of the store 
      4. Checkout process is completed in full



Further reading: 

Affiliate Performance Center for KOL 





Have more questions? Submit a request