Website API

The Website endpoint let’s you retrieve all your websites.

GET: https://api.wecantrack.com/api/v1/websites
Request
Header
Content-Type: application/json
Parameters
Parameter
Data Type
Required
Description
id

Integer

Optional

Website ID

url

String

Optional

Website URL

Response
Header
Content-Type: application/json
200 Body - OK

Response Example

				
					{
    "affiliate_url" : "https%3A%2F%2Fwww.awin1.com%2Fcread.php%3Fawinmid%3DXXXX%26awinaffid%3DXXXXX%26clickref%3DXXXXX",
    "clickout_url" : "https%3A%2F%2Fexample.com%2Fpage",
    "_ga" : "GA1.2.XXXXXX.XXXXXX",
    "_wctrck" : "9jInZ4YnZuZlPjx...",
    "metadata" : {
      "deal_id" : 123,
      "deal_title" : "title",
      "anything" : "anything"
    },
    "custom_index_1" : "index1",
    "custom_index_2" : "index2",
    "user_click_reference" : "CLICK_ID_1234"
}