Misunderstanding Server-Side Tagging vs Custom Domains

With the growing adoption of server-side tagging, many people assume that using a custom domain automatically means the data is collected server-side.
It sounds logical — but the reality is more nuanced.

There are two independent dimensions to consider:

  • Where the data is collected: client-side vs server-side
  • Which domain is used for collection: Google, Adobe, or your own

Case 1: Google Analytics 4

By default, GA4 sends its hits to:

https://www.google-analytics.com/g/collect

or its regional variant:

https://region1.analytics.google.com/g/collect

These are Google-owned endpoints, used in all standard client-side implementations.
The browser sends the hits directly using gtag.js or gtm.js.
No server intervention is involved on your side.


When the Domain Changes

If you notice requests going to:

https://analytics.mybrand.com/g/collect

or

https://ga.mybrand.fr/mp/collect

then a custom collection domain has been configured.

For this setup to work, you need to:

  1. Create a DNS record (CNAME or A record) pointing your domain to a server container (usually a GTM Server-Side container, hosted on App Engine, Stape, or a reverse proxy);
  2. Update the Server Container URL setting in your GA4 tag;
  3. Configure a GA4 Client in the server container to receive the hits.

The browser now sends the data to your own domain, and your server container forwards it to Google.
This is the typical server-side tagging architecture.


Why “Probable,” Not “Certain”

Seeing a custom domain is a strong indicator of a server-side setup — but not an absolute guarantee.
There are several alternative configurations that mimic the same network pattern.

ScenarioDescriptionNature
Simple reverse proxyThe domain analytics.mybrand.com simply redirects requests to www.google-analytics.com. No processing, just a pass-through.Not real server-side
Edge function / CDN workerRequests are routed through a Cloudflare or Akamai edge function. This acts as a relay, not a tagging container.Network intermediary
Internal micro-gateway (Google Gateway, API)The domain receives hits and forwards them to Google via the Measurement Protocol API.Partial server-side
Self-hosted script + redirectHosting gtag.js locally and proxying the requests.Cosmetic masking

These solutions look like server-side implementations from the outside,
but they don’t involve actual server-side data handling or logic.
That’s why “server-side probable” is the right term.


Case 2: Adobe Analytics

Adobe has offered custom tracking domains for a long time, through the variables:

s.trackingServer = "metrics.mybrand.com";
s.trackingServerSecure = "smetrics.mybrand.com";

These are created by Adobe Customer Care and configured via CNAME records pointing to Adobe’s servers.
This setup allows cookies to be considered first-party, since the domain belongs to your site.

However, the data collection remains client-side:
the AppMeasurement.js library runs in the browser and sends hits directly.
You’re not performing any server-side processing — only domain masking.

When the Experience Cloud ID (ECID) service is enabled, Adobe uses the demdex.net domain to synchronize user identifiers.
The main ID cookie can be regenerated or matched through a master ID (MID), but all of this still happens in the browser.


Summary Table

ContextExample DomainCollection TypeCookieNature
GA4 defaultwww.google-analytics.comClient-side3rd partyStandard
GA4 custom (true server-side)analytics.mybrand.comServer-side1st partyServer container
GA4 custom (proxy/gateway)analytics.mybrand.comProxy / Edge / API forwarding1st partyIntermediate
Adobe defaultmetrics.adobedc.netClient-side3rd partyStandard
Adobe with CNAMEmetrics.mybrand.comClient-side1st partyMasking
Adobe ECID (demdex)dpm.demdex.netClient-sidecross-domainMaster ID

Conclusion

Seeing your own domain in network requests is often a sign of a server-side setup, but not definitive proof.
Some configurations (proxies, gateways, CDN workers) can mimic the same pattern without real server-side processing.

Conversely, using Google’s default domain doesn’t mean you can’t be server-side — you could still forward data from your own backend to www.google-analytics.com via the Measurement Protocol.

In short:

  • Default GA4 domain → client-side
  • Custom GA4 domain → server-side probable (unless proxy/gateway)
  • Custom Adobe domain → first-party cookie, not server-side

Changing the domain affects visibility and cookie ownership.
Switching to server-side impacts data control and processing logic.

Laurent Fidahoussen
Laurent Fidahoussen

Ads & Tracking & Analytics & Dataviz for better Data Marketing and boost digital performance

25 years in IT, 10+ in digital data projects — I connect the dots between tech, analytics, reporting & media (not a pure Ads expert—but I’ll make your campaigns work for you)
- Finding it hard to launch, track, or measure your digital campaigns?
- Not sure if your marketing budget is working—or how your audiences behave?
- Messy tracking makes reporting a nightmare, and fast decisions impossible?
- Still wrestling with Excel to build dashboards, without real actionable insights?

I can help you:
- Launch and manage ad campaigns (Google, Meta, LinkedIn…)
- Set up robust, clean tracking—so you know what every euro gives you back
- Build and optimize events: visits, product views, carts, checkout, purchases, abandons
- Create dashboards and analytics tools that turn your data into real growth drivers
- Streamline reporting and visualization for simple, fast decisions

Curious? Let’s connect—my promise: clear, no jargon, just better results.

Stack:
Ads (Google Ads, Meta Ads, LinkedIn Ads) | Analytics (Adobe Analytics, GA4, GTM client & server-side) | Dataviz (Looker Studio, Power BI, Python/Jupyter)

Articles: 28