Guide for affiliate

Integration

Third party Integration

In order to allow our system track affiliate performance on pages that are not built on Shopify (Wordpress, Shopify buy button,...), merchant needs to embed the Third party integration code on those pages.

In case you do not have those kinds of pages, you should ignore this section.

To get integration code, go to Settings => Integration => copy the Third Party Tracking code and embed it on the pages you want to check.

If you are using pages on Wordpress, follow this document to know 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 can be loaded.

Recharge Integration

In case you are using Recharge payment in your shop, click connect to integrate with Recharge. Or else, ignore this section.

Then you will need to confirm your integration:

Klaviyo Integration

In order to connect with Klaviyo you need to get the Klaviyo API of your Klaviyo account.

1. Log in or sign up your Klaviyo account HERE

2. Create your list

On Dashboard, click on Lists and Segments to add a new list

Create a new list and enter list name

3. Get the Klaviyo API Keys

Go to the top right of the screen, click on Account

On Settings tab, click to choose API Keys

In case you haven't create a new API key on your account, then create a new one:

Copy the API keys and paste to Affiliate Marketing app by Secomapp, choose the List you've just created and click Save and Sync to complete the setup.

Order tag

You are able to create a tag for every referral orders tracked by our system, this feature could be used for analyzing and supporting third party integration.

To create order tag, click on Settings => Integration => Order tag => Set up

Plus, you can add variable {affiliate_id} on the tag to determine order from a specific affiliate using Affiliate ID.

Upon analyzing, you can filter your referral order with tag on Order section on your Shopify admin

Postback URL

What is postback URL?

Postbacks, in general, are URLs that are used to pass information about conversion. They are sometimes also called callbacks, server-to-server (S2S) or cookie-less conversion tracking. Postbacks allow servers to communicate with each other directly. A client is not involved, no cookies are used on a visitor’s computer. Once activated by a source platform (an affiliate network or tracker), these links send information to the target platform (a tracker or traffic source) in a blink of an eye.

In short, Postback URL refers to the process of getting notified about a conversion event via a third-party server.

Enabling Postback URL within the app, you allows your affiliate to enter their postback URL with parameters so the required information will be sent to their third-party server.

A postback URL template looks like:

https://domain.test?affiliate_id={affiliate_id}&program_id={program_id}&sca_source={sca_source}&order_id={order_id}&total_sales={total_sales}&total_commission={total_commission}

To enable this integration, visit Settings => Integration => Postback URL, then turn on the feature.