Affilae is an affiliate marketing software, helping marketers growth their online businesses with the right affiliates partnerships.
Create & run your own affiliate marketing program based on multiple commission scheme – today!
Setup your Shopify affiliate program with Affilae
Well done! You’ve created your new affiliate program. Now you’ve to set up tracking scripts to check if your affiliate sales are taken into account.
To install the tracking scripts for your Shopify affiliate program, follow these steps:
➜ If you are using redirect tracking, go to step 2.
① Track clicks from your partners
This script must be placed on all pages in the<body>
tag.
In Shopify, go to the admin and click:
- ” Online store “ menu
- Then, on ” Action “ button
- And on ” Edit HTML / CSS “
Then select the theme.liquid
file in the tree and add the following code in the <body>
tag.
➜ Caution! This script is an example, you must replace PROGRAM_ID by the program_id available in your program “configuration”, “tracking” then “integration with an Affilae plugin”.
② Track sales
Go to Shopify admin and click in:
- ” Settings “ menu
- And ” Checkout “
Locate the “Additional content & scripts” field and copy and paste the following code:
➜ You only need to replace the value YOUR.KEY with the key of the conversion code found in your Affilae account: go to the “configuration” menu, “tracking” and then find your key in the “integration with an Affilae plugin” part.
To go further, see Shopify docs.
Now, you have to test a conversion before starting – follow our guideline: Test tracking.
Need help? Contact us!