virling Pricing Self-host Demo Changelog Agencies GitHub Start free trial
blog / 2026-11-19

iOS Link Tracking Protection: does Safari remove UTM parameters?

By Devendra Variya, co-founder of Virling. Published 2026-11-19, updated 2026-11-25.

TL;DR: Apple does not say that Safari removes UTM parameters. Link Tracking Protection, added in iOS 17 and Safari 17, removes identifying tracking information from links shared in Mail and Messages and from links opened in Safari Private Browsing. Apple names no specific parameters and does not mention UTM at all; WebKit says that in Private Browsing a parameter used only for campaign attribution passes through. The safe plan is to keep tagging links, read the tags on the landing page, and link each payment to its visit with a first-party visitor ID rather than a click ID in the URL.

What Apple documents

Apple introduced the feature in three places: its June 2023 Newsroom announcement, the WWDC23 session What's new in privacy, and the WebKit post WebKit features in Safari 17.0. Here is what each says about where it applies.

ContextWhat Apple says happensSource
MailExtra information that websites add to URLs to track users is removed from links shared in MailApple Newsroom, June 2023
MessagesExtra information that websites add to URLs to track users is removed from links shared in MessagesApple Newsroom, June 2023
Safari Private BrowsingThe same tracking information is removed from links. Safari “strips the identifying components of the URL, while leaving nonidentifiable parts intact”. WebKit lists “Blocking for known tracking query parameters in links” under Private BrowsingApple Newsroom, WWDC23, WebKit, Safari 17.0
Normal Safari browsingNone of the three sources describes Link Tracking Protection for normal browsing. A later WebKit post covers a setting for it, in the next tableNot covered by the sources above

None of these pages names a parameter. They do not mention gclid, fbclid, msclkid or any other click ID, and they do not mention UTM. gclid, fbclid and msclkid vs UTM tags explains what each of those carries. Any list of exactly which parameters are removed comes from outside testing, not from Apple. For ad attribution, the WWDC23 session points to Private Click Measurement as the alternative.

Which links keep their parameters

The WebKit post Private Browsing 2.0, from July 2024, gives the most detail, and Apple's Safari guide for Mac adds a line. This table goes only as far as these pages do. All of them were read on 2026-11-25.

LinkWhat is removedWhat is keptSource
Shared in MailExtra information that websites add to URLs to track users across other websitesThe links “will still work as expected”. No parameter is named as kept or removedApple Newsroom
Shared in MessagesThe same as in MailThe same as in MailApple Newsroom
Followed to another site in Private BrowsingSafari removes “a subset of query parameters” used for cross-site tracking “granular to users or clicks”, before the page is requestedA parameter “only used for campaign attribution” passes through. The example is named campaign; UTM is not mentionedWebKit, Private Browsing 2.0
Copied in Private BrowsingTracking parameters, “when copying a link”The “nonidentifiable parts” of the URLWWDC23
Read by a third-party script in Private Browsing, after coming from another siteAll query parameters and the fragment, and the cross-site document.referrerThe URL without them, as that script sees itWebKit, Private Browsing 2.0
Normal browsing with the setting onThe same as in Private Browsing. WebKit says the protections are available in regular browsing when a person turns on Advanced Tracking and Fingerprinting Protection for All BrowsingThe same as in Private BrowsingWebKit, Private Browsing 2.0, Safari guide for Mac
Normal browsing without that settingNot describedNot describedNot covered by these pages

Apple's wording for Mail and Messages is about links that people share. It does not say what happens to a link in a marketing email that someone receives and taps, so test that one yourself.

The row about third-party scripts matters for any analytics tool, Virling included. The Virling script is usually loaded from another domain, such as app.virling.com. If Safari treats it as third-party, the tags can be in the address bar and still not reach the script, and with the referrer hidden too, that visit is recorded as Direct. The five steps below show which case you have.

Virling keeps the source its script read on the landing page with each visit, and the Source tab on its Channels card shows your top sources with the visitors and revenue credited to each.

Start free trial See the demo

