What first-party, second-party, third-party and zero-party data are, how they compare, and how publishers collect first-party data with valid consent.
First-party data is information a publisher or brand collects directly from its own audience on channels it owns, such as its website, apps, newsletters and CRM. Third-party data is collected by companies that have no direct relationship with the user, usually across many websites, and is then aggregated and sold or licensed to advertisers. In between sit second-party data, which is another company's first-party data shared with you through a direct partnership, and zero-party data, which users intentionally and proactively give you, such as preferences in a profile or answers to a survey.
The short answer for publishers: first-party data is more accurate, cheaper to use and under your control, but it is still personal data, so you need a lawful basis, usually consent, before you collect it and use it for advertising.
![]()
Data is the essence of mass personalisation and targeted marketing. Safari has blocked third-party cookies by default since 2020 and Firefox has isolated them with Total Cookie Protection by default since 2022. Google Chrome dropped its plan to remove third-party cookies, but cross-site tracking keeps getting less reliable, so first-party data with proper consent is pioneering the new way for marketing.
Marketers, publishers and brands are looking to improve on how they use first-party data, because of the ever evolving global data privacy laws and legislation.
There are new challenges for adapting to first-party data only in your digital marketing pipeline: how to collect first-party data, how to use, how to manage consent etc. The whole digital marketing ecosystem in the privacy age will be redefined.
Secure data, privacy and compliance by obtaining consent then respecting user’s preferences are the foundation of the new digital marketing world.
| Zero-party data | First-party data | Second-party data | Third-party data | |
|---|---|---|---|---|
| Source | Users tell you directly and on purpose | Your own website, apps, CRM, newsletters and subscriptions | A partner's first-party data shared directly with you | Data providers and brokers that collect it across many sites |
| Ownership | You | You | The partner, shared under a contract | The data provider; you license it |
| Accuracy | Very high, but limited volume | High, based on real interactions with you | High, depends on the partner | Lower, often inferred, aggregated or outdated |
| Consent under GDPR | Lawful basis for each purpose; consent for ad personalisation | Lawful basis for each purpose; consent for non-essential cookies and personalised ads | Both parties need a lawful basis and must tell users about the sharing | You must check the provider obtained valid consent that covers your use |
| Consent under CCPA | Notice at collection | Notice at collection; opt-out if you sell or share it for cross-context behavioural advertising | Sharing for value is a sale or sharing, so opt-outs apply | Opt-out of sale and sharing; data brokers must register in California |
| Examples | Survey answers, preference centre choices | Newsletter sign-ups, reading history, subscriptions, on-site behaviour | A retailer's purchase segments shared with a publisher | Interest segments bought from data marketplaces |
| Use in advertising | Personalised content and offers | Audience segments, private marketplace deals, measurement | Extending reach with a trusted partner | Broad reach and prospecting, shrinking as browsers restrict cookies |
For publishers, first-party data is the asset to build on: it comes from readers who already trust you, it can be packaged into audience segments for advertisers, and you control how consent is collected and respected.
First-party data is information that is collected about a user via a company where a user is directly an audience or a customer. The company owns the digital marketing data sources such as websites, mobile apps, CRM, social media etc.
First-party data is used to identify consumer preferences, including:
First-party data is considered more valuable because of the quality of the data, the trust and relationship you have built with the user.
First-party data collected with consent can also be segmented and monetised like third-party data by using a first-party data management platform like PubSurge.
Data is important for a business to make better decisions, better marketing, utilise personalised ads and services to increase the chance of a conversion.
There are reasons why first-party data is more important in the future:
First-party data is essentially data that is generated when a user interacts with the assets of your business.
Examples of first-party data:
The normal ways of collecting first-party data include Google Analytics, mobile apps, social media, customer surveys, support tickets and messages, customer service emails, SMS, CRM and point of purchase interactions. You can also collect additional data such as user interactions, gather and manage all first-party data with a Data Management Platform (DMP) like PubSurge.

