Answer 48 of 50
Balancing Personalization and Dynamic Content With User Privacy
The balance depends on a distinction privacy law draws more widely than the everyday sense of “personal.” Under the EU’s GDPR, “personal data” includes location data and online identifiers such as IP addresses and cookie IDs, not only names and email addresses. Personalizing by context can reduce how much you know about a person, but it does not automatically take you outside privacy law. The work is choosing the least revealing signal that does the job, recording the legal basis for it, and making consent real where it is required.
Signals ranked by how much they reveal
Article 4(1) of the GDPR defines personal data as information about a person who can be identified “directly or indirectly,” including “by reference to an identifier such as a name, an identification number, location data, an online identifier” or other factors. Recital 30 gives IP addresses and cookie identifiers as examples of online identifiers. With that definition in hand, five personalization signals sort roughly like this:
| Signal | Example | Treated as personal data under the GDPR? | What it needs before you use it |
|---|---|---|---|
| Layout adapted in the browser, nothing stored or sent | A responsive layout that changes with screen width | No identifier is collected by you | Nothing beyond normal site practice |
| Location derived from an IP address | Showing the nearest store or local weather | Yes: IP addresses and location data are listed | A lawful basis and a privacy notice that says so |
| Behavior within one visit, kept in a cookie or local storage | "Recently viewed" items on the next page | It can be, if it is linked to the visitor; storing it on the device falls under cookie rules either way | Consent, unless the storage is strictly necessary for something the visitor asked for |
| A profile built across visits | Recommendations based on months of browsing | Yes | A lawful basis, consent for the cookies involved, and access and deletion handling |
| Preferences the visitor tells you | A style quiz or "topics I follow" settings | Yes, once tied to an account or identifier | A clear purpose stated at the moment you ask |
The last row is also known as zero-party data. It has the advantage that the visitor knows exactly what they shared and why, but it is still personal data and still needs a stated purpose.
A lawful basis is not the same as consent
The GDPR does not require consent for every use of personal data. Article 6(1) says processing “shall be lawful only if and to the extent that at least one of the following applies” and then lists six conditions; consent is one of them. Others include performing a contract and the controller’s legitimate interests, the latter only where the person’s interests and rights do not override them.
Cookie consent comes from a different law. Article 5(3) of the EU ePrivacy Directive, in the revised text published on legislation.gov.uk, allows storing or reading information on a user’s device “only … on condition that the subscriber or user concerned has given his or her consent,” with an exception for storage or access that is “strictly necessary” for a service the user explicitly requested. Whether a cookie qualifies depends on what the visitor requested: a “recently viewed” list is personalization they did not ask for, while a cart they are filling is much closer to the service itself.
Which laws apply to your site
The GDPR reaches businesses outside the EU in two situations listed in Article 3(2): when they offer goods or services to people in the EU, or when they monitor “their behaviour as far as their behaviour takes place within the Union.” Behavioral personalization of EU visitors can fall under that second test, so a US site with EU traffic should not assume the GDPR is someone else’s problem.
In the United States, the IAPP’s state privacy law report, last updated October 27, 2025, analyzes the 19 states that had passed comprehensive privacy laws, starting with California’s CCPA in 2018. Each law sets its own thresholds. For California, the California Privacy Protection Agency lists the CCPA thresholds for a for-profit business that does business in the state: gross annual revenue of $26.625 million or more (effective January 1, 2025), buying, selling, or sharing the personal information of 100,000 or more California residents or households, or deriving 50% or more of annual revenue from selling or sharing California residents’ personal information. The revenue figure carries an effective date because it changes, so check the agency’s page rather than an older article.
Penalties are not abstract. GDPR Article 83 allows fines of up to EUR 20 million or, for a company, up to 4% of total worldwide annual turnover of the preceding financial year, whichever is higher, for infringing the basic principles of processing, including the conditions for consent, and data subjects’ rights. Other listed infringements carry a lower ceiling of EUR 10 million or 2%.
Consent screens that hold up
Several banner patterns fail on the law’s own terms, not only on ethics:
- Pre-ticked boxes. GDPR Recital 32 says “Silence, pre-ticked boxes or inactivity should not therefore constitute consent.”
- Hard-to-find withdrawal. Article 7(3) says “It shall be as easy to withdraw as to give consent.” A one-click accept with a five-step withdrawal does not meet that.
- Ignoring browser opt-out signals in California. The CPPA states that businesses must honor opt-out preference signals that meet certain requirements, such as the Global Privacy Control, as a valid request to opt out of sale or sharing.
- A “no” that changes nothing. If a visitor declines marketing cookies, the marketing tags should not load. Check this with your browser’s network panel after declining; a banner that records a refusal but still fires the tags defeats the purpose of asking.
Design follows from these rules: put refusal at the same step and with the same effort as acceptance, group purposes in plain language, and give visitors a permanent link to change their choice. How the banner itself should behave on the page, including when an overlay hurts the experience, is covered in when popups and modals hurt user experience.
Third-party cookies have not disappeared everywhere
Safari has blocked cross-site cookies by default since WebKit’s March 24, 2020 update, which said “Cookies for cross-site resources are now blocked by default across the board.” Chrome went another way. In an April 22, 2025 Privacy Sandbox update, Google said it would “maintain our current approach to offering users third-party cookie choice in Chrome” and would not roll out a standalone prompt for third-party cookies; Chrome’s Incognito mode blocks them by default. Plan for both: personalization that does not depend on cross-site tracking, and consent handling for the third-party tools that still work where they are allowed.
Explain what you do, and make the controls real
Privacy also shows up in the product, not only in the policy:
- Say why a recommendation appears. A line such as “Based on items you viewed today” tells the visitor which signal you used.
- Make controls change something visible. If someone turns off personalized recommendations, the next page should look different. A switch that changes nothing teaches people the controls are decoration.
- Answer access requests. Article 15 gives people the right to confirm whether you process their data and says “The controller shall provide a copy of the personal data undergoing processing.” A self-service download is one way to meet that.
- Collect less and keep it for less time. Decide the retention period for each signal before you collect it, and delete on schedule.
- Limit who inside the company can see it. Role-based access and a periodic check of who accessed what reduce exposure if something goes wrong.
Measure whether personalization earns its data
The claim that personalization always lifts conversion is something to test on your own site, not assume. Hold back a random share of eligible visitors who see the generic experience and compare conversion and revenue per visitor between the two groups over a period you set in advance. If the personalized version does not beat the holdout by enough to justify the data and consent overhead, simplify. The mechanics of running that comparison are in how A/B testing should guide design decisions.
Start with the least revealing signal that achieves the goal, write down the lawful basis for each one you keep, and treat consent and opt-out signals as rules rather than preferences. This is general information about EU and US law as published, not legal advice; a site with visitors in several jurisdictions should confirm its setup with privacy counsel.