Using Parameters and SubID to Track Links
What is a SubID?
SubIDs are query parameters that marketers add to their links to track specific traffic sources, campaigns, or placements. They're commonly used in affiliate marketing to identify which of your ads or content generated a click or conversion.
Most affiliate networks support subIDs, but there is no set standard for the parameter name—common variations include subid, sub_id, s1, and click_id.
What is a URL parameter?
A query parameter, sometimes called a query string, is a set of values added to the end of a URL that specify something about the traffic source.
For example, you might have:
https://your-url.com/page?source=facebook
In this case, source=facebook is the query string.
You can add as many of these as you like, using & to separate values.
https://your-url.com/page?source=facebook&medium=cpc
How to use a subID
Linkly records the query parameters used when a user clicks a link.
For example, if your link is:
https://linkly.link/4a?subid=facebook
Linkly will record subid=facebook for that click, and show it in the reports.
You can append any key=value pair onto a URL, and even string multiple ones together, for example:
https://linkly.link/4a?subid=facebook&campaign=retarget
which will record subid=facebook and campaign=retarget.
Results are shown in the traffic reports under the ‘Parameters’ tab.
See traffic for a single SubID/parameter
In your link’s traffic report, under the ‘Parameters’ tab, click 'Filter’ to show just traffic for this parameter value.

Excluded Parameters
The following parameters are stripped. We do not record this data in the parameters tab or in our database.
| Parameter | Source/Platform | Purpose |
|---|---|---|
gclid |
Google Ads | Google Click Identifier, used for tracking ad clicks in Google Ads campaigns. |
dclid |
Google Display Network (GDN) | Display Click Identifier, used for tracking clicks on display ads from the Google Display Network. |
fbclid |
Facebook Ads | Facebook Click Identifier, used for tracking ad clicks in Facebook advertising campaigns. |
msclkid |
Microsoft Ads (Bing) | Microsoft Click Identifier, used for tracking ad clicks in Microsoft Ads (formerly Bing Ads). |
ttclid |
TikTok Ads | TikTok Click Identifier, used for tracking ad clicks in TikTok advertising campaigns. |
li_fat_id |
LinkedIn Ads | LinkedIn Click Identifier, used for tracking ad clicks in LinkedIn advertising campaigns. |
twclid |
Twitter Ads | Twitter Click Identifier, used for tracking ad clicks in Twitter advertising campaigns. |
amzclid |
Amazon Ads | Amazon Click Identifier, used for tracking ad clicks in Amazon advertising campaigns. |
epik |
Pinterest Ads | Pinterest Click Identifier (Enhanced Pinterest Insights Klick ID), used for tracking ad clicks in Pinterest advertising campaigns. |
sclid |
Snapchat Ads | Snapchat Click Identifier, used for tracking ad clicks in Snapchat advertising campaigns. |
Frequently Asked Questions
Does Linkly support UTM tags?
Yes, UTM tags will show up just like normal parameters.
Are there any restrictions on parameters?
Yes.
Linkly will not record any parameter value longer than 36 characters.
Linkly will drop click IDs from most ad networks, including Google, Meta, Snapchat and TikTok.