Affiliate Link Generator Use & Setup Guide

After you have created your wecantrack account and subscribed to our Medium Affiliate price plan or above, you will be able to make use of our Affiliate Link Generator. You will be able to easily generate your affiliate links within our interface or via API. The following networks are currently supported:

Requirements

How to set up the link generator

  • For most networks you merely need to make sure that you have connected the relevant network accounts to our system (under Data Sources > Affiliate Networks)
  • For Bol.com and Amazon you will need to define your site IDs within the network connector under the Sites tab.

How to use the affiliate link generator

  • Go to Tools > Affiliate Link Generator
  • Simply insert the landing page URL of the partner you want to promote
  • You will then receive a list of available affiliate links
  • Please test the links prior to using them

Affiliate Link Generator API

POST:  https://api.wecantrack.com/api/v1/affiliate/generate-link

Authorization

An API key is required for each call. You can find your API key here. The API key can be sent in the query string: https://api.wecantrack.com/api/v1/affiliate/generate-link?api_key=abcdef12345 or through the header X-API-Key: abcdef12345

Request
Header
Content-Type: application/json
Body Parameters
  • landing_page_url
  • sub_id_1
  • sub_id_2
  • sub_id_3
Body Example
				
					{
	"landing_page_url" : "https://www.dreamland.be/e/nl/dl",
    "sub_id_2" : "example subid2"
}
				
			
Response
Response Example
				
					{
    "links": [
        {
            "affiliate_url": "https://www.awin1.com/awclick.php?mid=16159&id=111111&clickref2=example%20subid2&p=https%3A%2F%2Fwww.dreamland.be%2Fe%2Fnl%2Fdl",
            "network_id": "awin",
            "user_network_account_id": 1,
            "user_network_account_name": "AWIN NW Acc",
            "network_advertiser_id": "16159",
            "network_advertiser_offer_id": null,
            "voucher_code": null,
            "start_date": null,
            "end_date": null,
            "country_codes": null,
            "currency_codes": null,
            "network_advertiser_name": "DreamLand BE",
            "allows_deeplinking": null
        }
    ]
}