Test it on a real iPhone in five steps

  1. Make four links. Tag the same page of your site four times with utm_source=ios-test and utm_medium=test, and set utm_campaign to mail, messages, private and normal. If you run ads, add a click ID copied from a real ad click: a made-up value may not be treated the same way. Write down the iOS version, and what Settings > Apps > Safari > Advanced > Advanced Tracking and Fingerprinting Protection is set to.
  2. Mail. Send yourself the mail link from the Mail app on the iPhone. Open the message, tap the link, then tap the address bar and compare the full URL with the one you sent.
  3. Messages. Do the same with the messages link in the Messages app.
  4. Private and normal tabs. Put the last two links on a page on a different domain, because WebKit describes the protection for navigation between different websites. Open that page in a Private Browsing tab and tap the private link, then open it in a normal tab and tap the normal link. Compare the address bar each time.
  5. Compare with your analytics. In Virling, open the Campaign tab of the Channels card and look for the four campaigns. A campaign that is there was read from the URL. If the address bar kept the tags but the campaign is missing, look for a Direct visit at that time under Visitors: the script did not get the tags. If the address bar lost them, compare with the normal tab to rule out a redirect on your own site.

What you find holds for that iOS version and those settings. Run the steps again after an iOS update, and on the Mac if your buyers use Safari there.

What this means for revenue attribution

UTM tags describe a campaign, not a person: utm_source=newsletter is the same for every reader. Apple does not say how it classifies them by name. The closest it comes is the campaign parameter in the table above, which passes through. Its name is an example, so do not build your reporting on a guess either way. What is clear is that Apple's aim is to remove information that identifies a user, and click IDs added by ad platforms exist to tie a visit back to one specific ad click. Attribution that depends on a click ID surviving in the URL is the kind that a privacy feature can break.

A sturdier setup does not need anything identifying in the link. The analytics script reads the source on the landing page, from the referrer and UTM tags, and stores a random first-party visitor ID. Checkout carries that ID, so the payment joins to the visit it came from. If a tag is ever missing, the sale still links to the visit, and the visit falls back to its referrer or to Direct instead of disappearing.

That is how Virling works. Its script reads utm_source, utm_medium, utm_campaign, utm_content and utm_term (or ref) from the landing URL, and sets a virling_vid cookie on your own domain. That ID, passed into checkout, is what links a payment back to the visit. In Safari the cookie can expire sooner; see Safari ITP and attribution. Virling does not need ad click IDs to link a payment to its source. See the script docs.

How to set it up

  1. Tag every link you share in email, chat and social posts. Build them with the UTM builder and follow the rules in which UTM parameters to use for revenue tracking.
  2. Open one of your own tagged links from Mail or Messages, or in a Private Browsing tab, and check the address bar. That tells you what your links do, without relying on anyone else's list. If tags are missing in every browser, check your redirects too; see how redirects drop UTM parameters.
  3. Add the analytics script to every page so the source is read on the landing page.
  4. Pass the visitor ID into checkout, as in cross-domain checkout attribution.
  5. Make a test purchase from a tagged link and confirm the sale shows the source you tagged.

Frequently asked questions

Does Safari remove UTM parameters?

Apple does not say. Its Link Tracking Protection documentation says Safari removes identifying tracking information from links in Mail, Messages and Private Browsing, but Apple names no specific parameters and does not mention UTM. WebKit's Private Browsing 2.0 post says a parameter used only for campaign attribution passes through.

Where does iOS Link Tracking Protection apply?

Apple's June 2023 announcement names three places: links shared in Messages, links shared in Mail, and Safari Private Browsing. The WebKit notes for Safari 17.0 list it under Private Browsing.

Does Link Tracking Protection apply to normal Safari browsing?

Apple's announcement, its WWDC23 privacy session and the Safari 17.0 notes describe it for Mail, Messages and Private Browsing. None of them describes it for normal browsing. WebKit's Private Browsing 2.0 post says the Private Browsing protections are also available in regular browsing when a person turns them on in Safari's settings.

Which parameters does Link Tracking Protection remove?

Apple does not publish a list. It says Safari strips the identifying components of a URL and leaves the nonidentifiable parts intact, without naming any parameter.

How do I keep revenue attribution if tracking parameters are removed?

Do not depend on click IDs in the URL to link a sale to its source. Read the source on the landing page, keep a first-party visitor ID, and pass that ID into checkout so the payment joins to the visit.

Link every payment to its source without click IDs

Virling is open source under AGPL. Self-host it free, or use the hosted version with a 14-day free trial. It connects to Stripe, Paddle, Shopify, WooCommerce, Polar, LemonSqueezy, Dodo, Creem and RevenueCat.

Start free trial See the demo