Trackingclickmagick sub-idstracking tokensgranular attributionclickmagick tutorial

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

By Jonathan ParsonsApril 15, 2026Updated April 15, 2026
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.

ClickMagick
Recommended Tool
ClickMagick — Track Every Click, Kill Bot Traffic, Maximize ROAS
14-day free trial · No credit card required · From $37/mo
Start Free Trial

Frequently Asked Questions

What is click tracking and why do I need it?
Click tracking records every click on your marketing links, capturing data about the traffic source, device, location, and whether the click led to a conversion. It's essential for understanding which campaigns are actually driving revenue versus which just look good in platform dashboards.
What is server-side tracking?
Server-side tracking sends conversion data directly from your server to your tracking platform, bypassing browser restrictions, ad blockers, and iOS privacy settings. It's more accurate than pixel-based tracking and is increasingly essential as browsers restrict third-party cookies.
How do I track conversions accurately in 2026?
Accurate conversion tracking in 2026 requires a combination of first-party click tracking (using a tool like ClickMagick), server-side conversion events, and email-based identity resolution. This combination captures conversions that browser-based pixels miss due to ad blockers and iOS privacy restrictions.

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 Days

Found 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.

X / TwitterKeep under 280 chars
LinkedIn
Facebook

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.

ClickMagick
Track smarter with ClickMagick

We use cookies & ads to keep this site free

We use cookies for analytics, personalized ads (via Google AdSense), and affiliate tracking. By clicking “Accept All” you consent to our use of cookies as described in our Privacy Policy. You can decline non-essential cookies — the site still works, but ads may be less relevant.

GDPR & CCPA compliant · You can change your preferences anytime in our Privacy Policy

Talk with Us