Skip to content
FunnelGuard

Fix guide by FunnelsGuard

iOS Link Tracking Protection stripping gclid and fbclid: fix

TRK-380Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Link Tracking Protection is a privacy feature in Apple's iOS, iPadOS and macOS. It removes query parameters that Apple classes as cross-site trackers when a link is opened from Mail, Messages or Safari Private Browsing. Since iOS 17 it is on by default in those places. Parameters such as gclid (Google Ads), fbclid (Meta), and similar click IDs can be removed before your page loads.

Why it costs you leads or sales

A missing click ID means the conversion can't be tied back to the ad click. You lose attribution, not the sale itself. The impact is usually medium: it grows if you run email-heavy or messaging-heavy campaigns, or have many iPhone users.

What breaks when the click ID is gone
  • Offline conversion imports to Google Ads fail because there is no gclid to match.
  • CRM records show leads with no ad source, so paid traffic looks weaker than it is.
  • Smart bidding gets fewer conversion signals and learns more slowly.
  • Meta can't match some events to the ad click, which lowers reported results.
  • Reports mark iPhone conversions as direct or unassigned.
Where the click ID is lost
  1. Link clickedURL has ?gclid=... in Mail or Private tab
  2. iOS strips IDLink Tracking Protection removes gclid/fbclid
  3. Page loadsNo click ID to store
  4. Lead or orderSaved without click ID
  5. Ad platformCan't match conversion to click

The visitor reaches the site, but the click ID never does.

Conversions matched to an ad clickExample numbers
Conversions matched to an ad click (example)Desktop: 90 %; iPhone, normal Safari: 75 %; iPhone, Mail or Private: 20 %03469907520DesktopiPhone, normal SafariiPhone, Mail or Priva…%

Example: illustrative numbers only. Share of conversions that keep a click ID, by traffic type.

How to check if your site has it

Test on a real iPhone
  1. Build a test URL

    Add a fake click ID to your landing page, for example https://example.com/?gclid=TEST123&utm_source=test.

  2. Open it from Mail or Messages

    Email or text the link to yourself and tap it on an iPhone running iOS 17 or later.

  3. Read the address bar

    If gclid=TEST123 is gone but utm_source=test remains, stripping is happening.

  4. Repeat in a Private tab

    Paste the same link into Safari Private Browsing and compare.

  5. Check your data

    In your CRM or ad platform, compare the share of iPhone leads with an empty click ID field to desktop leads.

How to fix it

You can't stop Apple removing the parameter, and you shouldn't try to hide it. The goal is to lose less attribution when it is removed.

Reduce the damage
  1. Keep UTMs on every link

    Tag all email, SMS and social links with utm_source, utm_medium and utm_campaign. They survive and give you channel-level attribution.

  2. Store click IDs as soon as they arrive

    Save gclid and fbclid on the first page view and write them into hidden form fields so they reach your CRM.

  3. Turn on enhanced conversions

    In Google Ads, enable enhanced conversions for leads or web so conversions can be matched with hashed email or phone, even with no gclid.

  4. Send Meta events server-side

    Use the Meta Conversions API with the same event ID as the browser pixel so Meta can match and deduplicate.

  5. Link to a clean URL in email

    For your own emails, rely on UTMs and your ESP's reporting rather than click IDs, since Mail strips them.

Save click IDs to first-party storage and hidden fieldsjavascript
(function () {
  var params = new URLSearchParams(window.location.search);
  ['gclid', 'fbclid', 'utm_source', 'utm_medium', 'utm_campaign'].forEach(function (key) {
    var value = params.get(key);
    if (value) {
      try { localStorage.setItem('fg_' + key, value); } catch (e) {}
    }
  });
  document.querySelectorAll('input[type=hidden][name]').forEach(function (input) {
    var saved = null;
    try { saved = localStorage.getItem('fg_' + input.name); } catch (e) {}
    if (saved && !input.value) input.value = saved;
  });
})();
Where to set it up
  1. Add hidden fields

    In your form plugin, add hidden fields named gclid and fbclid. Many form plugins offer a hidden field with a dynamic value; otherwise use the script above.

  2. Use a server-side option

    Use your tracking or ads plugin's Conversions API setting if it has one.

Attribution on iPhone traffic

Before

  • Click ID is gone and nothing replaces it
  • Leads arrive with no source
  • Offline imports can't match

After

  • UTMs on every link
  • Click IDs saved when present
  • Enhanced conversions and server-side events fill gaps
Does the click ID reach your page?Interactive
Link Tracking Protection active

Ad click → yoursite.com/offer?gclid=Cj0KCQ…&utm_source=google&utm_campaign=spring

301 redirect

Lands on → yoursite.com/offer/

  • gclid
  • utm_source
  • utm_campaign

The page loads without gclid or fbclid, so the lead is saved with no click ID.

You can't switch this off for visitors. This shows why fallbacks matter.

How to confirm it's fixed

Confirmation checks
  • A test lead from a normal desktop click shows gclid in the CRM.
  • A test lead from an iPhone Mail link shows UTMs even though gclid is empty.
  • Google Ads shows enhanced conversions status as recording or active in the conversion diagnostics.
  • Meta Events Manager shows both browser and server events, with deduplication working.
  • The share of iPhone leads with no source drops over the next weeks.

How to prevent it happening again

Treat click IDs as a bonus, not the only link between an ad and a sale. Tag every campaign link with UTMs, keep enhanced conversions and server-side events switched on, and retest on a current iPhone after major iOS releases, because Apple can change which parameters it removes.

How FunnelGuard handles this

This is outside what FunnelGuard checks. Link Tracking Protection happens inside real people's iPhones, and a robot visitor can't reproduce it. A tool that fits is attribution or conversion-quality analysis, such as a server-side tracking setup and your ad platforms' own diagnostics, which show how many conversions arrive without a click ID.

FunnelGuard can still help with the rest of the funnel. It runs your lead forms and checkouts on a schedule and checks that the tracking hits for GA4, Google Ads, Meta and others fire and that test leads reach your inbox and CRM. There is a free plan and a free read-only website audit.

Questions people ask

Why is my gclid missing on iPhone?

Apple's Link Tracking Protection removes known click IDs like gclid from links opened in Mail, Messages and Safari Private Browsing. The page loads, but the parameter is gone before your site sees it. Test with a fake gclid on a real iPhone to confirm.

Does iOS strip fbclid and gclid from all links?

No. It applies mainly to links opened from Mail, Messages and Private Browsing. Normal Safari browsing is affected less, and UTM parameters are generally kept. Apple may change the list, so test on a current device.

How do I track conversions when gclid is stripped?

Use enhanced conversions in Google Ads, which match conversions using hashed email or phone. Keep UTMs on all links and save the gclid whenever it does arrive. For Meta, send events through the Conversions API as well as the pixel.

Can I turn off Link Tracking Protection for my visitors?

No. It is a setting on the visitor's device and you can't control it. Plan for it by using fallbacks rather than trying to avoid it.

Does Link Tracking Protection remove UTM parameters?

Generally no. It targets known click IDs such as gclid and fbclid. UTMs keep working for channel-level attribution, which is why you should tag every campaign link.

Is it okay to hide or rename the gclid to get around this?

Don't try to disguise tracking parameters to defeat a privacy feature. That works against the visitor's choice and the platform's rules. Use consented, first-party methods like enhanced conversions and server-side events.

Can FunnelGuard detect iOS Link Tracking Protection?

No. It happens on real iPhones, outside what a robot visitor can reproduce. FunnelGuard does check that your tracking hits fire and test leads arrive, but for this issue you need attribution analysis and server-side tracking.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.