How to test the affiliate tools

You can quickly and easily check the operation of any affiliate tools provided in your Travelpayouts affiliate dashboard.

In this article, we will look at how to check the availability of your partner ID in the codes of affiliate tools, and how to make sure that the data appears in your statistics when interacting with these tools.

How to check the partner ID in the tool code

The code of any affiliate tool available in the Travelpayouts dashboard always contains a partner ID, which helps our system track and remember which partner attracted the user and who will receive payment from Travelpayouts if the user purchases a travel service.

At the same time, there are situations when you need to make sure that the tool code contains the correct partner ID (for example, if you bought someone else's website or contacted a freelancer to place affiliate tools on your website).

To check the partner ID, open the webpage where the affiliate tools are located. Right-click on the affiliate tool and select Inspect in the drop-down menu (it may have a different name depending on your browser).


A window with the code will open at the bottom of the page.

Find the script code that starts with <script src= " / / tp. media/ , which should be just below the block with the code of the tool that you clicked on.


Find the shmarker parameter in it.


If the parameter contains your partner ID, then everything is fine. If it contains someone else's ID, you need to copy the tool code from your dashboard again and paste it on the webpage using the editor you use to manage the website.

Now you can proceed to check the data input in the statistics.

Checking the flow of data into statistics

We do not prohibit you from clicking on your own links and making purchases through them. Therefore, to check the operation of links and widgets, there are a few steps you should follow.

  • Place an affiliate link on your website, in a social network post, or in the forum signature.
  • Open the affiliate program statistics (from the link you posted) in your affiliate dashboard. Remember the values in the table.

  • Click on the link. You should have the travel brand's website open, and there should be no error messages.
  • Refresh the statistics page in your affiliate dashboard (information on the click will appear in the report in less than a minute). In the Clicks column, the numerical value will increase.

By performing the above steps, you can check the operability of any tool.

If the values in the statistics do not change, carefully check the placement of the tool.

The support team can also help you solve this problem. Just send a partner ID (a link to a page with a dysfunctional tool) and describe the issue in detail to our technical support specialists.