Setup your Shopify affiliate marketing program.
Shopify is the best-selling SaaS e-commerce platform in the world! It is used by several million merchants to sell their products.
This is an all-in-one software, reliable with many useful features, a marketplace, tailor-made themes and 5-star customer support.
If creating your online store with Shopify is simple, generating traffic to it may be random. That’s why our guide to onboarding your Shopify affiliate marketing program is here to help.
On our side, Affilae is an affiliate marketing software, helping marketers growth their online businesses with the right affiliate and influencer partnerships.
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.
3. Special cases :
a. Integration via Recharge
If you need to set tracking via Recharge, you’ll need to integrate a specific script.
In the section dedicated to Recharge, please insert the following script :
b. Integration via GetJust
If you use the “GetJust” solution, you’ll need to integrate a specific script.
Please integrate the following script :
➜ In this code, you only need to replace the YOUR.KEY variable with the conversion code key found in the “configuration” menu, then “tracking” and “integrations with an Affilae module” in your Affilae program.
To go further, see Shopify docs.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article