Server-side tracking set-up for ad accounts

Server-side tracking sends your conversions to Meta, Google and TikTok from a server you control, so ad blockers, Safari and iOS hide fewer sales and leads from your campaigns.

Reports You Can Read
One Team, Several Channels
Focused on Leads
AI-Assisted

Why measurement now depends on the server

Ad platforms can only optimise towards the conversions they are allowed to see.

Missing conversions cost you budget

Missing conversions cost you budget

Safari's tracking prevention limits cookies set by scripts to seven days, iOS lets people decline tracking, and ad blockers stop some tags before they load. Meta, Google and TikTok then record fewer of your real conversions, their bidding learns from a partial picture, and cost per lead can drift up without any visible error. Server-side tracking moves the sending of events out of the visitor's browser and into a Google Tag Manager server container on your own subdomain, so a blocked pixel no longer means a lost conversion.

What we build and how we check it

The build covers a GTM server container on Google Cloud Run or Stape, a first-party tracking subdomain, Meta Conversions API with event deduplication, Google enhanced conversions with Consent Mode v2, and first-party ID (FPID) cookies that can last up to 400 days instead of Safari's seven. We use this approach on our own site and on the ad accounts we manage. Each part is checked in the platforms' own tools: Meta's Event Match Quality, GA4 DebugView and the deduplication reports.
What we build and how we check it
What the implementation includes

A first-party measurement set-up that is built, verified and documented

GTM server container icon

GTM server container

A server container on Cloud Run or Stape, served from a subdomain of your own site such as data.yourdomain.com, with client and server tags configured so blockers and Safari restrictions no longer decide what you can measure.

Meta Conversions API icon

Meta Conversions API

Server-to-server events sent to Meta with matching event IDs for deduplication against the pixel, hashed customer parameters to lift Event Match Quality, and checks in Events Manager. For Facebook and Instagram campaigns this is a high-impact fix.

Enhanced conversions and Consent Mode v2 icon

Enhanced conversions and Consent Mode v2

Hashed first-party customer data matched into Google Ads, and Consent Mode v2 set up so measurement, modelling and remarketing follow each visitor's consent choice. Google requires it for traffic from the EEA and it is sensible practice elsewhere.

FPID cookie customisation icon

FPID cookie customisation

First-party ID cookies set from your server container as HTTP-only cookies, which lets identification last far beyond Safari's seven-day cap. That means longer attribution windows, steadier audiences and returning visitors recognised again.

More platforms, QA and handover icon

More platforms, QA and handover

TikTok Events API and server-side GA4 where you need them, plus a written QA pass covering deduplication, match quality and consent behaviour, and a handover document your team can maintain.

Why a browser pixel is no longer enough

Once, adding a pixel to your site counted as measurement. Since then Safari's Intelligent Tracking Prevention has limited cookies set by scripts to seven days, iOS has asked people whether they agree to be tracked, and ad blockers stop tags for part of your audience before they load. None of this raises an error. Your dashboards simply show fewer conversions than really happened.

That matters because ad buying is now automated. Meta and Google bid on the conversions they can observe. If they see only part of the picture, they optimise towards the wrong signal, lookalike audiences are built from thin data, and remarketing lists shrink to whoever converted recently.

Server-side tagging fixes the structure. Events travel from your site to a server container you own, on your own subdomain, and from there to each platform, past blockers and with cookie lifetimes Safari accepts. Meta's Conversions API and Google's server-side GTM and enhanced conversions exist because the platforms themselves push advertisers this way.

How an implementation runs

We begin with a tracking audit. We compare what the ad platforms report with what your business recorded, such as leads in your CRM or orders in your store, and check your current Event Match Quality in Meta's Events Manager. The size of that gap is the business case. If it is too small to justify the work, we say so.

The build follows a set order. Infrastructure first: a GTM server container on Google Cloud Run or Stape, a first-party subdomain such as data.yourdomain.com, and your web container routed through it. Then the platform layer: Meta CAPI with event IDs and deduplication, Google enhanced conversions with Consent Mode v2, and TikTok where you advertise. Last, FPID cookie customisation so identification outlasts Safari's limits.

