Sub topic 4
Privacy law basics: GDPR, ePrivacy and US state laws
This chapter assumes you know what a cookie is, how a tag manager fires tags, and the basic funnel vocabulary of digital marketing. It is a working overview for marketers, not legal advice. Have counsel confirm how these laws apply to your business.
Why the law matters for tracking
Browsers and platforms restrict tracking by changing software. Regulation restricts it by changing what you are allowed to do with data. Both reduce signal, but regulation applies to you even when the browser would allow the tracking. The rules also differ by where your visitors live, not where your company is based.
GDPR: the General Data Protection Regulation
The GDPR is the European Union's data protection law. It also applies in the European Economic Area. The UK has a near-identical UK GDPR. It covers any organization that processes personal data of people in these regions, including organizations based elsewhere.
Personal data is any information that relates to an identifiable person. Regulators treat cookie IDs, device IDs, IP addresses and hashed emails as personal data. Hashing does not remove the duty to comply.
Three ideas matter most for marketers:
- Lawful basis. Every use of personal data needs a legal reason. For ad tracking and profiling, this is almost always consent. The other common basis, legitimate interests, rarely covers cross-site advertising tracking.
- Valid consent. Consent must be freely given, specific, informed and unambiguous. Pre-ticked boxes and "continue browsing means yes" do not count. Refusing must be as easy as accepting, and people must be able to withdraw consent later.
- Data subject rights. People can ask to see, correct, delete or export their data, and can object to marketing uses.
Fines can reach 20 million euros or 4 percent of worldwide annual revenue, whichever is higher.
ePrivacy: the cookie rule
The ePrivacy Directive is a separate EU law, enacted through national laws. It governs storing or reading information on a user's device. That covers cookies, local storage, device fingerprinting and tracking pixels.
Its rule is simple. You need consent before you set or read anything on the device, unless it is strictly necessary to deliver a service the user asked for. Analytics and advertising cookies are not strictly necessary. This is why consent banners exist, and why tags must wait for the visitor's choice.
ePrivacy governs the device access. The GDPR governs what you do with the resulting data. A tracking setup usually needs to satisfy both.
US state laws
The US has no single federal privacy law for marketing. Instead, many states have passed their own, including California (CCPA and CPRA), Virginia, Colorado, Connecticut, Texas and others. They differ in detail, but most share this pattern:
- They are mostly opt-out. You may collect data by default, but people can refuse the "sale" or "sharing" of data and targeted advertising.
- You must publish a privacy notice and provide a clear opt-out link.
- Many require honoring a browser signal such as Global Privacy Control (GPC) as a valid opt-out.
- Sensitive data, such as health or precise location, usually needs opt-in consent.
Comparing the regimes
| Question | EU / UK | Most US states |
|---|---|---|
| Default for ad tracking | Off until the visitor opts in | On until the visitor opts out |
| Device signals such as GPC | Not the legal mechanism | Often must be honored |
| Main marketing impact | Banner and consent gating | Opt-out links and signal handling |
Common errors
- Loading tags before the consent choice is known.
- Treating hashed emails as anonymous.
- Applying one country's rules to every visitor.
- Ignoring GPC signals from US visitors.
- Forgetting that consent choices must be stored and respected by downstream tools, including server-side uploads.
Exercise
A visitor in Germany and a visitor in Texas both load your site. Without any action from either, which one may your ad tags fire for, and why?
Show answer
The Texas visitor, because most US state laws are opt-out and tracking can run until the person opts out or sends a GPC signal. The German visitor is covered by the ePrivacy Directive and the GDPR, which require opt-in consent before ad tags set or read anything on the device.