All Collections
Integrations
Troubleshooting
How do I test if the tracking via JS codes was installed correctly?
How do I test if the tracking via JS codes was installed correctly?
David Rolenc avatar
Written by David Rolenc
Updated over a week ago

We highly recommend testing everything from the point of your affiliate before you fully launch your affiliate program. First thing to test is a click, to make sure that the trackdesk's tracking script was installed on your website correctly.

How to test if the clicks are set up properly?

Make sure that the Click script presented to you in the guides is correctly added on all Landing pages of your website.

click.png

Next you will navigate to the Offer list > button Get link to take the Tracking link for a test affiliate.

Offer list - get link.png

Next select an affiliate on for which you would like to do the test and a landing page you would like to test.

Then Copy the URL that was shown to you.

affiliate tracking new.png

Open the URL and after that check Click report if a new click was added.

click report.png

Troubleshooting of clicks not being present

If click didn't show up there are multiple situations that might be the cause.

Click script not being present

One cause might be that Click script was added on incorrect place. Check if Click script is present on the page.

Click script not correctly added

Another cause might be that Click script was added on the correct place, but it was not copied whole correctly, e.g. part of it was not added.

Click was already created moments ago

If you tested a click moments before (in range of one hour), then a new click won't be created as you will receive "the same click".

If you want to make another test of a new click immediately instead of waiting, you can visit the tracking link via different browser or from a different IP address.

How to test if the conversions are set up properly?

Make sure that the correct Conversion script presented to you in the guides is correctly added on the Thank you page, or any othe page that is supposed to generate conversions.

conversion code.png

Next upon completing the flow in the section above for clicks, navigate to the page mentioned in the previous step.

If Conversions script is correctly present and all information are added correctly then a record will be added to the Conversion report.

conversion report.png

Troubleshooting of conversions not being present

If conversions didn't show up there are multiple situations that might be the cause.

Conversions script not being present

One cause might be that Conversions script was added on incorrect place. Check if Conversion script is present on the page.

Conversion script not correctly added

Another cause might be that Conversion script was added on the correct place, but it was not copied whole correctly, e.g. part of it was not added.

Check the Conversion error log

If Conversion script is correctly added to the page, then most of the errors that can happen will be present in the Conversion error log.

conversion error logs.png
  • Source disabled error means, that affiliate you selected has disabled traffic status

    aff status.png
  • Conversion limit reached means. that this offer has limited conversions

    conversion limit.png
  • Missing conversion amount means the conversion script is missing the amount added to it, conversion types set to percentage need to have an amount from which the commission is counted

    percentage.png

  • Conversion type not found means, that you have wrong name of conversionType in the code

  • Pricing for conversion type not configured means that you are using pricing groups for specific countries and the countrie that visitor visited from is not set.

  • Conversion already exists relates to parameter External ID on conversions, this parameter is unique and can be present only on one conversion, which means if there are tries to create another conversion with a same External ID, it will fail to create the conversion

Did this answer your question?