Home / Tutorials / Adtech Basics

01 / ADTECH BASICS · LESSON 7

First-Party, Second-Party and Third-Party Data

By The AdTech Stack3 min readUpdated 2026-11-30

Targeting is what makes digital advertising valuable, and targeting runs on data. The industry sorts data by who collected it, because that decides how accurate it is, how it can be used and what privacy rules apply.

First-party Collected by you, from yourown users Site visits, purchases App activity, logins CRM, email lists Most accurate · you own it Second-party Another company's first-partydata, shared with you directly Airline shares with hotel Retailer shares with brand Often via clean rooms Accurate · needs a partnership Third-party Collected by companies with nodirect relationship to the user "In-market for cars" Demographic segments Bought via data marketplaces Large scale · less accurate
Data is classified by who collected it and whether the user has a direct relationship with them.

First-party data

Data a company collects directly from its own customers or visitors: pages they read on your site, products they bought, what they did in your app, their email address when they signed up.

Example: An online shoe store knows a visitor looked at running shoes three times this week. It can show that visitor running-shoe ads later (this is called retargeting).

Why it's valuable: it's accurate, fresh, and the company has a direct relationship with the user, which makes getting consent simpler.

Second-party data

Someone else's first-party data, shared directly with you through a partnership.

Example: An airline shares (with consent and privacy protections) that certain customers booked flights to Goa, so a hotel chain can reach them with offers.

Today this sharing often happens inside data clean rooms, secure environments where two companies can match and analyse data without handing raw personal data to each other. Course 06 covers clean rooms.

Third-party data

Data collected by companies that don't have a direct relationship with the user, usually by tracking people across many websites and apps, then packaged into segments and sold.

Example: A data company builds a segment of "people in-market for a new car" based on browsing across many automotive sites, and advertisers buy that segment in their DSP.

Strengths: huge scale; easy to buy. Weaknesses: less accurate, often stale, and under heavy pressure from privacy laws and browser changes.

Zero-party data

A newer term for data a user intentionally tells you: preferences in a profile, answers to a quiz ("what's your skin type?"), or chosen interests. It's very accurate because the user provided it on purpose.

Contextual data: targeting without personal data

Not all targeting needs data about the person. Contextual targeting uses data about the page or content: an ad for running shoes on an article about marathon training. It doesn't depend on tracking users, so it's becoming more popular as privacy rules tighten.

Why first-party data keeps getting more important

  1. Browsers limit tracking. Safari and Firefox block third-party cookies by default, and mobile platforms restrict tracking identifiers. That weakens third-party data built on cross-site tracking.
  2. Privacy laws. Rules like Europe's GDPR and India's Digital Personal Data Protection (DPDP) Act require a valid legal basis, often consent, to process personal data, and give users rights over it.
  3. Accuracy. First-party data reflects real behaviour with your brand, so it usually performs better.

This is why publishers push logins and newsletters, and why retailers with lots of shopper data have built their own ad businesses (retail media). Course 06 goes deeper into cookies, consent and identity.

Key takeaways

  • First-party: you collected it from your own users. Most valuable.
  • Second-party: a partner's first-party data, shared directly.
  • Third-party: collected by companies with no direct user relationship; large but less reliable and declining.
  • Zero-party: data the user deliberately gives you.
  • Contextual targeting uses the content, not the person.

Interview questions

  1. What is the difference between first-party and third-party data? First-party is collected directly from your own users; third-party is collected by others without a direct relationship and usually sold as segments.
  2. What is retargeting, and what data does it use? Showing ads to people who already interacted with your site or app; it uses first-party data.
  3. Why is contextual targeting growing? It doesn't depend on tracking individual users, so it's less affected by privacy rules and browser restrictions.
  4. What is a data clean room? A secure environment where companies can match and analyse combined data without exposing raw personal data to each other.