Okay
  Print

How to place a postback pixel

A postback pixel is a URL where data is passed back to a 3rd party server using cURL, secure cURL, an HTTP Post, or some other type of automated server-to-server communication method. Postback pixels allow for accurate tracking and reconciliation of stats.

BuyGoods supports the use of postback pixels. To place a postback pixel click on Setup:



Next, click on Affiliates:


Click on the affiliate you want to add the postback pixel for. It will be highlighted in blue.


Next, click on Postback Pixels:


Next, click on Add:

The last step is to place the postback pixel that is desired and to replace the parameters with the following:

You can use the following dynamic variables:

{SUBID} = SubID used when referring this visitor

{SUBID2} = SubID2 used when referring this visitor

{SUBID3} = SubID3 used when referring this visitor

{SUBID4} = SubID4 used when referring this visitor

{SUBID5} = SubID5 used when referring this visitor

{ORDERID} = Unique order ID

{PRODUCT_CODENAME} = Product code associated with this purchase

{COMMISSION_AMOUNT} = Commission amount

For example: http://mydomain.com/postbackscript?subid={SUBID}&orderid={ORDERID}&amount={COMMISSION_AMOUNT}&product={PRODUCT_CODENAME}

Important: Make sure your script echos something upon successful completion. If we receive no output from your script, we will assume it failed and keep calling it again and again.

Remember to click Save when completed.