Third-party cookies: should I stay, or should I go?

A practical guide to keep performing without 3rd party cookies in browsers like Google Chrome

  • Article
  • Technical Web Analytics
  • Data Analytics
third-party-cookies - image of a cookie
Koen Crommentuijn
Koen Crommentuijn
Technical Web Analyst
7 min
25 Apr 2024

In recent months there has been a lot to do about third-party cookies and their not-so-imminent-anymore end-of-life in the Google Chrome browser. Is this then much to do about nothing or should you brace yourself for a paradigm-changing shift? In this article we will lift the veil over this important topic. Also, we’ll share 7 hands-on tips to prepare yourself for what’s coming.

Update July 2024:

Since this blog was published, Google has revised its strategy for phasing out third-party cookies. Instead of completely blocking third-party cookies, Google will soon provide Chrome users the option to enable or disable these cookies across all their browsing activities.

Despite the longer-than-anticipated support of third-party cookies, we believe our previous recommendations remain relevant. These strategies will help organisations transition smoothly and adopt alternative approaches discussed in this article.

Third and first-party cookies: what’s in a name?

Firstly, with talk aplenty about third-party cookies, we would do well to pause and look at what third-party cookies are. The best way to start is by looking at an example. Let’s say you deploy the Facebook / Meta pixel via Google Tag Manager on your website. This pixel writes cookies in your visitors’ browsers to function. Since this is Facebook we’re talking about, these cookies must be written in third-party context, right? Well, no. For quite a while now, Facebook reads and writes cookies in a first-party context, meaning these cookies would not have been affected by Chrome’s phasing out of third-party cookies.

Where can we find third-party cookies then?

For this we need to look at applications loaded on a website that request resources from a third-party source and where said resource responds to the request by storing certain identifiers in the browser’s cookie storage. When this happens, the requested resource can read the information stored in the cookie storage both on its own domain as well as on the domain that requested the resources.

A practical example

This all sounds rather abstract so it’s best to look at a real-world example. On digital-power.com (yes, we also use third-party cookies), new visitors that have opted in to all cookies will have LinkedIn scripts loaded in their browser window. This script will trigger an http request to px.ads.linkedin.com. Digital Power does not share the same root domain as Linkedin so this is a request in a third-party context. In the image below you will find that the request to Linkedin.com results to cookies being set as a response. Since these cookies are set from the LinkedIn domain, they can both be read on linkedin.com as well as digital-power.com.

third-party cookies

Now wait a moment, Facebook also sends http requests to Facebook.com right? True, but no cookies are being written in those requests. Cookie writing and reading for the Facebook pixel is managed through a JavaScript API which is loaded by deploying the Facebook pixel from your website. Since the pixel is loaded from your own domain, all cookies it writes are handled in a first-party context, meaning that Facebook cannot read the cookies it stored on digital-power.com on any other domain.

Third-party cookies: the good, the bad and the ugly

Why all this fuss about third-party cookies right now? They provide a very easy way for large advertisers to track consumers across websites, thus allowing them to gain a deep understanding about a consumer’s behavior and preferences. As a consumer using Google Chrome without any adblocking enabled, there is little you can do against this type of cross-site tracking.

Why the fuss about Google Chrome?

You may have noticed that the recent commotion mostly centers around Google Chrome. This is because the Chrome browser was the last of the Mohicans when it came to allowing third-party cookies. Safari and other WebKit browsers alike have had a much stricter stance towards third-party cookies from the very beginning and have outlawed them completely in 2020. This means that in terms of the technical perspective, there is nothing new under the sun.

The impact on consumer privacy

To summarise, from a consumer’s perspective, their privacy initially appears to be better secured by phasing out third-party cookies. However, many large advertisers still rely heavily on this form of cross-site tracking and Google’s recent announcement has triggered a panicked response to capture individual information through other means, thus potentially exposing consumer privacy in ways that can be more harmful than third-party cookies were.

What you can do to optimise your marketing performance without third-party cookies

Despite the Q4-scheduled third-party cookie-pocalypse having been narrowly averted, it is still worthwhile to investigate the alternatives out there and how they affect advertising performance.

