Why are Commissions not Being Tracked?

If you have completed a transaction on your website but the commission was not tracked by Post Affiliate Pro (PAP) and it does not appear in the commissions report, there may be several reasons for this issue. Below are the most common causes and solutions to help you resolve the problem.

1. The software is not integrated with your website, shopping cart, or payment system.

This means you have not inserted the integration code into your sale confirmation (thank you) page, the code is incorrect, or the click tracking code is missing from your landing page.

Solution:
Follow the integration steps for your shopping cart as described at https://postaffiliatepro.com/integration-methods/.

If you believe the integration code is correct and you have followed all steps properly but sales are still not being tracked, consider the following additional reasons:

2. You are trying to track an unreferred sale (a sale made without an initial click on an affiliate banner or link).

Solution:
Before making a test sale, click an affiliate link or banner first, then complete the sale.

Alternatively, if you want to track sales that are not referred by an affiliate, go to Configuration > Tracking Settings and check the field Save unreferred sale/lead. You can then choose the default affiliate who will receive commissions for all unreferred sales.

If you clicked a link but no click is tracked, or a sale is still assigned to the default affiliate, further issues may be present:

3. Click tracking does not work.

Check whether a new click record appears in the raw clicks list after you click an affiliate banner or link. If not, sales cannot be tracked because the necessary cookies are not created.

Solution:
Insert the click tracking code into all landing pages. A landing page is the page where a user is redirected after clicking an affiliate banner or link.

Ensure that one of your active campaigns is set as the default. There should be a "yes" in the 'Default' column for at least one active campaign.

If you are using Post Affiliate Network, ensure that both the click tracking code and sale tracking code use the correct "ACCOUNT ID" in the following line: 
PostAffTracker.setAccountId('default1');
'default1' refers to the network-owner (main merchant) account. Account IDs can be found at Accounts > Accounts Manager > ID column.

If the merchant uses the tracking codes from their merchant panel at Tools > Integration, the correct Account ID is already included.

If clicks are tracked but sales are not (or are assigned to the default affiliate), and you believe all integration codes are inserted correctly, another potential issue may exist:

4. Your thank you page is located on a different domain than the landing page.

This means your banners redirect the user to Domain A, but purchases occur on Domain B. This is not usually a problem, but if IP tracking is not enabled and you use a linking method that does not require click tracking code, the software cannot recognize the affiliate, resulting in no (or unreferred) sale being tracked.

Solution:
Follow the instructions at this page or change the target URL of your banners so they redirect to the domain where the sale is made.

5. The affiliate who should receive a commission is not in the private campaign.

This issue can occur if you set all campaigns as private and did not invite all affiliates. An affiliate could have used a banner when a campaign was not private. After setting it to private, the campaign information may still be stored in cookies.

Solution:
Check if the affiliate expected to receive a commission is invited to any of your campaigns. Also, do not set the default campaign as private; otherwise, sales with no campaign specified will not be tracked.

6. Commissions per sale (or other actions) are not defined or enabled.

Check the commission settings of your campaigns. If no commissions for certain actions are defined, those actions will not be tracked.

Solution:
Enable commissions per sale or other actions. If they are defined, ensure they are activated using the enable button.

7. The transaction has a zero total cost.

By default, the software does not save orders with zero value. If you track actions (for example, leads) that have no total cost, you need to save such orders as well.

Solution:
Use the total cost parameter or check the field Save transaction also for zero orders (Total Cost = 0) located in the commission settings of each campaign.

8. The tracking script has not been uploaded or is corrupted (self-hosted accounts only).

The script that handles tracking may be corrupted or accidentally deleted. Check the directory scripts/ for the files track.php, track.js, and trackjs.php.

Solution:
Run the integrity check at [your PAP URL]/install/check.php. If the result indicates corrupted or missing files, re-upload them. If you have a hosted account on our servers, you do not need to check the installation files.

9. The tracking script failed due to an internal server error.

Sometimes a script causes an internal server error due to incorrect server configuration. The error may not be visible in the usual tracking process. Use the Firebug tool (available for Firefox and Chrome) to enable the Net panel and perform a test click and sale. Requests to track.php, trackjs.php, or track.js that are highlighted in red indicate an error.

Solution:
Request error logs from your web hosting provider. The logs will describe the error and help you identify which server settings need to be changed. You may also contact our support team (attach the error log) for assistance in identifying the incorrect setting.

10. The thank you page is under HTTPS, but the domain where PAP is installed does not have a valid SSL certificate.

If you track sales on a page using HTTPS, but PAP is installed on another domain without SSL, most browsers will block requests that load non-secured content into a secured page.

Solution:
Install an SSL certificate for the domain where you use Post Affiliate Pro or move the Post Affiliate Pro installation to a domain with an SSL certificate.

11. Transactions are processed by cron.

Transactions (clicks, sales, etc.) may not be tracked in real-time but are instead processed with a delay (usually 5–10 minutes, depending on cron execution frequency). Therefore, transactions may not appear immediately in the merchant panel. This is not a problem—tracking by cron reduces server load.

Solution:
No action is necessary. However, if you want to see transactions immediately, go to the merchant panel, navigate to Emails > Mail Outbox > click Send pending mails > Start cron manually. Wait until only one "Visitor log processor" remains in the list, then click Stop cron.

12. You did not refresh the commissions page.

Data may be cached, and the page must be refreshed to display new commissions.

Solution:
You do not need to refresh the entire browser page. Simply click the refresh button within the application or click the search button.

If you have tried all these solutions and the issue persists, please contact our support team for further assistance.

×