DevNJ Make your business ease
Column /

Does Server-Side Tagging Replace Cookie Consent? What It Changes in GDPR

Column › Site operations

Does Server-Side Tagging Replace Cookie Consent? What It Changes in GDPR

"Move to the server and you no longer need cookie consent." If you look into server-side tagging (server-side Google Tag Manager), you may meet this claim. Fewer gaps in measurement, personal data kept under your control, and a lighter relationship with the consent banner sound like a good deal.

This article is for owners of small Dutch companies and ZZP (zelfstandige zonder personeel, freelancers without staff), and for businesses planning a European site. It sets out what server-side tagging changes and does not change under the GDPR, and how to decide whether to adopt it. The scope is the design of the measurement route. Consent setup itself is covered in Is GA4 GDPR-Compliant? and Meta tracking in Meta Pixel and Conversions API Under GDPR. Official documents and price pages were checked on 20 November 2026. This is not legal advice. If your case needs a firm answer, ask a lawyer.

Main sources: EDPB Guidelines 2/2023 (adopted 7 October 2024), Google's server-side tagging, Cloud Run setup and custom domain documentation, Stape's pricing page and its article on server-side tracking and GDPR, the Dutch government's business guidance on cookies (ondernemersplein.overheid.nl), and the Telecommunicatiewet on wetten.overheid.nl. All checked on 20 November 2026. The Autoriteit Persoonsgegevens (AP, the Dutch data protection authority) cookie page could not be fetched that day, so the AP position rests on DevNJ's check of 30 October 2026 and the government guidance.

What you will learn The short answer
The misconception The route and the consent question are separate matters (chapter 1)
How it works Browser, then your server, then each platform; the browser tag stays (chapter 2)
What decides consent Whether information is stored on or read from the device (chapter 3)
Changes and non-changes Route and fields change; consent and legal basis do not (chapter 4)
Fields you can drop IP, user agent, URL, contact data; identifiers may remain (chapter 5)
Carrying consent Pass the consent state to the server and block there too (chapter 6)
Cost Stape 0 to 167 USD a month; Cloud Run about 90 USD for two servers (chapter 7)
When to adopt Check your situation in the table (chapter 8)

1. The misconception: "server-side means no consent"

Descriptions of server-side tagging often contain accurate statements: no cookie in the browser from the platform, fewer third-party scripts, data managed on your own server. The jump from there to "so consent is not needed" is where the argument breaks.

1-1. How the misconception forms

Three true facts get pushed towards one conclusion.

Fact Tempting conclusion Actual position
Data goes from the server to the platform The browser's cookies do not matter The step from browser to your server remains
It runs on your own domain It is first-party, so no consent Whether consent is needed does not depend on whose domain it is
You can drop IP and similar fields It is no longer personal data Only some fields go; identifiers and behaviour may remain

The right-hand column is the argument of this article. A different route changes how things look technically, but the conditions that decide whether consent is needed do not move with the route.

1-2. Vendors do not claim it either

Stape, which sells server-side hosting, says in its own article that server-side tracking does not mean you can process data without consent. The same page advises setting a consent status, adding a cookie banner and consulting legal counsel. The tool is not sold as a replacement for consent; the misconception grows out of short sales lines and summaries.

1-3. What this article covers

Here the question is the design of the measurement route: what changes and what does not (chapters 3 to 5), how to carry consent to the server (chapter 6), the cost range (chapter 7) and the decision guide (chapter 8).

2. How server-side tagging works

Server-side tagging uses Google's server-side tag manager to move the destination of your measurement from the visitor's browser to a server you operate.

2-1. Browser-direct versus server-side

In ordinary client-side measurement, the GA4 or ad tag loaded on the page sends straight from the browser to each platform. With server-side tagging, the browser sends first to your tagging server, which checks the content and forwards it to each platform. Google's documentation says server containers use the same tag, trigger and variable model as standard Tag Manager, and lists page performance, privacy controls and data quality as benefits, without detailing how.

