Adset.ProAdset.ProKnowledge base
To app
Home/Campaign Settings/Fixed sub value in the campaign link

Fixed sub value in the campaign link

To tag the clicks of one campaign with your own value — a buyer name, an approach, a creative or an account — append a sub1…sub10 parameter with the value you need directly to the campaign's tracking link. The campaign form has no separate field for this, but the tracker reads such parameters from any tracking link.

How to add

  1. Open the campaign and copy the tracking link ("Main" tab, "Tracking URL" block).
  2. Append a parameter to the end, for example &sub2=test_es. If the link has no ?, start with it: ?sub2=test_es.
  3. Paste the resulting link into the ad account. For Facebook the link is split into two fields — add the parameter to the end of the URL parameters field.

Example:

https://your-domain.com/track/<campaign id>/ads?utm_source=fb&sub1={{ad.id}}&sub2=test_es

All clicks on this link will get sub2 = test_es, while sub1 will still be filled in by the platform.

Which sub to choose

Take a sub that isn't used in the link yet. The tracker determines the value like this:

  • If the "GET Param Name" is empty for this sub in the traffic source, the value is taken from the sub2 parameter in the link.
  • If "GET Param Name" is filled in (for example, creative_id), the tracker looks for creative_id first, and only if it isn't in the link — for sub2.
  • If this sub is already in the link with a platform macro, a second identical parameter will cause confusion. Choose a different number.

One value for all campaigns of a source

If you need the value in all campaigns with this source, set it in the source itself:

  1. Tracker → Traffic Sources → the source.
  2. Click "Add parameter", choose a sub, leave "GET Param Name" empty, and enter text without macros in the "Value" field.
  3. Save and copy the campaigns' tracking links again.

Changes in the source don't change the links already pasted into ad accounts — you need to update them manually.

Where to use the value

  • In reports — grouping and filtering by the sub you need in the report builder.
  • In stream set filters — a condition on a URL parameter.
  • In the offer link, pixels and postbacks — the {event.ext_sub2} macro (for another number — {event.ext_sub1} … {event.ext_sub10}).

Useful links