Nothing is switched over blind. Pixel and server events run side by side while we confirm deduplication in each platform's diagnostics. Then we cut over, compare before and after, and give you documentation of every tag, trigger and data flow.

Typical scopes and how each is priced
ScopeWhat is includedHow it is priced
Single platformGTM server container, first-party subdomain, one Conversions API, enhanced conversions, QA and handoverQuote after the tracking audit
Multi-platformMeta, Google and TikTok event APIs, FPID cookie customisation, ecommerce data layerQuote after the tracking audit
HostingGoogle Cloud Run or Stape, set up in your own accountBilled by the hosting provider, based on your traffic volume
Ongoing monitoringOptional. Deduplication checks, match-quality tracking and watching for platform changesQuoted separately, and optional
The build is quoted once the audit shows the scope. Hosting is paid to the provider directly, not through us.

Why Relevant Audience for this work

A template service offers one hosted container and a default CAPI connector, then calls the job finished. The weakness appears months later, when nobody can explain why events double-count, what the consent wiring does or why match quality never improved.

We use this stack ourselves. Our own site runs GTM with Consent Mode v2, enhanced conversions and server-verified form tracking, and we manage Google and Meta ad accounts where measurement quality shapes cost per lead. Deduplication and hashed customer data are things we handle routinely.

It is also your infrastructure. Everything is built in your accounts, including your GTM, your cloud project and your subdomain, and you keep admin access. The handover documentation is written so your team or any later agency can pick it up.

Platforms and site types we set up

For advertising we implement Meta Conversions API for Facebook and Instagram, Google Ads enhanced conversions with server-side GA4, and TikTok Events API. Each platform gets its own deduplication and match-quality checks, because each one fails differently when set up from a template.

On the site side we work with what you run. Shopify and WooCommerce stores get proper ecommerce data layers carrying order value, items and hashed customer data. WordPress marketing sites get clean event tracking without a pile of plugins. Custom builds on Next.js or similar frameworks are fine too, and our own site runs on Next.js.

Scope depends on your stack. Some platforms and stores expose better data than others, and match quality depends on what customer details your funnel collects. The audit tells you what is realistic before you spend anything.

How we judge whether it worked

Server-side tracking has measurable outcomes, and we set them at the start. First is Event Match Quality in Meta's Events Manager: we note your score before the build and aim for improvement afterwards, since it influences how efficiently Meta spends your budget. Second is conversion recovery, meaning platform-reported conversions compared with your own source of truth before and after.

Deduplication is verified, not assumed. During the parallel run we confirm in each platform that browser and server events merge into single conversions. Silent double-counting is the commonest fault in template builds and it corrupts data in the opposite direction.

Finally, durability. We look at attribution windows and remarketing list sizes again some weeks after launch, because the gain from first-party cookies builds as returning visitors stay recognised. You get the before and after in plain language.

Where to start

  1. 1

    Start with the tracking audit. We need read access to your ad accounts and analytics, a conversation about your funnel and a look at your current tags. You get a written report on how big your measurement gap is, what is causing it, what fixing it involves, and whether it is worth doing. Sometimes the answer is that your current set-up is good enough.

  2. 2

    If you go ahead, we quote a fixed scope covering implementation, verification and documentation. Ongoing monitoring is an optional extra, not a requirement, and hosting runs in your own accounts.

  3. 3

    Server-side tracking sits well alongside our Google Ads, Meta, SEO and web development work, because better data improves every later decision. It also stands alone if all you need is measurement repaired. Send a message through the contact form to begin.

Get a Free Proposal
Testimonials

What clients say

Quotes from clients on working with us.

Company logo

“Relevant Audience is like a trusted buddy, they contribute to an optimally efficient marketing strategy”

Phathorn SaeguayAdvertising leader at Decathlon Thailand
Company logo

“Relevant Audience truly show their expertise in online marketing. They have assisted us with developing influencer marketing and artwork design in various online campaigns. this allow us to effortlessly process with our marketing plan.”

Nawamin SiwasaranonMarketing Manager at Foodpanda Thailand
Company logo

“We're able to target effectively to reach the right audience at right time and in the right place.”

Tom ThrussellBrand, Marketing & Digital
Company logo