In the client-side setup the browser sends directly to Google and Meta. In the server-side setup the browser sends first to your own tagging server, which forwards to Google and Meta. In both cases a tag in the browser starts the sending, so the consent line sits before the browser tag. Client side Browser Google Meta Server side Browser Your tagging server Google Meta In both setups, sending is started by a tag placed in the browser
Figure 1: Data routes on the client side and the server side (source: DevNJ, based on Google: Send data to server-side Tag Manager, checked 20 November 2026)

2-2. Clients and tags: what happens inside the server

A server container has "clients" that claim incoming requests and "tags" for each destination. Google's documentation says the GA4 client is pre-installed, and clients run in priority order, with the first matching client handling the request. Because of this structure the server can look at each incoming event and change what it passes to each platform. The "dropping fields" in chapter 5 relies on it.

2-3. The browser tag stays

The point people miss is that the instruction to send to the server comes from a tag in the browser. Google's documentation describes the Google tag (through Tag Manager or gtag.js) sending to the server container by image pixel, Fetch API or XHR. The measurement code remains on your pages. What moved to the server is the distribution afterwards, not the collection at the entrance.

2-4. Custom domain and first-party context

Google's custom domain guidance says the tagging server and the website must run on the same domain to get first-party benefits such as server-set cookies. On the cloud provider's default domain the server is in a third-party context and can only set JavaScript cookies. Serving from a path on your own site is the best practice, and a subdomain such as metrics.example.com also gives full server-set cookie access.

The benefit here is that cookies can last longer. A longer-lived identifier is not a reason to need less consent; if anything it is a reason to take consent more seriously (chapter 4).

3. What decides whether consent is needed

The deciding factor is not where the server sits but whether information is stored on, or read from, the visitor's terminal equipment such as the browser. Article 5(3) of the ePrivacy Directive sets the rule, and in the Netherlands Article 11.7a of the Telecommunicatiewet implements it.

3-1. The EDPB's three criteria

The EDPB's Guidelines 2/2023 (adopted 7 October 2024) set out three criteria for Article 5(3) to apply.

Criterion Content If you move server-side
A. Information Any "information", broader than personal data Unchanged
B. Terminal equipment The visitor's device on a public network Unchanged
C. Storage or access Storing on, or gaining access to information on, the device Unchanged, while a browser tag remains

The right-hand column is DevNJ's reading. The guidelines do not mention server-side tagging by name; applying the criteria gives this result.

3-2. Instructing is enough for "access"

Paragraphs 32 to 34 matter most. The EDPB describes access as the accessing entity sending instructions to the device so that it sends information back. This covers cookies and also JavaScript that makes the browser send asynchronous requests. The guidelines add that the entity giving the instruction and the entity receiving the information need not be the same.

In server-side tagging the browser tag instructs the browser to send. Whether the recipient is a platform or your own server, the structure of the instruction is the same. Paragraph 12 adds that "information" is covered however and by whom it was stored.

3-3. Pixels and IP-only tracking

On tracking pixels, paragraphs 50 and 51 say that distributing the pixel is storage at least through the caching mechanism, so Article 5(3) applies even if the storage is not permanent, and collecting an identifier returned through it is access.

Tracking based on IP only is covered in paragraphs 54 and 55. Article 5(3) can apply even where a different entity gave the instruction, but only where the IP address originates from the user's terminal equipment. With carrier-grade NAT that is not always so. Unless the entity can ensure that the address does not originate from the terminal equipment, it has to act under Article 5(3). "It is only an IP" is not a safe assumption.

3-4. Exemptions are a separate question

All of the above is about whether Article 5(3) applies. Even if it does, consent is not always required. Paragraphs 4 and 56 of the guidelines say that whether an exemption applies (storage or access solely for transmission, or strictly necessary for a service the user explicitly requested) is assessed case by case under national law and guidance.

