TapCub is live — analytics, insights and live chat, free on one platform
Glossary

What are third-party cookies? How they work and what replaces them

A third-party cookie is set by a domain other than the one in the address bar, usually by an embedded ad, pixel or widget. How to tell them apart from first-party cookies, which browsers block them, and what breaks.

Ethan Brooks Reviewed by Lucas Hayes Also called 3rd party cookie Last updated Nov 4, 2026 Glossary

Quick answer

A third-party cookie is a cookie set by, and sent to, a domain other than the site shown in the address bar, typically by an embedded ad, tracking pixel, social button or widget. It lets that other domain recognise the same browser across different sites.

What is a third-party cookie?

A cookie is first-party or third-party only by one rule: does the domain that sets it match the site in the address bar?

  • First-party: set by the site you are visiting. Used for logins, carts and preferences.
  • Third-party: set by another domain whose content is embedded in the page, such as an ad server, a tracking pixel, a social share button or a video player. Because the same third party is embedded on many sites, its cookie can recognise one browser across all of them.

To be sent in a cross-site context, a cookie must be marked SameSite=None; Secure.

A sample page

A visitor opens shop.example.com/product (sample):

Cookie set byPurposeType
shop.example.comCart and login sessionFirst-party
shop.example.comLanguage preferenceFirst-party
ads.example.net (pixel)Retargeting across sitesThird-party
video.example.org (embedded player)Player settings and trackingThird-party

Only the last two disappear when a browser blocks third-party cookies. The cart and login keep working.

Browser status

BrowserDefault behaviour
SafariBlocks third-party cookies
FirefoxIsolates them per site (Total Cookie Protection), so they cannot track across sites
ChromeAllows them by default; users can block them. Google said in 2025 it would keep this user-choice approach instead of phasing them out

What breaks without them

  • Breaks: cross-site retargeting audiences, view-through conversion tracking, frequency capping across sites, some embedded logins and comment widgets.
  • Keeps working: your own login, cart and preferences; analytics that runs on your domain or writes no cookie; server-side conversion events.

Analytics without third-party cookies

Prefer measurement that does not depend on them: first-party data, server-side events and cookieless counting. TapCub's website script writes no cookie and no local storage, so browser cookie blocking does not change its visitor counts. See cookieless analytics and first-party data strategy.

See also

Was this explanation clear?

We use your answers to fix and expand this page.

Ethan Brooks

Solutions Engineer

Covers SDKs, API integrations, and data implementation, with an emphasis on validation, system interoperability, and troubleshooting.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is the difference between first-party and third-party cookies?

It depends only on who sets the cookie relative to the address bar. A cookie from shop.example.com on shop.example.com is first-party; a cookie from ads.example.net embedded on that page is third-party.

Are third-party cookies going away?

Safari and Firefox already block or isolate them by default. Google announced in 2025 that Chrome would keep them under user choice instead of phasing them out, so they still work for many Chrome users.

Does blocking third-party cookies break analytics?

Analytics that runs on your own domain or writes no cookies is not affected. Cross-site ad retargeting, view-through attribution and some embedded logins are.

Do I need consent for third-party cookies?

In many regions, yes, when they are not strictly necessary. Requirements vary by country; this is not legal advice.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics