Affiliate marker and additional marker (ID and sub ID)

Affiliate marker (ID)

In the Travelpayouts affiliate network, we use a special affiliate marker (also known as the Affiliate ID) to track clicks, searches and bookings. The marker is written into a cookie file on the user’s computer and stored there for 30 days. Read more about the affiliate program in the article Getting started.

Your marker is in the upper right corner of your affiliate account:


Additional marker (sub ID)

In addition to the primary marker, you can use an additional marker, which is written after the primary marker and separated from it by a dot. An additional marker is a parameter that allows you to track sales separately for each traffic source/tool.

Let’s say you use several different tools in different parts of the website. For example, the search module in the sidebar, links to search for tickets in the articles on the website, a banner in the footer of the website, etc. To get separate statistics for each tool, use an additional marker.

Note! In the name of the additional marker, you can use numbers, letters of the Latin alphabet and the underscore character «_». The maximum length of an additional marker is — 32 characters.

Additional marker in links

When creating a text link, an additional marker can be added to the link using the generation forms in the affiliate’s user account.


Or you can do it manually:, where «sidebar» is the additional marker.

Additional marker in widgets

In the widget design tool, an additional marker is set using a special field. In this case, you need to write in the field only the marker itself, without additional characters.

To add an additional marker to the code of the map widget, change the «&» parameter, where «AffiliateID» is your affiliate marker, and «map» is an additional service marker that is set for the map by default. Put your additional marker there instead of »map».


<iframe src="//;hide_sidebar=true&amp;hide_reformal=true&amp;disable_googlemaps_ui=true&amp;zoom=3&amp;show_filters_icon=true&amp;redirect_on_click=true&amp;small_spinner=true&amp;hide_logo=false&amp;direct=false&amp;lines_type=TpLines&amp;cluster_manager=TpWidgetClusterManager&gt;&lt;strong&gt;marker=16886.aviamap&lt;/strong&gt;&amp;show_tutorial=false&amp;locale=ru&amp;" width="700px" height="240px" frameborder="0" scrolling="no">

Statistics on additional markers (sub ID)

Statistics on additional markers can be viewed in the Reports — Summary. Information can be grouped by markers.


Service markers

Sometimes reports may contain service markers that are used by our services. This should be taken into account when analyzing and processing the results:

  • cal — This is an additional marker indicating that the action (search/click/booking) was made after click through from the calendar of low prices to aso
  • tpsub — Subscription widget
  • tpcalwt — Low price calendar widget
  • _tpform — Widget for our campaigns
  • alert — Subscription from the Aviasales website
  • hotelsmap — Hotel map widget
  • map — Flights map

Was this article helpful?

Have more questions? Submit a request