ClickMagick Sub-IDs: The Advanced Tracking Feature Most Users Ignore

What Are Sub-IDs and Why Do They Matter?
Sub-IDs (also called tracking tokens or dynamic parameters) are variables you append to your ClickMagick tracking links that pass additional data about each click. Instead of just knowing that a click came from "Google Ads," sub-IDs let you know it came from "Google Ads > Campaign: Summer Sale > Ad Group: Product A > Ad: Creative Version 3 > Keyword: buy product a."
This granularity is what separates marketers who optimize at the campaign level from those who optimize at the individual ad level — and the difference in ROAS can be dramatic.
How Sub-IDs Work in ClickMagick
ClickMagick supports up to 5 sub-IDs per tracking link (s1 through s5). You can populate these with static values (e.g., s1=google-ads) or dynamic values using your ad platform's URL parameters (e.g., s1={campaignid}&s2={adgroupid}&s3={creative}).
The Sub-ID Setup for Google Ads
In your ClickMagick tracking link, append: ?s1={campaignid}&s2={adgroupid}&s3={creative}&s4={keyword}&s5={matchtype}. Google will automatically replace these placeholders with the actual values for each click. In ClickMagick's reports, you can then filter by any sub-ID to see performance at any level of granularity.
The Sub-ID Setup for Meta Ads
For Meta, use: ?s1={{campaign.id}}&s2={{adset.id}}&s3={{ad.id}}&s4={{placement}}&s5={{site_source_name}}. Meta's dynamic parameters use double curly braces. This gives you conversion data broken down by campaign, ad set, individual ad, and placement.
What You'll Find When You Start Using Sub-IDs
The most common discovery: 20% of your ads are driving 80% of your conversions. Without sub-IDs, you'd never know which 20%. With sub-IDs, you can pause the underperformers and scale the winners — often doubling ROAS without increasing budget.
Start using sub-IDs today. Try ClickMagick free for 14 days and unlock granular tracking data.
Keep Reading
Frequently Asked Questions
What is click tracking and why do I need it?
What is server-side tracking?
How do I track conversions accurately in 2026?
Ready to Track Every Click and Maximize Your ROI?
ClickMagick is the #1 click tracking and attribution platform trusted by 100,000+ marketers. Start your free 14-day trial today — no credit card required.
Try ClickMagick Free for 14 DaysFound this useful? Share it
Help other marketers find this — every share drives real traffic back to the site.
Ready-to-Post Captions
Click any caption to copy it, then paste directly into your social media post.
Pro tip: Post at peak times — LinkedIn: Tue–Thu 8–10am, Twitter/X: Mon–Fri 9am–3pm, Facebook: Wed 11am–1pm. Engage with comments in the first hour to boost reach.