Server-side tracking and Conversions API: when does it pay off?
Ad pixels in the browser lose sales: blocked scripts, short-lived cookies and phones that switch networks. Server-side tracking and Conversions API recover much of that, but not everyone needs it.
- better ad results cover it at NOK 50,000 a month
- 3.7%
- a month for the server, paid to the provider
- NOK 200
- window in which Meta merges pixel and server events
- 48 hours
In short
- Server-side tracking means your website sends its events to a server on your own subdomain. The server passes them on to GA4, Google Ads and Meta.
- Conversions API is Meta's way of receiving purchases from a server. Enhanced Conversions is Google's way of getting the email address or phone number with the purchase, turned into a code (a hash). Both help the platform find the ad that brought the sale.
- It recovers purchases that the pixel in the browser loses to ad blockers, short-lived cookies in Safari and pages that never finish loading. It must still not send purchases from people who said no in the banner.
- For most businesses the server costs around NOK 200 a month, paid directly to the provider. Our setup with server-side and Conversions API costs NOK 20,000 more than our Basic setup.
- With NOK 50,000 a month in ads, it pays for itself in the first year if better data brings the same sales for 3.7% less ad spend. With NOK 10,000 a month, the cost has to come down by 18.7%.
Server-side tracking and Conversions API mean Google and Meta get more of the sales you actually make. The pixel is the tracking code in the browser. With server-side, the purchase is also sent from a server you control, not just from the pixel. That makes up for much of what the browser loses along the way.
Whether it pays off depends on your ad budget and how many purchases you get. Google and Meta use the purchases to find more people who buy. If you have many purchases and lose some of them, better data can lower your cost per sale. If you have a small budget and few purchases, other steps give you more for your money.
The route a purchase takes with server-side tracking
From
The browser
The purchase with its value, order number and the visitor's choice in the banner.
From
The online store or CRM
The order or sale, even when the thank-you page never loaded.
Your server
data.yourdomain.no
Sets cookies from your own domain.
Reads the consent and sends only what is allowed.
Turns email and phone into a hash.
Uses the order number as event_id.
GA4
The purchase with the consent, for the reports.
Google Ads
The conversion with Enhanced Conversions.
Meta
Conversions API, merged with the pixel.
What are server-side tracking and Conversions API?
Server-side tracking is measurement where the browser sends events to your own server, and the server passes them on. Conversions API and Enhanced Conversions are the ways Meta and Google receive purchases with customer data.
With standard tracking, the browser sends data straight to each platform. GA4, Google Ads and the Meta pixel each load their own script and send their own request. With server-side, the events go to a separate Tag Manager running on a server, on a subdomain such as data.yourdomain.no. Google strongly recommends using your own domain.
The cookies are then set from your own domain. You decide what each platform gets, and can remove fields before they are sent. The server can also receive orders straight from your online store or CRM, even when the browser never sent anything.
Conversions API sends purchases and leads from a server to Meta. According to Meta, it is less affected than the pixel by pages that don't load, poor connections and ad blockers, and Meta recommends using it together with the pixel. Enhanced Conversions sends the email address or phone number as a code (SHA-256) with the conversion. Then Google can tie the purchase to a Google account that was signed in when the ad was shown or clicked.
| Solution | What it does | Do you need your own server? |
|---|---|---|
| Server-side Tag Manager | Receives events on your domain and passes them on to Google, Meta and others. | Yes. |
| Conversions API | Meta receives purchases and leads from a server, together with the pixel. | No. Meta and many ecommerce platforms have ready-made integrations, but your own server gives you more control. |
| Enhanced Conversions | Google Ads gets the email address or phone number as a hash with the conversion. | No. It works from the tag in the browser. |
What does server-side tracking recover?
Server-side tracking recovers purchases that go missing between the browser and the platforms. It does not recover purchases from people who said no in the banner, and it shouldn't.
| Why the purchase goes missing | Does server-side help? |
|---|---|
| An ad blocker stops the pixel. | Mostly. Purchases sent from a server are less affected than the pixel. |
| Safari deletes cookies created by scripts after seven days without a visit, and can cut them to 24 hours when the customer comes from a link with a tracking parameter. | Partly. The server can set the cookies itself. If the subdomain points to another provider, Safari can still limit them to seven days. |
| The thank-you page never loads, because the customer closes the tab or loses signal. | Yes, when the order is sent from the online store or the CRM. |
| The customer clicks on their phone and buys on their computer. | Partly. The email address as a hash lets the platform tie the purchase to the same person. |
| The customer said no in the banner. | No, and it shouldn't. |
How much comes back varies with your audience, their browsers and your banner. There is no single number that applies to everyone. The reliable way to know is to compare the platforms with your orders before and after. It is the same comparison that explains why GA4, Google Ads and Meta show different numbers.
What does server-side tracking cost?
Server-side tracking costs a one-off setup and a server every month. For most online stores, the server costs around NOK 200 a month.
At Stape, the smallest paid plan costs $20 a month, or $17 with annual billing, for up to 500,000 requests. If you run the server yourself in Google Cloud, Google estimates around $45 a month per server and recommends at least two. Websites with a lot of traffic need a bigger plan.
Server-side Tag Manager and Conversions API are part of our Full setup at NOK 39,900. That is NOK 20,000 more than Basic setup, which has GA4, Consent Mode v2 and Enhanced Conversions. If you start with Basic setup, you only pay the difference if you upgrade later. You pay the provider for the server directly, in your company's own name.
The hidden cost is maintenance. When Meta or Google changes something, the tags on the server have to be updated. Someone also has to keep an eye on whether the server is responding. If it stops, the tracking stops.
When does server-side tracking pay off?
Server-side tracking pays off when your ads are optimised for purchases or leads, and the budget is large enough that a small improvement covers the cost. The calculation is simple: divide what you pay in the first year by what you spend on ads in a year.
The improvement that pays for the first year
NOK 22,400 ÷ your annual ad spend
NOK 20,000 extra for the setup + 12 × NOK 200 for the server
Say an online store spends NOK 50,000 a month on Google Ads and Meta, which is NOK 600,000 a year. Better data then has to bring the same sales for 3.7% less ad spend, around NOK 1,900 a month, to pay for the first year. From year two it is just the server, NOK 2,400 a year, or 0.4%. How much better data is worth also depends on what a new customer can cost.
It usually pays off when
- Your ads are optimised for purchases, value or leads, not for clicks or reach.
- The budget is large enough that a few per cent covers the cost, as in the calculation above.
- Many of your customers use iPhone and Safari, or your audience uses ad blockers.
- The sale happens in your CRM after the form is submitted, and can be sent back to Google and Meta.
It rarely pays off when
- You have few purchases. Meta needs around 50 events a week of the type the ad set is optimised for to get out of the learning phase. With ten purchases a week, merging ad sets often helps more.
- The budget is small. With NOK 10,000 a month, the improvement has to be almost 19%. That is a lot to expect from better data alone.
- The basic tracking is wrong. If GA4 counts purchases twice, or the value is sent with VAT in one place and without it in another, the server passes the same errors on. Fix that, and set up Enhanced Conversions first.
Does server-side tracking replace consent?
No. Server-side tracking does not replace consent, and data from people who say no in the banner must not be sent from the server either.
Section 3-15 of the Norwegian Electronic Communications Act (ekomloven) applies to cookies whether they are set from the browser or from a server on your domain. An email address turned into a hash is also designed precisely so that Google and Meta can tie the purchase to a person. So the banner and Consent Mode v2 have to control the server in the same way as the browser.
The Google tag sends the consent with every request to the server, and Google's own tags on the server follow it. The tags for Meta, Snapchat and TikTok on the server have to be set up to do the same. If your online store sends orders straight to Meta, that integration also has to know what the customer answered in the banner.
How to set up server-side and Conversions API properly
A good setup sends each purchase once, with the same value, with customer data and with the consent. Do it in this order:
- Fix the standard tracking firstEach purchase should be counted once in GA4, and the value should be the same in GA4, Google Ads and Meta, either with or without VAT.
- Put the server on your own subdomainThe server should be in your company's name. If the subdomain points to another provider, Safari can shorten the cookies. To avoid that, the server has to run behind the same address as the website.
- Send the consent alongConsent Mode is set up in Tag Manager on the website and is passed on to the server. Meta and other tags on the server should only send when the answer is yes.
- Use the order number as event_idThe pixel and the server send the same event_id and the same event name. Meta then merges them into one purchase, if they arrive within 48 hours.
- Send customer data as a hashEmail and phone are turned into a code before they are sent. That gives a higher Event Match Quality, Meta's score out of 10 for how well the purchase can be tied to a person.
- Compare with sales for two weeksPut the purchases in GA4, Google Ads and Meta next to the orders in your online store. If they differ more than before, something has been sent twice or not sent at all.
Questions and answers
Do I need server-side Tag Manager to use Conversions API?
No. Meta can set up Conversions API for website events from Events Manager without code, and many ecommerce platforms have a ready-made integration. Server-side Tag Manager gives you more control over what is sent, and brings Google, Meta and others together in one place.
Will my ads get cheaper with Conversions API?
They can, but there is no guarantee. Meta says Conversions API together with the pixel gives a more reliable connection, which helps the ad system lower the cost per result. How much depends on how many purchases the pixel loses today.
Is the purchase counted twice when both the pixel and the server send it?
Not if both send the same event_id and the same event name. Meta then merges events that arrive within 48 hours. Without event_id, Meta can use the browser ID fbp or your own customer ID, but event_id is what Meta recommends.
Does server-side tracking help with Safari?
Partly. The server can set cookies from your own domain, and they are not shortened the way Safari shortens cookies created by scripts. If the subdomain points to another provider, Safari can still limit them to seven days.
Can sales from my CRM be sent back to Google and Meta?
Yes. When a lead becomes a customer, the sale can be sent to Google Ads and Meta with the email address or phone number as a hash. Your ads then learn which leads became customers, not just who filled in the form. The four steps are in Warm leads: how to see which enquiries become customers.