Dynamic parameters

URL syntax

What is the URL?

Uniform Resource Locator (URL), also known as web address is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it.

The general form of this syntax is as follows:


The elements of this syntax are as follows:

  • <protocol> Hypertext Transfer Protocol (https/http)
  • <hostname> An Internet host: by default RedTrack.io uses the service domain rdtk.io. You can change it manually to your custom tracking domain and/or select default.
  • <pathname> A resource location path. This is usually a full directory path. For example, if on a device there is a directory called “project” and within it, a subdirectory called “external” containing a text file called “new_plan.txt”, the URL path “project/externa/new_plan.txt” would refer to that resource.

Note! The slash before the <url-path> is required, and while it is technically not considered part of the path, it serves the purpose of “acting” like the slash denoting the root directory in many file systems. Also, the <url-path> may end in a slash, which means that the path refers specifically to a directory.

  • <query> An optional query or other information to be passed to the server when the resource is accessed. In our case, it is an additional parameter(s) for the tracking containing RedTrack and network macros: sub1={sub1}. These macros should be united with “=”. If there are several parameters, they need to be separated with “&” symbol: sub1={sub1}&country={country}. Is not an obligatory parameter and can be skipped if its usage is not required.

Important: this part should be obligatorily divided from the previous part of the URL with “?” symbol – that means that the main link part is ended and additional parameters will be applied further.

The scheme below illustrates this common syntax and its elements using an example the https URL:

  • <hash> – placeholders for unique parameters. For example #s2# in postback settings for MaxBounty network:

We advise passing RedTrack {clickid} to a relevant affiliate network macro to enable conversion tracking when creating a new Offer.

Offer template is the following:


Postback template looks the following way:


Where partner_macro from the offer template equals {partner_macro} from a postback template.

Related Articles