Sub topic 5
Why the shift: privacy laws and browser changes
This chapter explains the two forces that pushed marketers toward first-party and zero-party data: privacy regulation and changes in browsers and operating systems. It assumes you know what a cookie is, you have used web analytics and an email platform, and you understand basic audience segmentation. It is not legal advice. It gives you the working model to ask better questions of your legal and engineering teams.
Two pressures, one result
For about fifteen years, much of digital marketing ran on third-party cookies. A third-party cookie is set by a domain other than the site you are visiting, such as an ad network. It let that network recognize one browser across many sites. Advertisers used it for retargeting, frequency capping, audience buying and cross-site attribution.
Two independent forces weakened this model:
- Regulation limits what personal data you may collect, on what basis, and what you must tell people.
- Platform changes limit what browsers and devices let your tags and trackers do, whatever the law says.
The practical result is the same. Data you collect directly, with clear permission, stays usable. Data that depends on tracking people across sites loses reach, accuracy or legality.
Privacy regulation: the working model
You do not need to memorize statutes. You need to understand four ideas that recur across laws.
1. Personal data is defined broadly
Under the EU's General Data Protection Regulation (GDPR), personal data is any information relating to an identifiable person. That includes email addresses, but also cookie IDs, device IDs and IP addresses. A common error is to treat a pseudonymous cookie ID as "anonymous". If it can single out a person or device over time, regulators generally treat it as personal data.
2. Processing needs a legal basis
GDPR requires a lawful basis for each purpose of processing. Two matter most to marketers:
- Consent: a freely given, specific, informed and unambiguous opt-in. Pre-ticked boxes do not count, and refusing must be as easy as accepting.
- Legitimate interest: a balancing test where your business purpose is weighed against the person's rights. It can cover some low-risk uses, such as basic fraud prevention or certain direct marketing to existing customers, but it is not a general escape from consent.
Separately, the EU ePrivacy Directive, implemented through national laws, requires consent before storing or reading information on a user's device, such as setting an advertising cookie. This rule applies even when the data is not strictly personal. That is why cookie banners exist. Strictly necessary cookies, such as a shopping cart or login session, are exempt.
3. Purpose limitation
Consent is tied to a purpose. A person who gave their email for order updates has not agreed to profiling for ads. This is why the chapter on consent management records purpose and timestamp with each preference. It also explains why buying a list from a broker is risky: you cannot show that the people on it agreed to your use.
4. Opt-in versus opt-out
Regimes differ in their default:
| Regime | Typical model | What it means in practice |
|---|---|---|
| EU/UK GDPR and ePrivacy | Opt-in for most tracking and marketing | No non-essential cookies or tags until the user agrees |
| California CCPA/CPRA | Notice plus opt-out of "sale" or "sharing" | You may collect, but must honor opt-out requests, including browser-based signals such as Global Privacy Control |
| Many other US states | Mostly opt-out, with opt-in for sensitive data | Rules differ by state; check thresholds and definitions |
Do not assume one banner design satisfies every region. The sharing of data for cross-context behavioral advertising is what the California laws target most directly, and that is exactly the activity third-party data supports.
Individuals also gain rights: to access their data, correct it, delete it and object to certain processing. Your data architecture must be able to find and act on one person's records. Penalties can be large. GDPR fines can reach 4% of global annual turnover or 20 million euros, whichever is higher, and regulators have fined companies for consent banners that made refusal harder than acceptance.
A small illustration
The following Python sketch shows the logic behind a region-aware tag decision. It is a simplification for learning, not a compliance tool.
OPT_IN_REGIONS = {"EU", "UK"}
def may_fire_ad_tag(region: str, consent_granted: bool, opted_out_signal: bool) -> bool:
"""Decide whether an advertising tag may run for a visitor."""
if region in OPT_IN_REGIONS:
# Opt-in model: no consent means no tag.
return consent_granted
# Opt-out model: tag may run unless the visitor has opted out,
# for example through a Global Privacy Control signal.
return not opted_out_signal
print(may_fire_ad_tag("EU", consent_granted=False, opted_out_signal=False)) # False
print(may_fire_ad_tag("US-CA", consent_granted=False, opted_out_signal=False)) # True
print(may_fire_ad_tag("US-CA", consent_granted=False, opted_out_signal=True)) # FalseIn real systems this decision is made by a consent management platform and enforced by your tag manager. The point is that the default depends on the regime, and that a missing signal does not mean "yes" everywhere.
Browser and device changes
Regulation tells you what you may do. Browsers and operating systems determine what is technically possible.
Safari and Firefox
Apple's Safari uses Intelligent Tracking Prevention (ITP). It blocks third-party cookies by default and limits first-party cookies set through JavaScript. In many cases such a cookie expires after 7 days, or after 24 hours when the visit came from a link flagged as cross-site tracking. Firefox's Enhanced Tracking Protection blocks known trackers and third-party cookies by default.
A consequence that surprises many teams: a returning visitor who comes back after eight days may be counted as new. Repeat-visit counts, attribution windows and audience sizes in analytics all shrink in these browsers. Cookies set by your own server in an HTTP response, on your own domain, are treated more favorably than script-set cookies, which is one reason server-side tagging is popular. Treat that as a technical measure for accuracy, not a way around consent. The legal requirement still applies.
Chrome
Chrome holds the largest browser share, so its plans mattered most. Google repeatedly delayed its plan to remove third-party cookies. In 2024 it said it would not remove them and would instead work on user-choice controls, and it later retired much of its Privacy Sandbox proposal set. Check the current state before you plan, because it has changed several times. The lesson for marketers is that planning on a single browser's timeline was a mistake. Safari and Firefox already restrict third-party cookies, regulation still requires consent, and users can block cookies themselves.
Mobile and email
- App Tracking Transparency (ATT): since iOS 14.5, apps must ask permission before tracking users across other companies' apps and sites. Many users decline, so the device advertising identifier is unavailable for those users. Mobile attribution and app-install retargeting lost precision as a result.
- Mail Privacy Protection: introduced with iOS 15, it can preload email content, including tracking pixels, through proxy servers. Apple Mail opens are therefore often recorded whether or not a person read the message. Open rate becomes unreliable as a measure and as a trigger for automations. Clicks, conversions and stated preferences are sturdier.
- Ad blockers and privacy tools: extensions, privacy-focused browsers and VPNs add further gaps that no single vendor controls.
What actually changes for marketers
| Past practice | Problem now | First- or zero-party replacement |
|---|---|---|
| Retargeting through third-party cookies | Cookie unavailable or consent missing | Retargeting from consented email or logged-in audiences |
| Buying audience segments from brokers | Unclear consent, declining match rates | Segments from your own behavior and stated interests |
| Open-rate-triggered automations | Inflated opens from Mail Privacy Protection | Click, purchase or preference triggers |
| Guessing interests from browsing across sites | Cross-site view is fragmented | Asking customers directly through preference capture |
| Long cookie-based attribution windows | Cookies expire in days in some browsers | Logged-in identity, server-side events, incrementality tests |
Notice the pattern. Each replacement depends on a known relationship with the customer: a login, an email address, a purchase or a stated preference. That is the core reason this tutorial focuses on data you collect yourself.
Common errors
- Treating the cookie banner as the whole program. The banner is the capture point. You also need to store the choice, respect it in every tool, and let people change it.
- Assuming one global setting. Opt-in and opt-out regimes coexist. Use region-aware rules or apply the strictest standard everywhere.
- Waiting for a deadline. Because the Chrome timeline moved, some teams paused work. Regulation and other browsers had already reduced the value of third-party data.
- Measuring with unreliable signals. Email opens and short-lived cookie counts understate returning users and overstate engagement. Pick measures that survive these changes.
- Reading a workaround as a loophole. Moving a tag to the server changes where code runs, not whether you need permission.
Exercise
A visitor in Germany lands on your site, and your analytics tag sets an advertising cookie before the visitor interacts with the banner. A second visitor in California opts out through Global Privacy Control. In which case does the setup most clearly conflict with the rules described here, and why? Name one measurement you would stop relying on if most of your subscribers use Apple Mail.
Show answer
The German visitor is the clearest conflict. Under the ePrivacy Directive and GDPR, storing an advertising cookie on the device requires prior opt-in consent, and none was given. The California visitor must be handled by honoring the opt-out signal for sale or sharing, so a tag that ignores that signal would also be a problem, but a default of tracking until opt-out is permitted in that model. With many Apple Mail subscribers, stop relying on email open rate, because Mail Privacy Protection can preload tracking pixels and record opens that never happened. Use clicks, conversions or stated preferences instead.
Exercise
Safari caps cookies set by JavaScript at 7 days in many cases. A customer visits on day 1 and again on day 9 without logging in. How will your analytics likely treat the second visit, and what first-party approach lets you recognize the customer correctly?
Show answer
Analytics will likely treat the day 9 visit as a new visitor, because the script-set cookie has expired. Recognizing the customer reliably requires a known identity, such as a login or a consented email link, so the visit can be tied to the existing profile. Server-set first-party cookies can also extend lifetime, but they still require consent where the law demands it.