Cookie preferences

Choose which optional cookies EndFrame may use on this site. Analytics and advertising tools load only if you allow them, and you can change your mind any time from “Cookie settings” in the footer. Whatever you choose, this tab keeps the campaign labels from the link that brought you, and they are saved with your account if you sign up. Read the Cookie Policy.

Needed for the site to work, such as remembering this choice. Always on.

Lets us load analytics tools through Google Tag Manager, including Google Analytics and Microsoft Clarity session recordings, to understand how the site is used.

Allows advertising tags to measure our ad campaigns. None run on this site today. It also keeps ad click IDs from the page address for this tab, and saves them with your account if you sign up.

Skip to main content

Does Safari Strip gclid and fbclid? Safari Link Tracking Protection Explained

Many posts claim iOS 26 strips gclid and fbclid from every Safari visit. This guide separates what Apple and WebKit document from what is unconfirmed, shows which parameters survive, and gives a five-minute test for your own iPhone.

The EndFrame Team7 min read

Safari's Link Tracking Protection removes some click identifiers from links (vendor tests name gclid, fbclid and msclkid), but only in specific places: Safari Private Browsing, links shared in Mail and Messages, and regular browsing for people who have switched a setting called Advanced Tracking and Fingerprinting Protection to All Browsing. Campaign parameters such as utm_source and utm_campaign are left in place. Apple has not announced that Safari strips click IDs from every standard browsing session, despite many posts saying iOS 26 does. This guide sets out what Apple and WebKit, the engine behind Safari, actually document, what is still unconfirmed, and how to check it on your own iPhone in five minutes.

What Link Tracking Protection is

A click identifier, or click ID, is a unique value an ad platform adds to your landing page URL when someone clicks an ad, so that a later conversion can be tied back to that exact click. Google Ads adds gclid (and gbraid or wbraid in some app and iOS cases), Meta adds fbclid and Microsoft Advertising adds msclkid. Our guides to gclid, gbraid and wbraid and to fbclid, _fbc and _fbp explain what each one carries.

Apple announced Link Tracking Protection on 5 June 2023, saying the extra information sites add to URLs to track people would be removed from links shared in Messages and Mail and from links opened in Safari Private Browsing, and that the links would still work as expected. It shipped in Safari 17, released on 18 September 2023 for iOS 17, iPadOS 17 and macOS. It is a separate feature from Intelligent Tracking Prevention (ITP), which caps how long cookies set by scripts can live. ITP acts after the page loads, on storage; Link Tracking Protection acts before the request is sent, on the URL. Our article on Safari ITP and cookie lifetimes covers the cookie caps.

Where it applies, and where it does not

Where the link is openedClick IDs removed?Documented by
Safari Private Browsing, moving from one website to anotherYes, a subset of known tracking parametersWebKit, Private Browsing 2.0
Links shared in Messages and MailYesApple, June 2023 announcement
Regular Safari with Advanced Tracking and Fingerprinting Protection set to All BrowsingYes, the same safeguards as Private BrowsingWebKit, Private Browsing 2.0
Regular Safari on its standard settingNot documented by Apple or WebKitNo official source
In-app browsers inside Instagram, Facebook or TikTokNot part of Apple's descriptionTest it separately

WebKit gives the setting's location on iPhone, iPad and Vision Pro as Settings > Apps > Safari > Advanced > Advanced Tracking and Fingerprinting Protection, where choosing All Browsing brings the Private Browsing safeguards into normal tabs. On a Mac, go to Safari > Settings > Advanced, tick Use advanced tracking and fingerprinting protection and choose in all browsing. Apple renames and moves settings between iOS versions, so if you cannot find it, search Settings for fingerprinting. In-app browsers behave differently from Safari for many reasons, covered in our guide to in-app browsers and tracking.

Which parameters are removed and which survive

WebKit's Private Browsing 2.0 post says Safari removes a subset of query parameters identified as being used for pervasive cross-site tracking granular to users or clicks, and that this happens before navigation, so the values never travel over the network. Your server, your analytics and your forms never see them. Parameters used only for campaign attribution, rather than click or user tracking, are allowed to pass through. WebKit does not publish the full list.

  • Removed: click-level identifiers on Apple's list. Vendors such as Stape report gclid, fbclid and msclkid among them.
  • Kept: campaign-level parameters. utm_source, utm_medium and utm_campaign describe a campaign, not a person or a click, which is the class WebKit says passes through.
  • Unconfirmed: gbraid, wbraid, ttclid and other click IDs. No Apple or WebKit source names them either way, so test them before you rely on them.
  • Hidden from other companies' scripts in Private Browsing: WebKit says third-party scripts that read the page address get a version with no query string or fragment, and cross-site document.referrer is hidden from scripts too.

That last point is easy to miss. In Private Browsing, a UTM-tagged visit can reach your server intact while a tag loaded from another company's domain reads the page address without any parameters at all. Your server, which receives the full request, still sees them. WebKit's post does not spell out what counts as a third-party script. In WebKit's current open-source code, the check compares the domain the script file was loaded from with the domain of the page, and applies only after the visitor arrived from a different website, so a tag served from a vendor's domain is treated as third-party and code served from your own domain is not. Shipping Safari can lag the open-source code, so check what your own tags record.

