📊 Is server-side tracking worth it?


Hi Reader,

This week, I was explaining to a colleague the difference between traditional client-side tracking and server-side tracking. And I realized I haven’t talked about this before in this newsletter.

You’ve probably heard the term floating around in your company, but what does it actually mean in non-technical words? Let me explain it.

What is server-side tracking?

The short answer:

The difference lies in WHERE the data is sent

  • to a third-party domain or
  • your own domain

Before telling you the proper answer...

I wanted to mention that I'm nearing the launch of the beta version of my alternative to Google Analytics 4. It's made for e-commerce by e-commerce specialists.

TLDR

  • No PII data is stored, so no need for cookie banner
  • Ecommerce specific reports (e.g. Products bought together, bestsellers & many more).
  • Weekly email reports
  • Clear metrics & easy to use (designed for non-data people)
  • Works on top of GA4 infrastructure (datalayer)

Join the waiting list & be the first to use it.
You'll also get my full support in helping you find insights in your data.

The proper answer:

Let’s use Google Analytics 4 as an example, but the same principle applies to Meta Pixel, Google Ads, and other platforms.

Normally, when someone visits your site, this data needs to be sent to GA4.

This is why you install GA4 script on your site (either directly or via GTM).

The data then gets sent to Google’s servers. So something like region1.google-analytics.com

(You can actually see this in your browser’s console network tab)

This is called client-side tracking because it’s happening in your browser.

The same data is also sent to Meta, Google Ads, TikTok, etc. in separate requests (if this has been setup).

Now, because this data is accessible to browsers, it’s also targeted by:

  • ad blockers and
  • browser privacy settings.

From a privacy perspective, this is great.

But from a data perspective, it means we are not seeing the whole picture.

Server-side tracking flips this around.

When someone visits your website, instead of sending the data directly to Google, the browser sends it to a server you own, for example, sgtm.yourdomain.com.

You can create this server using Google Cloud & server-side Google Tag Manager (sGTM). And then sGTM forwards this data to Google, Meta, Tiktok, etc.

sGTM doesn’t store any data. It’s just a tool that allows you to forward data from one place to another and set rules for when to do so. When using sGTM, you still need client-side GTM.

FYI, I’ve kept this explanation very simple and in the context of Google Tag Manager. A REAL server-side tracking is not always detectable by browsers. And it can be done purely on the backend for page views.

The benefits of server-side

  • More accurate data
    Since ad blockers and other browser settings don’t block data sent to your own servers, they don’t interfere with your tracking. And you will have more data in GA4 and for your pixels.
  • Better control
    This one is important! You decide what data to send and to which platforms.

    For example, you could hash emails that you send to Meta, but keep them naked when sending to CMS like HubSpot.

    In a client-side setup, you have no idea what the Meta script scrapes from your website.
  • Faster site performance
    Since you are sending all data first to your server, you need to run fewer scripts in the browser, and this means quicker page loads.

    Additionally, you can send one request to sGTM, which is then sent to all third parties.

    In a client-side setup, each third-party script is a separate script, and the same data is sent to each third-party script separately.

The downsides of server-side

  • Setup is more complex
    You (or your developer) need to host a “server container” for example, with Google Cloud and run server-side GTM there.

    Or you could use services like Stape (not affiliated), who do most of the work for you.
  • Costs extra
    You pay for the server hosting. The cost can range from €20 to over € 2000, depending on what you track and the amount of traffic on your site.
  • Not a tool to avoid privacy rules

    IMPORTANT. Even if you use server-side tracking, you must still comply with GDPR or other relevant privacy laws. If you are storing PII data, you must disclose it and display a cookie banner, regardless of whether you are using server-side tracking or not.

So, should you use it?

If you’re running ads or rely heavily on conversion tracking, then YES, it’s worth the investment. You’ll get more data, better data, and fewer lost conversions. This should improve your marketing campaigns and potentially reduce CAC.

But if you’re a smaller website or not very technical, you can wait until you can hire someone to manage all of this, or use Stape to do it.


P.S. Ready for more? Then this is how I can help you: ​

🎓 GA4 for Ecommerce COURSE: Learn how to use GA4 specifically for Ecommerce, the best reports, and the most useful metrics & dimensions. Learn how to turn data into insights in my 6-step system and with real-world examples.

📱 Schedule a one-to-one call: Do you need help with a specific issue, or are you stuck with web analytics implementation? Book a call with me and utilize my seven years of experience.

📣 Promote your business to 2000+ Ecommerce professionals: Put your business in front of freelancers & in-house ecommerce pros at a 39% open rate!

Was this email useful?

👍 / 👎


Unsubscribe · Preferences
600 1st Ave, Ste 330 PMB 92768, Seattle, WA 98104-2246

Clicks Don't Lie

Hello I'm Robert and I’m here to help you understand and analyze data to make better decisions in e-commerce. I focus on tutorials that are designed for non-data people. So YOU can extract & generate insights from Ecommerce data. I focus on Google Analytics 4, Tag Manager and Looker Studio

Read more from Clicks Don't Lie

Hello Reader, I hope you are having a great week so far. Now, a serious question about GA4. Wouldn’t it be nice if you could mark important moments in GA4? Like that big code release, the start of your holiday sale, or when the site went down for 2 hours? Well… that’s exactly what GA4 annotations do. They’re like sticky notes on your charts, giving context to your data. So in the future, you don’t have to scratch your head wondering, “Why the sudden spike?” This is a long-awaited feature that...

Hello Reader, It's been a few weeks since my last email. But today I want to talk about a super useful feature that you can use in GA4. Now, let's say you have 86 different content pages. It's kinda hard to get insights by looking at them separately. Wouldn't it be nice if you could look at them by topic or by author? That's where GA4 content grouping comes in! What are Content Groups? Think of them as folders for your website pages.Instead of GA4 showing you every single URL, you can group...

Hello Reader, After a few days of heatwave here in the Netherlands, I can finally get back to work... now that my brain has stopped melting in my home office.I have no airco 😅 I came across this post by Lucia van den Brink, and it’s a great reminder:Don’t use GA4 to track your A/B tests.Here's the post: Then one of the OGs of CRO chipped in with his advice: So basically, you need one source of truth. Unfortunately, GA4 is not it. But with BigQuery, you can get pretty far. Then, you or someone...