3-5. The Dutch position

The Dutch government's guidance for businesses says that cookies that collect privacy-sensitive information, such as tracking cookies, need the visitor's active opt-in, and that you must be able to show it. Consent is not needed for strictly necessary or functional cookies and for analytics cookies with little privacy impact. The AP checks cookie banners. On 20 November 2026 I confirmed that the version of the Telecommunicatiewet in force is the one from 15 August 2026.

Routes for ad measurement and retargeting stay on the "consent needed" side of this division, wherever the server sits.

4. What changes and what does not

To sum up: server-side tagging changes the technical route and the controls available to you. The structure of consent and legal basis stays.

4-1. Overview

Item If you move server-side Why
Fields sent to platforms Changes (you can remove) You process on the server before forwarding
Ad-blocker impact May fall Requests go to your own domain
Third-party scripts loaded Can shrink Platform code may not need to load in the browser
Whether consent is needed Unchanged Instruction to the device and access remain
Legal basis for personal data Unchanged GDPR looks at purpose of processing
Transparency (privacy notice) Unchanged You still say what, why and to whom
Vendor management Grows The host may become a processor

The rows from the fourth to the sixth are the "unchanged" side. The last row goes the other way: running a server adds places where responsibility sits.

4-2. Where to draw the consent line

The consent line belongs in front of the server, on the browser side. Without consent, the browser tag must not start sending to your server. Blocking at the server after arrival, covered in chapter 6, is an insurance; stopping at the entrance is the basis.

From left to right: consent check, browser tag, your server, platforms. The consent line is drawn before the browser tag. Blocking at the server is a backup for when the entrance leaks. Consent check Browser tag Your server Platforms Stop here Backup block Primary: do not let the browser send Secondary: the server checks consent and blocks
Figure 2: The consent line sits before the browser tag (source: DevNJ, based on paragraphs 32 to 34 of EDPB Guidelines 2/2023, checked 20 November 2026)

4-3. An exception: sending that does not touch the device

One caution, as DevNJ's reading. Article 5(3) concerns storage on and access to a device. If your back end sends, for example, an order completion from your own database without using anything from the visitor's device, Article 5(3) may not be engaged. Even then, a GDPR legal basis and transparency are still needed. Whether you need consent or can rely on another basis, such as performance of a contract, depends on what you send and why. However, if what you send includes identifiers captured in the browser (cookies such as gclid or _fbp), Article 5(3) applies to that capture step. This is a part worth checking with a professional.

5. Fields you can drop on the server, and what remains

The practical value of server-side tagging is choosing fields before you pass data on. Stape's article gives the example that, in server-side Tag Manager, IP address and user agent can be dropped from the event sent to Facebook, which web-side tracking cannot do. It also says personal data can be removed or hashed before reaching a third party, and URLs edited to strip sensitive terms.

5-1. Field by field

Field On the server Caution
IP address Can be withheld from the platform Still reaches your own server (see chapter 3)
User agent Can be withheld or coarsened Same
URL parameters Can strip stray values and sensitive terms Fix the page URL design first
Email, phone Can be removed or hashed before sending Hashing is not anonymisation
Event names Can be tidied per platform Do not put health terms in names
Identifiers (cookie ID) You can design not to forward them First-party cookies can last long

The most important point is the first row: it still reaches your own server. A browser cannot send to your tagging server without the IP address travelling with the request. What you can drop is what goes to the platform. If your server logs it, that log is itself processing of personal data.

5-2. Dropping fields is data minimisation

Dropping fields has real meaning. The GDPR expects personal data to be limited to what is necessary for the purpose (data minimisation, Article 5(1)(c)). Not passing unneeded IP addresses or contact data to an ad platform follows that principle, and server-side tagging gives you the means.

Having the means, though, is a different duty from obtaining consent. If behaviour and an identifier remain after you drop fields, the premise of consent before sending does not disappear.

