Sub topic 3
Mobile and email privacy changes: App Tracking Transparency and Mail Privacy Protection
Prerequisites and scope
This chapter assumes you know what an advertising identifier is, how an email open pixel works, and how a mobile app install campaign is measured. Earlier chapters covered browser restrictions on cookies. This chapter covers two Apple changes that affect two channels browsers do not touch: mobile apps and email.
Both changes arrived in the same period, and both share one pattern. A signal that marketers collected by default is now collected only with permission, or is no longer trustworthy. The two changes differ in what they break, so you need to treat them separately.
App Tracking Transparency
What it changed
App Tracking Transparency (ATT) shipped with iOS 14.5 in April 2021. It requires an app to show a system prompt before it can "track" a user. Apple defines tracking as linking data about a user from your app with data from other companies' apps or websites, for advertising or for sharing with data brokers.
The key technical effect concerns the IDFA, the Identifier for Advertisers. Before ATT, the IDFA was available to any app unless the user had turned on "Limit Ad Tracking" in settings. After ATT, an app can read the IDFA only if the user taps "Allow" on the prompt. If the user denies the prompt, the IDFA comes back as a string of zeros. Every denied user then looks identical to an ad network.
Other identifiers still exist. The IDFV (Identifier for Vendor) is the same across all apps from one developer, so you can recognize a user inside your own app family. It cannot be matched against an ad network's records. A logged-in user ID, an email address the user gave you, or an account ID stays under your control, but you cannot use them to link to other companies' data for ad purposes without permission.
The consent prompt in code
An app asks for permission with the AppTrackingTransparency framework. Your Info.plist must also contain an NSUserTrackingUsageDescription string, which is the reason text shown in the prompt.
import AppTrackingTransparency
import AdSupport
func requestTrackingIfNeeded() {
ATTrackingManager.requestTrackingAuthorization { status in
switch status {
case .authorized:
let idfa = ASIdentifierManager.shared().advertisingIdentifier
print("IDFA available: \(idfa.uuidString)")
case .denied, .restricted, .notDetermined:
print("No IDFA. Rely on SKAdNetwork and first-party data.")
@unknown default:
print("Unknown authorization status")
}
}
}Call this after the app becomes active, for example from applicationDidBecomeActive. On recent iOS versions the prompt may not appear if you call it too early in the launch sequence. The .restricted status means a device setting or policy, such as parental controls, prevents the user from choosing at all.
How measurement works without the IDFA
Apple provides SKAdNetwork (SKAN) for install attribution without user-level data. The flow works like this:
- An ad network shows an ad for your app with a signed ad impression.
- The user installs and opens the app.
- Your app registers a small value, called the conversion value, that describes early behavior such as "completed a tutorial" or "made a purchase".
- Apple sends the ad network a postback, a delayed report that the install happened, with limited data attached.
SKAN postbacks carry no device ID. Apple adds a random delay, so reports arrive hours or days late. In early versions, the conversion value was a single 6-bit number from 0 to 63, and you had to encode your key events into those 64 values. SKAN 4, released with iOS 16.1, added several changes:
- Up to three postbacks per install, covering roughly days 0 to 2, days 3 to 7, and days 8 to 35.
- A coarse conversion value (low, medium, high) for cases where too few installs exist to share a precise value.
- A hierarchical source identifier, a four-digit campaign code that Apple reveals at fewer or more digits depending on how many installs the campaign produced. This is called crowd anonymity.
Apple has since added AdAttributionKit as a related framework with similar goals. The principle stays the same. You get aggregated, delayed, thresholded data, so you cannot reconstruct one user's journey.
What breaks and what survives
- Breaks: cross-app retargeting for denied users, lookalike audiences built from app events, precise cost per install by creative, and fast optimization loops that need same-day conversion data.
- Survives: in-app analytics on your own users, attribution for users who opted in, campaign-level SKAN reporting, and contextual or content-based placement.
- Shifts: ad networks lean on modeled and aggregated signals, so their reported numbers become estimates. Compare them to your own backend counts of installs and revenue.
Opt-in rates vary widely by app category, by prompt wording, and by when you ask. Measure your own rate rather than relying on an industry average. You can show your own pre-prompt screen that explains the value of allowing tracking before the system dialog appears. It must not mislead, and Apple's rules forbid incentives for accepting.
Mail Privacy Protection
What it changed
Mail Privacy Protection (MPP) arrived with iOS 15 and the matching macOS and iPadOS releases in September 2021. It applies to users of the Apple Mail app who turn it on. Apple prompts users to choose, and many opt in.
When MPP is on, Apple's servers download all remote content in an email, including your open-tracking pixel, as soon as the message arrives. This happens whether or not the person ever reads it. Apple routes the downloads through proxy servers, so the sender sees Apple's network address and not the user's IP address.
Three signals break as a result:
- Opens are inflated. A pixel fetch no longer means a human looked at the message. Open rates for lists with many Apple Mail users rise sharply.
- Open timing is wrong. The fetch happens at delivery, not at reading time, so send-time optimization based on opens learns the wrong lesson.
- Location and device are hidden. IP-based location inference returns the proxy's location, and the device data is generic.
Clicks still work. A click is a real request from the user's device to your link, and MPP does not preload links. Replies, conversions, and site visits are also real.
Some related changes make email tracking less reliable. Gmail has long cached images through its own proxy. iOS 17 added Link Tracking Protection, which removes certain known tracking parameters from links in Mail, Messages, and Safari Private Browsing. Hide My Email gives users a random forwarding address instead of their real one, so the address you collect may not match any other record of that person.
Spotting machine opens
You can flag likely machine opens by timing. Fetches that arrive within seconds of delivery, with no click afterward, look automated. This heuristic is imperfect, because a fast human open is also possible, but it is better than treating all opens as equal.
from datetime import datetime, timedelta
MACHINE_WINDOW = timedelta(seconds=60)
def classify_opens(deliveries, opens, clicks):
"""Return counts of suspected machine opens, other opens, and clicks.
deliveries: dict of message_id -> delivery datetime
opens: list of (message_id, open datetime)
clicks: set of message_ids with at least one click
"""
machine, other = 0, 0
for message_id, opened_at in opens:
delay = opened_at - deliveries[message_id]
if delay <= MACHINE_WINDOW and message_id not in clicks:
machine += 1
else:
other += 1
return {"suspected_machine": machine, "other_opens": other, "clicks": len(clicks)}
delivered = {
"a": datetime(2026, 11, 26, 9, 0, 0),
"b": datetime(2026, 11, 26, 9, 0, 0),
"c": datetime(2026, 11, 26, 9, 0, 0),
}
opened = [
("a", datetime(2026, 11, 26, 9, 0, 4)),
("b", datetime(2026, 11, 26, 9, 0, 6)),
("c", datetime(2026, 11, 26, 11, 30, 0)),
]
print(classify_opens(delivered, opened, clicks={"c"}))Comparing the two changes
| Aspect | App Tracking Transparency | Mail Privacy Protection |
|---|---|---|
| Channel | Mobile apps on iOS | Email in Apple Mail |
| User control | Per-app prompt, default off until allowed | Opt-in choice in Mail settings |
| Main signal lost | IDFA, so user-level cross-app matching | Open events and open timing, plus IP location |
| Signal that survives | In-app events, SKAN aggregate data | Clicks, replies, conversions |
| Replacement approach | SKAN, first-party data, modeling | Click-based metrics, preference data |
Practical adjustments
- Change what you report. Replace open rate as a headline metric with click-to-delivered rate, conversion rate per send, and revenue per recipient.
- Redesign automations. Triggers like "send a reminder if the email was not opened" now misfire for Apple Mail users. Trigger on clicks or on site behavior.
- Plan your conversion values. Decide which early in-app events best predict long-term value, then map them to SKAN conversion values before the campaign launches.
- Reconcile against your own data. Compare network-reported installs and revenue with your backend. Large gaps mean you should rely more on your own numbers.
- Ask for permission well. Explain the benefit to the user before the ATT prompt, and ask at a moment when the value is clear.
- Collect direct signals. Preferences and stated interests, covered in the zero-party data chapter, do not depend on passive tracking.
Exercise
A retailer's weekly newsletter shows open rates rising from 28% to 52% over the year, but click-through rates and sales are flat. A reminder automation sends a second email to everyone who did not open the first. What is the likely cause of the open-rate rise, and what two changes should the team make?
Show answer
Mail Privacy Protection preloads the tracking pixel for Apple Mail users who opted in, so many opens are machine fetches and not reading. The flat clicks and sales support this. The team should (1) stop using opens as the main success metric and report click-to-delivered rate, conversion rate, and revenue per recipient, and (2) change the reminder trigger so it depends on clicks or site behavior, since "did not open" misclassifies Apple Mail users who read the email and "opened" misclassifies those who did not.