1. Home
  2. Affiliate Systems
  3. How can I setup a postback with LinkClicky?

How can I setup a postback with LinkClicky?

The best method to set up an affiliate system is via their API. APIs are a more reliable method to retrieve affiliate conversions.

Unfortunately, some affiliate systems do not have an API as an option. They may offer an older method in affiliate marketing called a postback.

APIs are polled on a scheduled basis (i.e., every hour), whereas a postback is pushed and sent at the time of the event.

Here’s the info on setting up an affiliate postback with LinkClicky.

The postback can use HTTP GET or HTTP POST to submit an event. To avoid security or URL size limits, it is recommended to use HTTP POST. The data should be formatted as application/x-www-form-urlencoded.

Postback Variables

  • trackid – The unique tracking ID that was sent to the merchant at the time of click.
  • com – The commission for the event
  • sessionid (optional) – The session ID, if available for the device that created the click.
  • val (optional) – The sale amount of the event
  • time (optional) – The time the event occurred in Unix timestamp format.
  • type (optional) – The type of event you are recording. It can be one of the following events:
    • checkout – The visitor started the checkout to purchase the product
    • addcart – The visitor has added an item to the shopping cart
    • signup – The visitor has signed up to a mailing list.
    • lead – An event that has a zero amount of commission. (see What are Lead Events?)
    • conversion (default) – A sale has occurred.
    • chargeback – A chargeback of a conversion
    • event1 – event5 – custom events that can be used for any purpose
  • e00 – e19 (optional) – Custom fields for storing at the time of the event

Replace [YOURLINKCLICKYDOMAIN] with the URL of your specific LinkClicky installation.

https://[YOURLINKCLICKYDOMAIN]/link/event/?trackid={{sub_id}}&val=0&com={{payout}}

Example Postbacks

The examples below are using HTTP GET for postbacks. Depending on the affiliate system, the variable names and format will vary from system to system. Contact your affiliate account manager for the proper postback format.

For better documentation of LinkClicky, please submit the format needed for any affiliate system we currently do not list.

Keep in mind the postbacks below are only examples. You may want to adjust if you want to capture additional information.

BrandEventExample Postback
Augustaleadhttps://[YOURLINKCLICKYDOMAIN]/link/event/?type=lead&trackid={{sub_id}}&val=0&com={{payout}}
Augustaqualified leadhttps://[YOURLINKCLICKYDOMAIN]/link/event/?type=commission&trackid={{sub_id}}&val=0&com={{payout}}
Augustaconversionhttps://[YOURLINKCLICKYDOMAIN]/link/event/?type=commission&trackid={{sub_id}}&val=0&com={{payout}}
Freecashconversionhttps://[YOURLINKCLICKYDOMAIN]/link/event/?trackid={{click_id}}&com={{payout}}
FirstPromoterleadhttps://[YOURLINKCLICKYDOMAIN]/link/event/?type=lead&trackid={{visitor.sub_id}}
FirstPromoterconversionhttps://[YOURLINKCLICKYDOMAIN]/link/event/?type=commission&trackid={{visitor.sub_id}}&com={{reward.amount | divided_by: 100.0}}&val={{reward.conversion_amount | divided_by: 100.0}}
Webullconversionhttps://[YOURLINKCLICKYDOMAIN]/link/event/?trackid={{bdid}}&com=0
Updated on February 12, 2025
Was this article helpful?

Related Articles