How to Enable Auto-Tagging on All Ad Platforms
Complete guide to enabling gclid, fbclid, msclkid, and other auto-tagging across Google, Facebook, Microsoft, and more
Your paid campaigns are running. GA4 shows traffic as Direct. No cost data imported.
Why? Auto-tagging is disabled.
Here's how to enable click ID auto-tagging on every major ad platform in under 5 minutes.
Table of contents
- Quick Platform Navigation
- Google Ads: Enable gclid Auto-Tagging
- Step 1: Access Settings (10 seconds)
- Step 2: Enable Auto-Tagging (20 seconds)
- Verification
- Google Ads Advanced: Link to GA4
- Microsoft Ads: Enable msclkid Auto-Tagging
- Step 1: Enable Auto-Tagging
- Step 2: Configure Tracking Template
- Verification
- Facebook/Instagram Ads: fbclid (Automatic)
- What You Must Do: Add Manual UTMs
- Dynamic Parameters
- Verification
- TikTok Ads: ttclid (Automatic)
- What You Must Do: Add Manual UTMs
- Dynamic Parameters
- Verification
- LinkedIn Ads: No Auto-Tagging (Use UTMs)
- Setup
- Best Practices
- Verification
- Twitter/X Ads: twclid (Automatic)
- Add Manual UTMs
- Pinterest Ads: epik (Automatic)
- Add Manual UTMs
- Validation Checklist: Is Auto-Tagging Working?
- ✅ Google Ads
- ✅ Microsoft Ads
- ✅ Facebook/Instagram
- ✅ TikTok
- Common Issues & Fixes
- Issue 1: Google Ads Auto-Tagging Disabled by Mistake
- Issue 2: Microsoft Ads Shows Organic Traffic
- Issue 3: Facebook Shows Direct Traffic
- Issue 4: Click IDs Stripped by Redirects
- Issue 5: Mixed Auto-Tagging and UTM Sources
- FAQ
- How long does it take for auto-tagging to work after enabling?
- Can I disable auto-tagging after enabling it?
- Why isn't my gclid appearing even though auto-tagging is enabled?
- Do I need auto-tagging if I'm already using UTMs?
- What's the difference between click IDs and UTMs?
- How do I verify auto-tagging is working across all campaigns?
- Can auto-tagging break my website?
- Should I use account-level or campaign-level tracking templates?
- What if I run ads on platforms not listed here?
- How do I monitor if auto-tagging stays enabled?
🚨 Not sure what's breaking your tracking?
Run a free 60-second audit to check all 40+ ways UTM tracking can fail.
Scan Your Campaigns Free✓ No credit card ✓ See results instantly
Quick Platform Navigation
| Platform | Click ID | Enable Time | Difficulty |
|---|---|---|---|
| Google Ads | gclid | 30 seconds | Easy |
| Facebook/Instagram | fbclid | Automatic | N/A |
| Microsoft Ads | msclkid | 2 minutes | Medium |
| TikTok Ads | ttclid | Automatic | N/A |
| LinkedIn Ads | No auto-tagging | N/A | Use UTMs |
| Twitter/X Ads | twclid | Automatic | N/A |
| Pinterest Ads | epik | Automatic | N/A |
Note: Most platforms auto-append click IDs. Only Google Ads and Microsoft Ads require manual enable.
Google Ads: Enable gclid Auto-Tagging
Step 1: Access Settings (10 seconds)
1. Google Ads dashboard
2. Click Settings (left sidebar)
3. Click Account settings
Step 2: Enable Auto-Tagging (20 seconds)
4. Scroll to "Auto-tagging"
5. Check the box: "Tag the URL that people click through from my ad"
6. Click Save
Done. All future Google Ads clicks will include gclid.
Verification
1. Click any active ad
2. Check landing URL
Should see:
yoursite.com/page?gclid=Cj0KCQiA...
If gclid appears: ✅ Working
If no gclid: ❌ Check settings again
Google Ads Advanced: Link to GA4
Enable automatic cost data import:
1. Google Ads → Tools & Settings → Linked accounts
2. Find Google Analytics (GA4)
3. Click Details → Link
4. Select GA4 property
5. Enable auto-tagging: YES
6. Enable cost data import: YES
7. Save
Result: Cost, clicks, impressions automatically appear in GA4.
😰 Is this your only tracking issue?
This is just 1 of 40+ ways UTM tracking breaks. Most marketing teams have 8-12 critical issues they don't know about.
• 94% of sites have UTM errors
• Average: $8,400/month in wasted ad spend
• Fix time: 15 minutes with our report
✓ Connects directly to GA4 (read-only, secure)
✓ Scans 90 days of data in 2 minutes
✓ Prioritizes issues by revenue impact
✓ Shows exact sessions affected
Microsoft Ads: Enable msclkid Auto-Tagging
Step 1: Enable Auto-Tagging
1. Microsoft Ads dashboard
2. Settings → Account settings
3. Find "Auto-tagging"
4. Select: ON
5. Save
Step 2: Configure Tracking Template
Microsoft's auto-tagging alone isn't enough for GA4. Add UTMs via tracking template:
Account level (recommended):
1. Tools → Tracking → Tracking template
2. Enter:
{lpurl}?utm_source=bing&utm_medium=cpc&utm_campaign={campaign}&msclkid={msclkid}
Campaign level (granular control):
1. Select campaign
2. Settings → Tracking template
3. Enter custom template per campaign
Why both?
- msclkid → Powers Microsoft UET conversion tracking
- UTMs → Powers GA4 campaign attribution
Verification
Click test ad, URL should show:
yoursite.com?utm_source=bing&utm_medium=cpc&utm_campaign=brand&msclkid=abc123
Both parameters present: ✅ Working
Facebook/Instagram Ads: fbclid (Automatic)
Facebook automatically appends fbclid. No enable step required.
What You Must Do: Add Manual UTMs
Facebook Ads Manager → Campaign → URL Parameters:
utm_source=facebook&utm_medium=paid-social&utm_campaign={{campaign.name}}&utm_content={{adset.name}}
Actual landing URL:
yoursite.com?utm_source=facebook&utm_medium=paid-social&utm_campaign=spring_sale&fbclid=IwAR123
Result:
- fbclid: Facebook Pixel tracking
- UTMs: GA4 attribution
Dynamic Parameters
Use Facebook's macros for automatic population:
{{campaign.name}} → Your campaign name
{{adset.name}} → Ad set name
{{ad.name}} → Individual ad name
{{site_source_name}} → facebook, instagram, audience_network, messenger
{{placement}} → feed, story, reels, etc.
Example URL:
utm_source={{site_source_name}}&utm_medium=paid-social&utm_campaign={{campaign.name}}&utm_content={{adset.name}}_{{placement}}
Verification
1. Preview ad in Facebook
2. Click "Copy Link"
3. Paste in notepad
Should see both fbclid AND UTMs:
yoursite.com?utm_source=facebook&fbclid=IwAR...
Both present: ✅ Working
TikTok Ads: ttclid (Automatic)
TikTok automatically appends ttclid. No enable step required.
What You Must Do: Add Manual UTMs
TikTok Ads Manager → Ad group → Tracking → URL Parameters:
utm_source=tiktok&utm_medium=paid-social&utm_campaign={{campaign.name}}&utm_content={{adgroup.name}}
Dynamic Parameters
{{campaign.name}} → Campaign name
{{campaign_id}} → Campaign ID
{{adgroup.name}} → Ad group name
{{adgroup_id}} → Ad group ID
{{ad.name}} → Ad creative name
Verification
Test ad click should show:
yoursite.com?utm_source=tiktok&utm_medium=paid-social&utm_campaign=spring&ttclid=7abc
Both ttclid and UTMs: ✅ Working
LinkedIn Ads: No Auto-Tagging (Use UTMs)
LinkedIn does not append click IDs to URLs. Use manual UTMs only.
Setup
LinkedIn Campaign Manager → Campaign → URL Parameters:
utm_source=linkedin&utm_medium=paid-social&utm_campaign=lead_gen_2024&utm_content=carousel_ad
Best Practices
Use descriptive naming:
utm_source=linkedin
utm_medium=paid-social (or cpc, sponsored)
utm_campaign=your_campaign_name
utm_content=ad_format (carousel, video, single_image)
utm_term=targeting_criteria (optional)
Verification
Test ad → Check URL:
yoursite.com?utm_source=linkedin&utm_medium=paid-social&utm_campaign=lead_gen
UTMs present: ✅ Working
Twitter/X Ads: twclid (Automatic)
Twitter automatically appends twclid. No enable step.
Add Manual UTMs
Twitter Ads → Campaign → Website URL:
yoursite.com?utm_source=twitter&utm_medium=paid-social&utm_campaign=product_launch
Actual URL becomes:
yoursite.com?utm_source=twitter&utm_medium=paid-social&utm_campaign=product_launch&twclid=abc123
Pinterest Ads: epik (Automatic)
Pinterest automatically appends epik parameter. No enable step.
Add Manual UTMs
Pinterest Ads → Ad group → Destination URL:
yoursite.com?utm_source=pinterest&utm_medium=paid-social&utm_campaign=inspiration_campaign
Validation Checklist: Is Auto-Tagging Working?
For every active ad platform:
✅ Google Ads
- Auto-tagging enabled in account settings
- Test ad clicked
- gclid appears in landing URL
- GA4 linked with cost import enabled
- GA4 shows source: google, medium: cpc
✅ Microsoft Ads
- Auto-tagging enabled
- Tracking template configured with UTMs
- Test ad shows both msclkid and UTMs
- GA4 shows source: bing, medium: cpc
✅ Facebook/Instagram
- URL parameters configured with UTMs
- Test ad shows both fbclid and UTMs
- Facebook Pixel installed
- GA4 shows source: facebook, medium: paid-social
✅ TikTok
- URL parameters configured with UTMs
- Test ad shows both ttclid and UTMs
- TikTok Pixel installed
- GA4 shows source: tiktok, medium: paid-social
- URL parameters configured with UTMs
- Test ad shows UTMs
- GA4 shows source: linkedin, medium: paid-social
Common Issues & Fixes
Issue 1: Google Ads Auto-Tagging Disabled by Mistake
Symptom: Paid traffic shows as Direct in GA4
Check:
Google Ads → Settings → Auto-tagging
Status should be: ON
Fix: Re-enable, wait 1 hour for new clicks to include gclid.
Issue 2: Microsoft Ads Shows Organic Traffic
Cause: Auto-tagging enabled but no UTMs in tracking template
Fix:
Add tracking template:
{lpurl}?utm_source=bing&utm_medium=cpc&utm_campaign={campaign}&msclkid={msclkid}
Issue 3: Facebook Shows Direct Traffic
Cause: fbclid appended but no UTMs configured
Fix:
Add URL parameters:
utm_source=facebook&utm_medium=paid-social&utm_campaign={{campaign.name}}
GA4 cannot read fbclid. UTMs are required for attribution.
Issue 4: Click IDs Stripped by Redirects
Cause: URL shortener or redirect removes query parameters
Check:
1. Click ad
2. Check final landing URL
3. Verify click ID still present
Fix:
- Use query parameter-preserving shorteners (Bitly, Rebrandly)
- Test redirect chain before campaign launch
- Avoid redirects when possible
Issue 5: Mixed Auto-Tagging and UTM Sources
Symptom: Google Ads URL shows gclid + utm_source=facebook
Problem: Conflicting attribution signals
Fix: Remove conflicting UTMs or let click ID handle attribution
✅ Fixed this issue? Great! Now check the other 39...
You just fixed one tracking issue. But are your Google Ads doubling sessions? Is Facebook attribution broken? Are internal links overwriting campaigns?
• Connects to GA4 (read-only, OAuth secured)
• Scans 90 days of traffic in 2 minutes
• Prioritizes by revenue impact
• Free forever for monthly audits
Join 2,847 marketers fixing their tracking daily
FAQ
How long does it take for auto-tagging to work after enabling?
Immediate for new clicks. Historical clicks cannot be retroactively tagged. Wait 1 hour and test a new ad click to verify.
Can I disable auto-tagging after enabling it?
Yes, but you'll lose automatic cost import (Google Ads) and platform pixel tracking may break. Only disable if you have a specific technical conflict.
Why isn't my gclid appearing even though auto-tagging is enabled?
Check: 1) Auto-tagging truly enabled at account level, 2) Test in incognito browser, 3) No browser extensions blocking parameters, 4) No site redirects stripping parameters.
Do I need auto-tagging if I'm already using UTMs?
For Google Ads: UTMs work but auto-tagging enables automatic cost import. For other platforms: You need BOTH (click ID for pixel, UTMs for GA4).
What's the difference between click IDs and UTMs?
Click IDs (gclid, fbclid, msclkid) are platform-generated unique identifiers. UTMs are manually added campaign labels. Google Ads can use click IDs for full attribution; other platforms require both.
How do I verify auto-tagging is working across all campaigns?
Create one test ad per platform. Click each ad. Check landing URLs. All should contain either click IDs (automatic platforms) or configured UTMs (manual platforms).
Can auto-tagging break my website?
No. Click IDs are just URL parameters. However, poorly configured redirects might strip them, breaking tracking. Test thoroughly before launch.
Should I use account-level or campaign-level tracking templates?
Account-level for consistency. Campaign-level if you need different UTM naming per campaign. Most companies use account-level.
What if I run ads on platforms not listed here?
Check if the platform provides auto-tagging. If not, use manual UTM parameters. All platforms support manual UTMs.
How do I monitor if auto-tagging stays enabled?
Set up monthly audits: 1) Check auto-tagging settings, 2) Test one ad per platform, 3) Verify GA4 attribution, 4) Check cost data import.
Related guides:
- Auto-Tagging vs Manual UTMs: Which to Use and When
- Fix Untagged Paid Campaigns Missing Click IDs
- Why Microsoft Ads Traffic Shows as Organic
✅ Fixed this issue? Great! Now check the other 39...
You just fixed one tracking issue. But are your Google Ads doubling sessions? Is Facebook attribution broken? Are internal links overwriting campaigns?
• Connects to GA4 (read-only, OAuth secured)
• Scans 90 days of traffic in 2 minutes
• Prioritizes by revenue impact
• Free forever for monthly audits
Join 2,847 marketers fixing their tracking daily