Even though third-party cookies will eventually go away, there are still many ways to keep your digital marketing strong. Here are 7 themes to focus on:

1. Figure out your reliance

First, see how much you're currently depending on third-party cookies. Knowing this will help you identify which parts of your advertising might be most affected. You can follow these instructions by Google or you can contact us if you need a hand.

2. Be ready for changes in campaign effectiveness

As the digital marketing industry adjusts, the effectiveness of your campaigns might not be as strong as you're used to. Planning for this possibility will help you manage your expectations and budget.

3. Investigate Google’s best practices

Google has introduced several tools and best practices designed to help advertisers transition away from third-party cookies. Consent Mode, for instance, influences how your Google tags operate, depending on the consent given by users. And features like Optimized Targeting and Performance Max use machine learning to help advertisers identify the most effective audiences for their campaigns.

You should remain critical though on how these features impact the privacy of your audience. Some features, such as the feature of automatic scraping of email addresses by Google Tag Manager, are in direct conflict with Google’s own privacy initiative.

4. Stay in the loop

Google’s effort on new ways to do advertising that respects user privacy is still ongoing. There are regular updates to their roadmap, tools and features. Keeping up with these updates is crucial for adapting your strategies in time.

5. Keep things under one roof

If you can, try to keep all your websites under a single main domain. When customer journeys cross different domains, information needs to be transferred from one to another domain, for example using third-party cookies, to connect these sessions together.With a single main domain, it becomes much easier to manage user, session, and permission data.

Migrating your data collection server-side is also a great way to keep working in a first-party environment, thus mitigating issues with cross-domain tracking and cookies expiration.

6. Broaden your marketing mix

Now's the time to dive deeper into other marketing strategies that don't need third-party cookies. Invest in contextual marketing (choose specific platforms and content that align with your ad’s theme), improve efforts in channels such as social media and email marketing, and work on improving your content. These areas let you connect directly with your audience and are a solid alternative to cookie-dependent ads.

7. Invest in your customer relationships

The relationship you build with your customers is fundamental regardless of the (im)possibilities of technology. Focus on improving your service and communication supported by the careful use of first-party data collection. Be clear about how and what data from your users is being used and give them control over their privacy.

Alongside a server-side implementation, building a customer data platform can help you reach that goal.

Look ahead to make the most of your digital advertising without third-party cookies

Losing third-party cookies is a big shift, but it's also a chance to build a more transparent and trusted digital advertising world. By focusing on direct relationships with your audience and making the most of first-party data, you can prepare for the changes ahead and continue to reach your marketing goals.

For digital marketers and managers, especially here in Europe, now is the time to come together, share experiences, and navigate these changes as a team. The future of digital advertising is still bright—it's just going to look a little different.

Need help dealing with the end of third-party cookies?

With our vast experience in integrating the latest Digital Analytics, Business Intelligence, and Marketing Solutions with Web and Mobile applications, our data consultants can be your data partner in this transition. Continue making an impact with your analytics and digital marketing with our tailor-made solutions.

We can work together on:

  • Improving your website and mobile apps to optimize the collection of first-party data.
  • Shaping your data strategy to comply with evolving privacy standards.
  • Integrating innovative technologies that prioritize user privacy while delivering actionable insights.
  • Consolidating your insights by implementing server-side tracking and work in a first party environment

Contact us or schedule a meeting directly here.

This is an article by Koen Crommentuin

Koen works as a Senior Technical Web Analyst at Digital Power. He specializes in designing and implementing digital analytics solutions for large and complex projects. Koen co-created the Digital Event Queue, an open-source data layer standard, and developed Tagbird, a handy Chrome extension for visualizing website data collection. His focus is on making digital integrations more robust, transparent, and effective.

Koen Crommentuijn

Technical Web Analyst

Co-written by Thomas Craenen

Thomas has been working at Digital Power as a Technical Web Analyst since 2019 and has specialised in working with Google tools in recent years.

Thomas Craenen

Technical Web Analyst

Co-written by Sarah Busson

Sarah has worked with both small and large companies to implement robust tracking solutions and her latest focus is on server-side tracking developments.

