Comment on page
Other integrations
Settings > Integration
To allow our system to track affiliates' performances on websites that are not built on Shopify (WordPress, Shopify buy button, etc.), you need to embed the Third-party integration code on those pages.
First of all, you'll need to create an Empty page on your Shopify Themes to trace tracking from UpPromote. Please follow these steps to create Empty page:
- 1.Go to Shopify Admin > Online store > Themes > locate current theme > Edit code > click Add a new template under Templates folder

- 2.Add liquid/JSON file to Themes. The file type will depends on the Themes version you're using.
a. If you are using Themes ver 1.0: Click Add a new template under Templates folder.

Next, select page from the dropdown list Select a template to create > choose liquid > input sca-affiliate-empty in File name field > click Done.

After creating, kindly paste these codes in the content area and Save changes:
{% layout none %} {{ content_for_header }}

b. If you are using Themes ver 2.0: scroll down to find Sections folder > Add a new section > choose liquid > input sca-affiliate-empty in File name field > click Done.


After creating, kindly paste these codes in the content area and Save changes:
{% layout none %} {{ content_for_header }}

Next, scroll up to find Templates folder (still on Themes code editor) > Add a new template > select page from the dropdown list Select a template to create > choose JSON > input sca-affiliate-empty in File name field > click Done.

After creating, kindly paste these codes in the content area and Save changes:
{
"sections": {
"affiliate-empty": {
"type": "sca-affiliate-empty",
"settings": {
}
}
},
"order": [
"affiliate-empty"
]
}

- 3.Go back to Online store > Pages > Add page > name it Sca Affiliate Empty Page > select Theme template as sca-affiliate-empty > Save.

- 4.Get UpPromote's Third-party tracking code. In order to retrieve it, go to Settings > Integration > Third-party integration > Setup.

Then copy the Third Party Tracking code in the popup window and embed it on the site you wish to track affiliates on.

If you are using a WordPress website, follow this document to learn how to add the integration code: https://www.ostraining.com/blog/wordpress/custom-js/
If you are using other platforms, please ask your developer to add the integration code to allow our script to be loaded.
In case you want to change the affiliate links to direct to your third-party website, you can edit the Default affiliate link on Settings > Affiliate link & coupon > Default affiliate link.

For developing your own custom integration with UpPromote, you can create an API key by going to Settings > Integration > API > Create API Key.

Last modified 11d ago