The iOS 26 confusion

Apple's iOS 26 announcement on 9 June 2025 said browsing in Safari would get more private with advanced fingerprinting protection extending to all browsing by default. Many vendor posts read that as Safari stripping gclid and fbclid from every session. The documentation for the final release says something narrower. WebKit's Safari 26.0 post, published on 15 September 2025, describes Safari preventing known fingerprinting scripts from reliably reading certain device details, from setting long-lived cookies or LocalStorage, and from reading state used for navigational tracking, with query parameters and document.referrer given as examples.

That protection targets scripts Apple has identified as fingerprinting scripts. It does not remove parameters from the URL for every site, and neither Apple's announcement nor the WebKit post says Link Tracking Protection now strips click IDs in standard browsing by default. In practice, a script on Apple's list may see your landing URL without its parameters, while your server and your own code still receive gclid on a normal visit. Apple does not publish which scripts are on the list, which is one more reason to test rather than assume.

What Safari 27 changed

Safari 27 was released on 14 September 2026 for iOS 27, iPadOS 27, visionOS 27 and macOS. Its release notes, and those for the 27.1 and 27.2 updates, contain no entry about Link Tracking Protection or tracking query parameters. The nearest privacy item is a new WKWebView API that lets apps turn the Global Privacy Control header on or off. During the beta, Stape, a server-side tagging vendor, suggested that the parameter list may also cover more platforms, including xmt on Threads links, si on YouTube links and twclid, cn and cxt on X links, and said its own testing confirmed twclid removal in Private Browsing. Apple has not documented that, so treat it as a vendor's beta finding and check it with the test below.

A five-minute test on your own iPhone

  1. 1Note the current value of Settings > Apps > Safari > Advanced > Advanced Tracking and Fingerprinting Protection, because the result depends on it.
  2. 2Build a test link to a page you own, with UTM tags and dummy click IDs, for example https://www.example.com/?utm_source=ltp-test&utm_medium=test&utm_campaign=safari-check&gclid=TEST1&gbraid=TEST2&wbraid=TEST3&fbclid=TEST4&msclkid=TEST5. The UTM builder can add the extra key=value pairs.
  3. 3Regular browsing: paste the link into the Notes app, tap it so it opens in a normal Safari tab (with Safari as your default browser), then tap the address bar to show the full URL and write down which parameters are still there.
  4. 4Private Browsing: put the link on a page on a different domain from your site, open that page in a Private Browsing tab, tap the link and read the landing URL the same way.
  5. 5Messages: send the link to yourself, check how it appears in the conversation, tap it and read the landing URL.
  6. 6Mail: email the link to yourself, open it from the Mail app and read the landing URL.
  7. 7Compare with what your server or analytics recorded for utm_campaign=safari-check, so you know what reached you, not only what the address bar showed. Repeat after each major Safari update.

What to do about it

  • Tag every paid link with UTM parameters as well as the platform's auto-tagging, so a visit that loses its click ID still arrives with its campaign, source and medium. Our comparison of auto-tagging and manual UTM tagging explains how to run both.
  • Read click IDs and UTM parameters on the first landing page, on your server or in code served from your own domain, and store them with the visit and the lead, as described in our guide to capturing UTM parameters in hidden form fields.
  • Send conversions server-side through conversions APIs with first-party identifiers, such as a hashed email or phone number collected at checkout or on a form, which a platform can match without a click ID.
  • Read Private Browsing and Mail traffic as campaign-level data: you will know which campaign sent the visit, not which click.

None of this brings back a removed click ID. Safari drops it before the request is sent, so no server, tag or tool can recover it. A hashed email can help a platform match the buyer to one of its users, but it does not tie the sale to the specific click, and the platform falls back on its own matching or modelling.

EndFrame's snippet reads utm_* parameters and stores other query parameters on each visit, then credits each conversion to the campaign and source of the visit that converted. It cannot see a click ID that Safari has already removed. The snippet also loads from EndFrame's own domain, not yours, so under the third-party script check described above it is likely to read the address without its parameters, UTM tags included, on a Private Browsing visit that arrives from another website. This has not been measured, so include it when you run the test above and compare what it recorded.

Frequently asked questions

Does a link shared in Messages still work after Safari removes the click ID?

Yes. Apple says links shared in Messages and Mail still work as expected after the tracking information is removed. The recipient lands on the same page, just without the identifier. It also means an ad link forwarded to a friend no longer carries the original clicker's click ID, so the platform cannot credit the friend's purchase to that earlier click.

Does Link Tracking Protection break Google Ads conversion tracking?

Only for the visits it touches. When gclid is removed before the page loads, the Google tag has no click to store, so a later conversion from that visit cannot be tied to the ad click in the browser and is either unattributed or estimated by Google. Visits in regular Safari with the default setting are not documented as affected, and UTM tags still give your analytics the campaign.

Is this the same thing as Safari blocking cookies?

No. Intelligent Tracking Prevention limits how long cookies and other stored data last after a page has loaded. Link Tracking Protection acts earlier, on the address itself, before the request is sent. A visit can lose its click ID to the first and still have a full-length first-party cookie, or keep its click ID and then lose the cookie that stored it a day or a week later.

Try EndFrame

Add a server-side path for your conversions.

EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.

No credit card required

Keep reading