Sarah Busson

Technical Web Analyst

Receive data insights, use cases and behind-the-scenes peeks once a month?


Sign up for our email list and stay 'up to data':

You might also like:

Transform your web- and app data into actionable insights with server-side tracking

Server-side tracking is the process of collecting and processing data through a server rather than on the user's device. By migrating your tagging implementation to a controlled server environment, you improve data accuracy and protect user privacy. Turn your data into actionable insights and gain a full understanding of your users' interactions.

Read more
what is not server-side tracking

What is not server-side tracking?

Server-side tracking is becoming a hot topic among agencies, marketeers and analysts. A lot of information is available on the subject, but it is not always accurate. Server-side tracking has often been sold as a miracle solution against data loss, GDPR and other unethical challenges.

Read more

How can you tell if your GTM tagging server works?

There are reasons abound for deploying a tagging server on your website. This blog will not be about why it makes sense (or why perhaps in your case it doesn’t) to use server-side tagging. Instead we will jump forward in time and ask ourselves another pertinent question: ‘how can you tell if your tagging server is doing what it is supposed to?’

Read more

Measure ecommerce events in GA4 and Universal Analytics with only the updated datalayer pushes

With our variable in the Google Tag Manager Community Template Gallery it is easy to start using all the new ecommerce analytics capabilities that Google Analytics 4 offers while fully supporting the 'old' enhanced ecommerce of Universal Analytics. Find out how the variable works.

Read more
unive blog

Integration web and app data contributes to a 360-degree customer view

Univé is a Dutch insurance company that offers insurance, financial products, and services to both consumers and businesses. The company is focused on providing high-quality service and helping customers make responsible financial decisions. Since 2014, we have been working closely with Univé.

Read more

Switching from Universal Analytics to Google Analytics 4 (GA4)

On 14 October 2020, Google launched the new version of Analytics: Google Analytics 4 (GA4). Soon after the launch, it became clear that a number of important functionalities from Universal Analytics (GA3) were missing, and therefore the time to switch seemed far away. Fortunately, we see that the development team on the side of Google has not been idle. Some nice features have since been introduced within GA4 that have narrowed the gap between GA3 and GA4. This article answers the questions that are increasingly being asked about GA4.

Read more

How do I set up Google Tag Manager?

A tag management system such as Google Tag Manager (GTM) enables you to measure visitor behaviour on your website. You can also implement marketing pixels (such as Google Ads and Facebook) and cookie banners via this platform. This article gives you tips to keep in mind when setting up GTM. This allows you to collect reliable and usable data, and you will be less dependent on your web developers.

Read more

The impact of ITP on analytics and the user experience​

Intelligent Tracking Prevention (ITP) was launched by Apple in 2017 in an effort to restore "the balance the balance between privacy and the need for on-device data storage". With Intelligent Tracking Prevention, Apple aims to reduce cross-site tracking (following users across websites) by limiting the use of cookies. Find out what this means for you.

Read more
web analytics quality

How good Is your web analytics implementation?

How confident is your company in its web analytics data? In this article, we’ll first explain why web analytics tools can never provide 100% accurate data and why that’s not necessarily a bad thing. Then, we’ll dive into the practical side of things: how reliable are most web analytics implementations?

Read more

What is Tagbird, what do you use it for, and what can you do with it?

Tagbird is a Chrome extension developed by Digital Power. You can download it from the Chrome Web Store and add it to your browser. It is a debug/visualisation tool that provides a simple and clear insight into, among other things, the data layer, tag management events and analytics requests of a website. So you can quickly and easily test your entire analytics implementation with Tagbird.

Read more
people outside

Which data traineeship is right for you?

You are almost done with your studies and looking for an employer that offers you the opportunity to learn everything about the field of data. Or you are no longer challenged in your current position and would like to become more technical. In both cases, you do not want to follow unpaid courses, but you would like to get started as soon as possible for real customers, with a serious salary. Does this sound familiar? Then these data traineeships are really something for you.

Read more

What are cookies?

Cookies. This word comes up a lot in the world of marketing and online analytics. But what exactly are those cookies? And are there different types of cookies?

Read more