5-3. Long-lived identifiers

As noted in chapter 2, a custom domain lets the server set cookies. Measurement may become more accurate, and so does the weight of consent. Making sure that no ID is issued without consent becomes a test item in chapter 6.

6. Carrying the consent state to the server

With the consent line drawn on the browser side, make the consent state reach the server too, as insurance against a leaky entrance or a configuration mistake.

6-1. Putting consent in the request

According to Stape, server-side Tag Manager has no built-in consent mode. Instead the web-side Google tag adds a gcs parameter to requests, and the server container can read it to respect the user's choice. Settings in your consent management platform (CMP) then travel along the route.

6-2. Setting the stop conditions on the server

In a server container, each tag has trigger conditions. A table per destination makes later review easier.

Destination Without consent With consent
GA4 (no ads, no identifiers) May be sent if the setup has little privacy impact (see 3-5) Send
Ad conversions Do not send Send
Meta Conversions API Do not send Send
Enquiry notification to yourself (email) Send (needed to provide the service) Send

On the GA4 row: under the Dutch government's guidance (3-5), analytics with little privacy impact may not need consent, but ad linkage or identifiers do.

The last row is the operation of the service itself, separate from sending to platforms. Keep what you stop for measurement apart from what you must never stop.

6-3. Blocking only at the server is not enough

A design that leaves the entrance open and blocks only at the server is not recommended. By then the browser has already received the instruction and sent to your server. Go back to chapter 3: stop at the entrance, and stop again at the server. Keep that order.

7. Setup and cost: Stape and Google Cloud (Cloud Run)

There are two broad ways to host the server: a specialist provider (Stape in this article), or Cloud Run on Google Cloud that you set up yourself. Google's documentation lists Cloud Run, App Engine and manual setup and does not say which to choose. Here the published prices give the range of cost.

7-1. Stape pricing (checked 20 November 2026)

Stape's pricing page listed these plans in US dollars.

Plan Per month (USD) Requests per month Notes
Free 0 Up to 10K No credit card needed
Pro 17 Up to 500K Annual billing
Business 83 Up to 5M Annual billing
Enterprise 167 Up to 20M Annual billing
Custom On request Unlimited Individual

Pro and above are annual-billing prices, shown with a 20% annual discount. The page also showed 20, 100 and 200 beside them, which look like regular monthly rates, though the page does not label them. Tax and currency conversion are not included.

7-2. Cloud Run cost guide

Google's Cloud Run setup guide recommends at least two instances for production, to reduce the risk of data loss in an outage. Its sample sets a minimum of 2 and a maximum of 10, and estimates that range handles 35 to 350 requests per second. It puts the cost at about 45 US dollars per server per month on 1 vCPU, 0.5 GB of memory and always-allocated CPU. Two servers therefore come to about 90 US dollars a month. That is DevNJ's multiplication of Google's example, not a bill. Because the service scales with load, the maximum instance count is the worst case. The guide recommends a billing alert and the Google Cloud Pricing Calculator.

7-3. Side by side

Monthly guide: Stape Free 0 US dollars, Pro 17, Business 83, Enterprise 167. Cloud Run is about 90 US dollars, from Google's 45 dollars per server multiplied by the recommended minimum of two servers. Stape Free 0 Stape Pro 17 Stape Bus. 83 Stape Ent. 167 Cloud Run about 90 USD per month; Cloud Run is an estimate for two servers
Figure 3: Monthly cost guide for server-side tagging (source: Stape pricing; Google: Cloud Run setup, with 45 USD per server multiplied by two; checked 20 November 2026)

