Sign Up For An Account


Forgot Passwod?
Login

Subscribe

 
Knowledgebase
General (6)
Supplier (13)
Buyers (1)
FAQs (2)
Knowledgebase: Advertisers
Toubleshooting CPA Tracking
Posted by John D on 16 June 2015 08:09 AM

Troubleshooting CPA Tracking


If you are having trouble recording a sale inside ClickBetter, this page will help you troubleshoot it. If after these steps you are not able to find the problem for your campaign and it's still not recorded inside ClickBetter, please email devsupport@clickbetter.com


=> Pixel Method API Version One

 

If you are using this method and are not able to generate a sale, see if you are doing all of the below:

 

  1. You are first clicking on an affiliate link for your campaign before completing the action to fire the pixel. This should happen as soon as possible, means, the difference between affiliate link click and action completion to fire the pixel should not be more than 24 hours and cookies should not be cleared in between.

  2. You are sending "campid" parameter properly. It has to be a number which is your ClickBetter campaign ID.

  3. You are not sending "cemail" parameter as email of an already existing sale as only one sale per email is allowed.

  4. You have correctly set the allowed IP addresses by editing your campaign. The allowed IP addresses are the IP or list of Ips separated by comma of the server from where the pixel will be fired. This means only pre-whitelisted IPs server can generate a sale for your campaign and not any other spam user.

  5. All paramters are URL encoded. Sometime server from where you are firing pixel might interpret the URL parameters with special chars or spaces as something else which might lead to wrong info being sent.

 

So after double checking above five points, if you are still unable to fix the problem, please contact devsupport@clickbetter.com (only technical integration questions). For any other CPA or vendor help, email info@clickbetter.com or vendors@clickbetter.com

 

=> Pixel Method API Version Two

 

The troubleshooting steps for this method are:

 

  1. Check if you are sending "clickid" correctly, it should be a number which is generated when an affiliate link is clicked and is sent to your campaign landing page URL in which you can just have "xxxclickidxxx" and it will replace the "xxxclickidxxx" with actual click ID value.

  2. Make sure the "clickid" is not already sent earlier more than twice because we allow only two CPA sales per click ID.

  3. You are not sending "cemail" parameter as email of an already existing sale as only one sale per email is allowed.

  4. You have correctly set the allowed IP addresses by editing your campaign. The allowed IP addresses are the IP or list of Ips separated by comma ofthe server from where the pixel will be fired. This means only pre-whitelisted IPs server can generate a sale for your campaign and not any other spam user.

  5. All paramters are URL encoded. Sometime server from where you are firing pixel might interpret the URL parameters with special chars or spaces as something else which might lead to wrong info being sent.

 

So after double checking above five points, if you are still unable to fix the problem, please contact devsupport@clickbetter.com (only technical integration questions). For any other CPA or vendor help, email info@clickbetter.com or vendors@clickbetter.com

 


=> HTTP POST Method For API Verson One

 

Troubleshooting steps for this method are:

 

  1. Make sure you are sending correct "campid", "affiliate" and "secretkey" parameters to the API URL https://clickbetter.com/vipaddapi.php as these three are the required parameters and should be sent as HTTP POST if you are using this tracking method.

    The "campid" is a number which is your ClickBetter campaign ID. The "affiliate" is the valid ClickBetter username of the affiliate for which you wish to generate the CPA sale. And the "secretkey" is a strong password like string which you can set for your campaign while creating or editing it. It can be anything but known only to you which means no one can generate a sale using this method unless they know the secretkey. So make sure you are passing these three parameters properly.
     
  2. You are not sending "cemail" parameter as email of an already existing sale as only one sale per email is allowed.
     
  3. All paramters are are sent to https://clickbetter.com/vipaddapi.php using HTTP POST method and not through GET method by appening paramters to the API URL such as https://clickbetter.com/vipaddapi.php?campid=XXX&affid=xxx&secretkey=xxx which is wrong. You need to send using HTTP POST method which you can do with CURL in PHP or any other method in any of the programming languages.

 

So after double checking above points, if you are still unable to fix the problem, please contact devsupport@clickbetter.com (only technical integration questions). For any other CPA or vendor help, email info@clickbetter.com or vendors@clickbetter.com

 

=> HTTP POST Method API Version TWO

 