“As a startup, we prioritized ROI on all of our online marketing Activities. K. Antonio and his team at Relevant Audience truly understands our company's priorities, constraints and limited budget, nonetheless help creates a stunning result on Google Ads.”

Pichitchai WongsaereeChief Marketing Officer
Company logo

“Relevant Audience planned, created and launched a Google Ads Campaign for my Property Agency. They provide personalized, professional and efficient online marketing services. Greatly recommend! 5 Star Service! Thanks again!”

Pierre LeungFounder
Company logo

“They understand Real Estate scenario in Thailand. Pleasure working with this business, highly recommended”

Costa SavvaFounder
Company logo

“If you are looking for a hands-on campaign management – Antonio and his team are your best choice. Great Professional service, personal attention to your business needs, and round the clock support for your investment in marketing makes this team a very good addition to your business. Strongly recommend!”

K. NoiOwner
Company logo

“The team in Relevant Audience, was always very responsive, even on weekends or out of working hours to help us on any request. We trust this highly ethical and honest agency.”

Bernd BeyerFounder
Company logo

“Relevant Audience has helped us in bringing our website up to SEO standards , as well as expands our online customer base without going over budget”

Sasiprapa ChuenklinMarketing and Sales at Eco Plant Services Co.,Ltd.
Company logo

“Relevant Audience surely understands our business goals and has been a very thorough in every steps, and an organized partner. They deliver results on time and within budget”

Ochawin ChantarachaiSenior E-Commerce Specialist at Ocean Glass Public Company Limited
Company logo

“Everyone here is truly professional. They instantly understand our requirements. The entire team is always ready to assist, collaborate, and provide advice to assist us in resolving issues or developing new strategies”

Mr.Panuwat BungadaengMarketing Communications (MARCOM) at THAC
Success Stories

Client results

How data-led campaigns worked for our clients.

Decathlon case study
Web Development
01/08
Decathlon logo

How Relevant Audience helped Decathlon Achieve

20%Online revenue increase
90%First-page keywords
200%Increase in ROAS in FB Ads
View Case Study
FAQ

Server-side tracking questions

Cost drivers, timing, hosting and what changes in your numbers

Normally each ad platform's pixel fires from the visitor's browser, where blockers and Safari or iOS limits get in the way. With server-side tracking, events go once to a server you control, and that server forwards clean, deduplicated conversions to Meta, Google, TikTok and your analytics. Visitors notice nothing. Your data is more complete.

The number of ad platforms you use, how complex your ecommerce data layer is, and how much consent and cookie work your site needs. One site with a single platform's Conversions API is a smaller job than Meta, Google and TikTok together with FPID customisation. Hosting for the server container is a running cost whose size depends on your traffic volume and on whether you use Google Cloud Run or Stape, and you pay that provider directly. We quote the build after a tracking audit.

Both, and the reports come first. Meta and Google optimise towards the conversions they can see. When the Conversions API recovers events the pixel missed and match quality improves, the bidding systems work from better data. We record your match quality before the build and again after, so the change is measured rather than claimed.

FPID is a first-party identifier cookie set by your GTM server container from your own domain, server-side and HTTP-only. Safari lets such cookies last far longer than the seven days it allows for cookies set by scripts, up to 400 days in Google's implementation. Returning visitors are then recognised, attribution windows stretch back, and remarketing audiences stop emptying every week.

Not necessarily. We handle the server container, the DNS record for the tracking subdomain, tag migration and platform set-up. For ecommerce data layers we work with Shopify, WooCommerce, WordPress or a custom Next.js build, and we say at the audit stage if your developer needs to do anything.

A standard build can be live in one to two weeks: container and subdomain first, then the platform APIs, then a verification period in which pixel and server events run side by side. That lets us prove deduplication works before anything is switched off. Complex ecommerce set-ups with several platforms can take three to four weeks.

Moving tracking to a server changes where data is processed, not whether consent is needed. We connect your consent management platform to the server container so events follow each visitor's choice, set up Consent Mode v2 for Google, and write down what is collected and where it goes. For legal advice on your obligations, speak to your own counsel.

That is the usual starting point. Your existing GTM web container stays, and the server layer is added behind it. The audit compares conversions reported by the platforms with your actual leads or orders and checks your match quality, so you can see what the gap is costing before you commit to anything.
Can't find your question here?