Read the figure knowing that the conditions differ. Stape depends on a request cap and annual billing. Cloud Run is set by instance count, and the minimum instances run even when traffic is low. A small site may fit the free tier or the smallest plan, while two always-on Cloud Run servers can be poor value for low traffic (DevNJ's reading, to be checked against your real traffic).

7-4. What the price does not include

What is published is the server fee. The following need separate estimates. DevNJ's own pricing is not given here, because it depends on scope.

  • Design: deciding what to send and what not to send
  • Implementation: web-side tags, server container, custom domain
  • Consent linkage: carrying the CMP state to the server
  • Verification: checking that nothing goes out in the refused state
  • Operation: keeping up with platform changes, watching billing and failures

7-5. Where the data sits, and who processes it

Stape's article advises choosing a European region for a business based in Europe. Its statement that the GDPR requires European storage is Stape's own description, which I did not verify here. In practice, the server location, the contract with the processor (a data processing agreement) and the basis for any transfer to the US or elsewhere each need checking. Running a server also means updating your privacy notice.

8. A guide to deciding for a small business

Server-side tagging is not needed on every site. Use this table to find your position.

8-1. Guide by situation

Situation Guide Reason
Only GA4, no ads Postpone Consent design and testing come first; effort outweighs effect
Small ad budget, a few enquiries a month Fix the current setup first Too few events to measure the loss
Ads are the core of the business and gaps affect decisions Worth considering Ad-blocker loss and control over fields matter
You send contact data to platforms Worth considering Removing fields before sending is a big gain
Health or finance content Consult first Minimising and legal basis come before adoption
Nobody can watch the setup Do not force it Mistakes are noticed later

The basis is whether the loss from gaps or the effort of running it is larger. The loss depends on your ad spend and how likely gaps are to mislead you. The effort depends on keeping up with platform changes and how often you test.

8-2. Three things to finish first

If these are not done, adoption will bring little.

  1. A consent banner and a setup that stops tags when consent is refused
  2. A list of what is sent to which platform
  3. A privacy notice that describes measurement and processors

8-3. Alternatives

If you restrict yourself to analytics with little privacy impact (the category the Dutch guidance exempts from consent), you may not need server-side tagging at all. Options are compared in GA4 Alternatives for EU Sites. On choosing a consent tool see Cookiebot vs Complianz vs CookieYes, and for the advertising side Google Ads for a Small Dutch Business.

9. Where people trip up

Trip What happens Fix
Leaving the entrance open, blocking only at the server The browser keeps sending Draw the consent line on the browser side (chapter 4)
Thinking you removed fields, but they leak elsewhere Personal data stays in URLs or event names List fields before sending and check real traffic
Staying on the default domain No server-set cookies Use a custom domain (chapter 2)
Running one instance Possible data loss in an outage Google recommends at least two
Not watching billing Cost grows with traffic Set a billing alert
Only one person understands it A handover stalls Keep a diagram and steps

9-1. "It works" is not "it stops correctly"

The commonest slip is judging by the numbers arriving. Measurement working says nothing about whether it stops when consent is refused. Check in the refused state that nothing goes out, every time.

9-2. Server logs can be personal data

IP addresses and similar items your server receives become unplanned processing unless you set a retention period and purpose. Decide how long logs are kept, and do not keep them if you do not need them.

10. Thinking by situation

No invented people here; these are types of situation, not real companies or customers.

Situation Direction Do first
A: A shop site with few enquiries, GA4 only Do not add server-side Consent and refused-state test
B: Regular ad spend, worried about ad-blocker loss Consider; try a small plan first Field list and refused-state test
C: Want to send bookings or purchases to platforms Consider server-side sending Consent state and a line on contact data

10-1. A: little measurement

The consent design affects results more than the gaps do. The effort of owning a server hardly pays off.

10-2. B: a site that acquires through ads

Where ad-blocker loss affects decisions, it is worth considering. Compare the cost range (chapter 7) and the operating effort, try the free tier or the smallest plan, and widen only when the effect shows.

10-3. C: sending completion data to platforms

If completions are sent from the back end, you need to confirm the legal basis, including the exception in chapter 4. If you send contact data, assume consent and narrow the fields. If what you send includes identifiers captured in the browser (cookies such as gclid or _fbp), Article 5(3) applies to that capture step.

11. Steps for adoption

If you decide to adopt it, a general order is as follows.

  1. List current measurement (which tag sends what, where)
  2. Check the consent design (does it stop when refused)
  3. Decide what you send and what you do not
  4. Choose hosting (Stape or Cloud Run, by cost range)
  5. Prepare a custom domain (same domain family)
  6. In the server container, match each tag's trigger to the consent state
  7. Use preview, then look at traffic in the refused state
  8. Update the privacy notice
  9. Set a billing alert and name who operates it

11-1. How to check

Open the network tab of the browser's developer tools with consent refused and confirm there is no traffic to your tagging server or to platform domains. On the server, use preview and logs to confirm that tags do not fire when consent is refused.

12. What not to do

Do not Why
Say "no consent is needed because it is server-side" It does not match the EDPB's analysis and is misleading
Leave the entrance open and block only on the server The instruction and sending have already happened
Call the data anonymous because IP was dropped It still reaches your server and identifiers may remain
Issue long-lived IDs without consent Raises the weight of consent
Cut the instance count to save money Google points to the risk of data loss in an outage
Skip the check after setup Working is not the same as stopping

13. Checklist

  • There is a consent banner and a setup that stops tags when refused
  • There is a list of what is sent to which platform
  • IP, user agent, URL parameters and contact data are removed where appropriate
  • No identifier is issued without consent
  • The consent state reaches the server and is used in tag triggers
  • It runs on a custom domain
  • A cost ceiling and billing alert are set
  • A retention period for server logs is set
  • The privacy notice describes measurement and processors
  • You have confirmed that nothing goes out in the refused state

14. Summary

  • Server-side tagging does not change whether consent is needed; while a browser tag remains, the EDPB's analysis is unchanged
  • It changes the route and the fields you can drop, which is useful for minimising what you send
  • Draw the consent line on the browser side and add a server block as insurance
  • Published prices give 0 to 167 USD a month for Stape and about 90 USD for two Cloud Run servers
  • A small business should settle consent design and refused-state testing first, and consider it when ad measurement is central
  • After adoption, keep checking the refused-state traffic yourself

Talk to us

Whether to adopt server-side tagging depends on how you use ads, what you send and whether someone can run it. If you want consent, tags, the server design and the privacy notice set up together, see our services. If you want to know what your site sends today and where, get in touch with your site URL and the consent and analytics tools you use. More articles are in the column.

Sources

Google and Stape (official documentation and pricing)

EU and Dutch law and guidance

Related DevNJ articles

Unless noted, everything was checked on 20 November 2026. Prices, rules and vendor specifications change, so check the official pages before you decide. This is not legal advice; if your case needs a firm answer, ask a lawyer.

FAQ

Does server-side tagging remove the need for a cookie consent banner?
No. The EDPB treats distributing JavaScript that instructs the browser to send information as access to the terminal equipment. Moving the destination to your own server does not change that while a tag remains in the browser, so the consent question stays the same.
What does server-side tagging change for GDPR purposes?
It changes the route the data takes and the fields you can remove. For example, you can drop the IP address and user agent before an event reaches an ad platform. That reduces what you send, but it does not replace consent.
How much does server-side tagging cost?
On 20 November 2026 Stape published a free tier (up to 10K requests a month) and paid plans from 17 to 167 US dollars a month on annual billing. Google's guide puts Cloud Run at about 45 US dollars per server a month, with at least two servers recommended.
Should a small business adopt server-side tagging?
Often not at first. Get the consent design and the refused-state test right before anything else. It starts to pay off when ad conversion tracking is central to the business and you lose data to ad blockers or need tighter control over what you send.

Planning a site that has to work in both markets?

Get in touch

Related articles

Latest articles

All articles

Contents