Troubleshooting steps for this method are:

 

  1. Make sure you are sending correct "clickid" and "secretkey" parameters to the API URL https://clickbetter.com/vipaddapi.php as these two are the required parameters in this tracking method and should be sent as HTTP POST.

    Check if you are sending "clickid" correctly, it should be a number which is generated when an affiliate link is clicked and is sent to your campaign landing page URL in which you can just have "xxxclickidxxx" and it will replace the "xxxclickidxxx" with actual click ID value.

    And the "secretkey" is a strong password like string which you can set for your campaign while creating or editing it. It can be anything but known only to you which means no one can generate a sale using this method unless they know the secretkey. So make sure you are passing these two parameters properly.

  2. You are not sending "cemail" parameter as email of an already existing sale as only one sale per email is allowed.

  3. Make sure the "clickid" is not already sent earlier more than twice because we allow only two CPA sales per click ID.

  4. All paramters are are sent to https://clickbetter.com/vipaddapi.php using HTTP POST method and not through GET method by appening paramters to the API URL such as https://clickbetter.com/vipaddapi.php?campid=XXX&affid=xxx&secretkey=xxx which is wrong. You need to send using HTTP POST method which you can do with CURL in PHP or any other method in any of the programming languages.

 

So after double checking above points, if you are still unable to fix the problem, please contact devsupport@clickbetter.com (only technical integration questions). For any other CPA or vendor help, email info@clickbetter.com or vendors@clickbetter.com

NOTE: If you need a link which can just be clicked to generate a CPA sale, you can use pixel method but instead of using "img" tag simply use the URL which will be https://clickbetter.com/vip.gif?clickid=xxx OR you can try the GET method below which does not have the IP secure feature but is easy to implement if you are sure of security of your secretekey parameter.


=> HTTP GET Method For API Verson One

Troubleshooting steps for this method are:

 

  1. Make sure you are sending correct "campid", "affiliate" and "secretkey" parameters to the API URL https://clickbetter.com/vipaddapinew.php as these three are the required parameters and should be sent as HTTP GET if you are using this tracking method.

    The "campid" is a number which is your ClickBetter campaign ID. The "affiliate" is the valid ClickBetter username of the affiliate for which you wish to generate the CPA sale. And the "secretkey" is a strong password like string which you can set for your campaign while creating or editing it. It can be anything but known only to you which means no one can generate a sale using this method unless they know the secretkey. So make sure you are passing these three parameters properly.

  2. You are not sending "cemail" parameter as email of an already existing sale as only one sale per email is allowed.

  3. All paramters are are sent to https://clickbetter.com/vipaddapinew.php using HTTP GET method by appening paramters to the API URL such as https://clickbetter.com/vipaddapinew.php?campid=XXX&affid=xxx&secretkey=xxx which is right way.

  4. All paramters are URL encoded. Sometime server from where you are sending GET parameters might interpret the URL parameters with special chars or spaces as something else which might lead to wrong info being sent.

 

So after double checking above points, if you are still unable to fix the problem, please contact devsupport@clickbetter.com (only technical integration questions). For any other CPA or vendor help, email info@clickbetter.com or vendors@clickbetter.com

 

=> HTTP GET Method API Version TWO

 

Troubleshooting steps for this method are:

 

  1. Make sure you are sending correct "clickid" and "secretkey" parameters to the API URL https://clickbetter.com/vipaddapinew.php as these two are the required parameters in this tracking method and should be sent as HTTP GET.

    Check if you are sending "clickid" correctly, it should be a number which is generated when an affiliate link is clicked and is sent to your campaign landing page URL in which you can just have "xxxclickidxxx" and it will replace the "xxxclickidxxx" with actual click ID value.

    And the "secretkey" is a strong password like string which you can set for your campaign while creating or editing it. It can be anything but known only to you which means no one can generate a sale using this method unless they know the secretkey. So make sure you are passing these two parameters properly.

  2. You are not sending "cemail" parameter as email of an already existing sale as only one sale per email is allowed.
     
  3. Make sure the "clickid" is not already sent earlier more than twice because we allow only two CPA sales per click ID.

  4. All paramters are are sent to https://clickbetter.com/vipaddapinew.php using HTTP GET method by appening paramters to the API URL such as https://clickbetter.com/vipaddapinew.php?campid=XXX&affid=xxx&secretkey=xxx which is right way.

  5.  All paramters are URL encoded. Sometime server from where you are sending GET parameters might interpret the URL parameters with special chars or spaces as something else which might lead to wrong info being sent.

 

So after double checking above points, if you are still unable to fix the problem, please contact devsupport@clickbetter.com (only technical integration questions). For any other CPA or vendor help, email info@clickbetter.com or vendors@clickbetter.com