Home > Post Affiliate Pro > Troubleshooting > How to debug tracking > Integration check (clicks, sales)

Integration check (clicks, sales)

Prior to making any test sale, you should clear your browser's cookies and cache and also the flash cookies. The flash cookies can be cleared at the following link:

Now proceed to the test.

1.) Login to your merchant panel and enable debugging at Start -> Configuration -> Event Logging - and enable clicks and sales/leads.
Then go to Tools -> Event logs and clear all previous logs if there were any.

2.) Login as your affiliate [[in your merchant panel navigate to Start -> Affiliates -> Affiliates manager -> click edit next to any affiliate (pencil icon on the right) -> in the upper right corner click "Login to affiliate panel".  If the affiliate panel does not show up, check if your browser blocked a pop-up and if it did, then allow the PopUp and click the "Login to affiliate panel"  again]] and use his general affiliate link (or create a page with the affiliate's banner) to track the click by the click tracking code.

3.) Check if click is saved.

NOTE: In case you happen to have the cron job running in Post Affiliate Pro (all the installations hosted by us do have a cron job running), then the transactions appear with a few minutes of latency after the cron job ran 2x after the particular transaction (click, sale/lead).
To speed things up, navigate in the merchant panel to Emails > Mail outbox > click "Send pending mails" > Start cron manually. Wait till only  1 "Visitor log processor" remains in the list and click "Stop cron".
To check if click is saved navigate in the merchant panel to: Start -> Transactions -> Raw clicks and hit 'Search' to refresh the grid. If there is no click tracked, then something is wrong. Go to Event logs and check what has happened. If you can't find a reason why the click was not tracked, please check this: 
Debug Click tracking

4.) If click is recorded then clear the Event logs again and process the sale. Be sure the right sale tracking code is inserted in the "thank you page" or that you have chosen the correct integration method.
In case of Post Affiliate Network make sure, that both the click tracking code and Sale tracking code have the same 'account id' in the
PostAffTracker.setAccountId('default1');
line, while the 'default1'  is the id of the default merchant account (network owner account). In Post Affiliate Pro it is always 'default1'.

5.) When you are at the "thank you page" view it's source code by pressing CTRL+U key combination (works in most browser) OR in google chrome right-click the page and choose "Inspect element"  and check if the  sale tracking code is present - if the sale tracking code is present and the integration is correct, the placeholders (variables for TotalCost, Order ID, Product IDshould be replaced by real values).

NOTE: some shopping carts/payment gateways may integrate other way than via the thank you page and that way you won't see a sale tracking code in the source code of the thank you page.
NOTE2: In case you happen to have the cron job running in Post Affiliate Pro (all the installations hosted by us do have a cron job running), then the transactions appear with a few minutes of latency after the cron job ran 2x after the particular transaction (click, sale/lead).
To speed things up, navigate in the merchant panel to Emails > Mail outbox > click "Send pending mails" > Start cron manually. Wait till only  1 "Visitor log processor" remains in the list and click "Stop cron".

Check in the  merchant panel if the sale was tracked - navigate to: Start -> Transactions -> Commissions. If the sale is not registered, check the Event logs. If you can't see the reason try this: Debug Sales tracking (or this for PayPal buttons).
Quality Unit's products

LiveAgent

LiveAgent integrates live chat software and help desk software features into a single customer support solution.

Try it free

Post Affiliate Pro

Post Affiliate Pro is a full featured affiliate tracking software ready to power your own affiliate program.

Buy Now