Log in

Tracking link parameters

Use parameters to get additional information about the source of traffic on the tracking link.

Parameters are specified in the key=value format and are separated from each other by &. Parameters can be assigned fixed values or macros, which are needed to replace parameter values and dynamically fill the data.

SubID parameters

With SubID in tracking links, you can add additional details on advertising campaigns to the standard hierarchy Partner → Campaign → Tracking Link. Using SubIDs gives you some advantages:

  • there is no need to start a separate campaign for each traffic source, it's enough to specify details via SubID;
  • detailed stats can be generated for each campaign, there are 10 levels of data detail;
  • the analysis of each level allows you to thoroughly assess the quality of traffic and optimize the campaign by increasing/decreasing the use of individual sources (for example, a specific ad network or an ad set).

For example, you want to place several partner links to your t-shirt store. To understand which t-shirt your subscribers will be interested in, add SubID with brand names to the links. Then you can filter the data by SubID in the Report builder , see the number of clicks and understand which brands attract potential customers.

MyTracker supports up to 10 SubID entries:

  • mt_network
  • mt_campaign
  • mt_adset
  • mt_creative
  • mt_medium
  • mt_sub1, mt_sub2, mt_sub3, mt_sub4, mt_sub5

We recommend using named SubIDs according to their names (for networks, campaigns, ad sets, and creatives), and using numbered SubIDs only if 5 levels of detail are not sufficient.

For campaigns created from UTM tags, SubIDs are automatically filled in according to the received UTM tags:

  • utm_campaignmt_campaign
  • utm_sourcemt_network
  • utm_contentmt_creative
  • utm_termmt_adset
  • utm_mediummt_medium

Macros

Macros allow you to avoid manually entering parameter values for each link. When the tracking link is triggered, the advertising platform will substitute the actual parameter value instead of the macro.

For example, when using such a link in VK Ads:
https://trk.mail.ru/c/a12345/?mt_adset={{campaign_name}}
the name of the ad group will be substituted instead of {{campaign_name}}.

The list and type of macros for each advertising network is usually different from the others, and not all platforms can support them. The current list of macros is located on the Partner integration page on the Macros tab.

For integrated partners (indicated by the symbol ), parameters are configured by default and are automatically added to the created tracking links.

Correspondence of SubID parameters and integrated partner macros:

SubID parameter Examples of different integrated partners Yandex Direct Bidease Vungle Hybe
mt_campaign Campaign name or equivalent {campaign_name} {{.CampaignTitle}} {{{campaign_name}}}
mt_adset Intermediate level of hierarchy between campaign and ad/creative. For example: name of ad group, segment, placement format {keyword} {{.CreativeType}} {creative_type}
mt_creative Ad/creative title or keywords for text ads {{{creative}}}
mt_network Additional division of the traffic source within the partner. For example, Placement, Network, Exchange, SSP {source_type} {{.Exchange}} {ssp}
mt_sub1 Display/click location, if available (for example, bandle, app name or website) {source} {{.AppBundle}} {{{pub_app_market_id}}} {bundle_id}
mt_sub2 Additional ad space macro {{{site_name}}} {pub_id}
mt_sub3 Creative/ad ID {ad_id} {{.CreativeHash}} {{{creative_id}}} {ad_id}
mt_sub4 Ad group/segment ID or other additional identifiers {gbid} {id_ssp}
mt_sub5 Campaign ID {campaign_id} {campaign_id}

You can change the parameter values in tracking links, but for the following partners you must leave mt_sub5 unchanged to collect stats from advertising accounts:

If you need to add macros to already integrated partners, contact our support team.

For new partners that you connected yourself, you can set up templates with macros. For more details, see the Partner macros section.

Service parameters

Additional parameters that can be passed in links:

  • For attribution of traffic from advertising networks — mt_idfa и mt_gaid.
  • For partners who use links in the client-side, no redirect mode — mt_no_redirect, in the server-side, no redirect (s2s) mode — mt_s2s, mt_device_ip, mt_device_ua, mt_ts.
  • To pass the cost of campaigns — mt_cost_currency, mt_cost_value, mt_cost_count, mt_cost_model. For more details, see Campaign cost > Tracking links.

Other service parameters that may be useful to advertisers:

Parameter Description
mt_fallback The address to which a user with an unsupported platform will be redirected. This parameter is for mobile applications only.

For example, if the smart link supports only iOS, then in case of switching from an Android device, the user will be redirected to the URL specified in the parameter. The parameter takes precedence over the Fallback URL added when creating the tracking link, which allows you not to restart it if you need to change the URL.

Important: Only the full fallback can be passed in this link. Templating is not supported. Only the following characters can be used in the unpacked parameter: -0-9a-zA-Z:/_?&=%+#.
mt_deeplink Deferred deep link. This parameter is for mobile applications only.

If the parameter is passed, it takes precedence over the deep link specified in the tracking link during creation. This allows you not to create a new one if you need to change the deep link in an already active campaign.

Important: Only the full deep link can be passed in this link. Templating is not supported. Only the following characters can be used in the unpacked parameter: -0-9a-zA-Z:/_?&=%+#.

Postback parameters

If you have added tracking link parameters in your partner's postbacks, these parameters are automatically added to the created tracking links.

For example, if a partner's postback contains
param={clickId},
then the tracking link will automatically include the parameter clickId={clickId}.

For more details, see Postback parameters section.

Supplying parameters to target URLs and deep links

You can pass parameters from your tracking link to the relevant target URL and deep link. For more details, see the Patterns for target URLs and deep links section.

Was this article helpful?