While first-party data is the data that you own, second-party and third-party data is what you can buy from another company or exchange value with another company to benefit both parties through user collected data.
Second-party and third-party data is data from users that you don’t have a direct relationship with. So the trust and data quality is lower.
Zero-party data is a subset of first-party data that users volunteer on purpose, such as preferences or survey answers. See the comparison table above for a side-by-side view.
A first-party cookie is set by the website the user is visiting, the domain shown in the address bar. Publishers use first-party cookies for logins, preferences, analytics and their own audience data. A third-party cookie is set by another domain whose script, pixel or iframe loads on the page, such as an ad tech vendor, and can recognise the same user across different websites.
Under the GDPR and the ePrivacy rules, non-essential cookies need consent before they are set, whether they are first-party or third-party. Learn more in All About Cookies and see how to block third-party cookies in each browser.
CCPA and GDPR have redefined how a company can receive, store, and distribute customer data. The general rules are keeping the process of using first-party data transparent, collecting consent for first-party data and allowing users to update the data and opt out if they want.
Firstly, you have to provide a solid privacy policy to users and keep the process transparent about how you will use a user's first-party data.
Secondly, you must collect explicit consent from users for first-party data with a CMP like UniConsent.
Thirdly, provide preference management features to allow users to update and change the data and consent they have given, making it an on-going relationship between the company and the user.
Due to privacy laws such as GDPR, CCPA companies need to take the audience’s consent before collecting personal data and respect their choices or allow users to opt out through a clear and easy to understand way.
Under the GDPR, every use of first-party data needs a lawful basis under Article 6, such as consent, contract or legitimate interests, and personalised advertising normally relies on consent. On top of that, the EU ePrivacy rules require consent before storing or reading non-essential cookies and similar identifiers on a user's device. This applies to first-party cookies for analytics and personalisation just as much as to third-party cookies.
Collecting consent is only half of the job: the choice has to reach every tag and ad partner that uses your first-party data.
For a broader look at how privacy regulations have reshaped digital marketing strategy, including consent rate optimisation, compliant audience building, and first-party data collection at scale, see our guide to privacy marketing.
UniConsent for publishers is a Google-certified, IAB TCF registered CMP that puts your first-party data on a clear legal footing:
UniConsent consent management platform is a part of Transfon User Experience Platform serve tens of millions of users per day for global marketers and publishers to provide a seamless user experience. Contact us to know more: hello@uniconsent.com
First-party data is collected directly by you from your own audience on your website, apps, newsletters or CRM. Third-party data is collected by another company that has no direct relationship with your users, usually across many websites, and is then sold or licensed to you. First-party data is more accurate and under your control; third-party data offers scale but little visibility into how consent was obtained.
Zero-party data is information a user deliberately shares with you, such as preferences, survey answers or newsletter topics. Second-party data is another company's first-party data that it shares with you directly under a partnership agreement.
Under the GDPR you need a lawful basis for every use of personal data, and in the EU and UK you need consent before setting non-essential cookies, including first-party analytics and advertising cookies. Personalised advertising normally relies on consent. Under the CCPA you must give notice at collection and let users opt out of the sale or sharing of their data.
No. Chrome still allows third-party cookies by default. In April 2025 Google said it would keep its current approach and not launch a standalone choice prompt, and in October 2025 it announced the retirement of most Privacy Sandbox APIs. Safari and Firefox continue to block or isolate third-party cookies by default.
A consent management platform asks users for consent, blocks tags until they agree, records proof of consent and passes each choice to ad partners through the IAB TCF, Google Consent Mode and IAB GPP. UniConsent does all of this and can be served from your own first-party domain.
Complete consent management for digital publishers.
Learn more →Certified IAB TCF implementation for GDPR compliance.
Learn more →Google Additional Consent Mode for your ad stack.
Learn more →PIPEDA-compliant consent with IAB TCF Canada.
Learn more →Offer users a choice between ads or ad-free experience.
Learn more →Cookie consent for Google AMP pages.
Learn more →Optimize IAB TCF and Google vendor lists.
Learn more →Get started to make your website and application compliant for EU GDPR, US CPRA, CA PIPEDA etc
Sign upPrivacy laws, consent and compliance updates, a few emails a month.