Polski

Server-Side Tagging is data infrastructure,not just an ad-blocker workaround.

SST sends conversion signals straight from your server, enriches events with CRM data and imports offline conversions. Ad platforms get the full picture. Algorithms work with real numbers.

How much data are you losing every day?

Browser-based tracking has three structural gaps. Each one costs you ad budget: the algorithms optimize on incomplete data.

Ad blockers & Safari ITP

Over 40% of desktop users run an ad blocker. Safari (ITP) caps cookie lifetime at 7 days. Standard tracking loses 20–40% of conversion data before it ever reaches the platform.

Cookie walls & Consent Mode

Every declined consent banner is a conversion signal the Google and Meta algorithms never see. Without SST, your ad systems learn from incomplete data.

Conversions outside the browser

A phone order, a deferred payment, a deal closed in the CRM a week after the ad click. Standard tracking sees none of these events.

Lighter browser, faster site, better Core Web Vitals

Every pixel (Meta, TikTok, Pinterest, Hotjar) is a script that weighs on the user's device. SST sends a single request from the browser to your server, and the server fans the data out from there. Less JavaScript on the client means higher Core Web Vitals, a Google ranking factor with a real impact on conversion.

Instead of 10 data packets to 10 companies: one request from the browser to your server.

Three layers of SST, three kinds of recovered data

Implemented once, SST keeps working and grows with your business. Each layer adds data that standard tracking will never collect: recovered conversions, CRM context, sales that happen outside the browser.

Data recovery

A custom loader (Stape) serves GA4 and GTM from your own subdomain, so ad blockers and ITP do not block them. Cookie Keeper restores first-party cookies that Safari truncates, extending their life to up to 2 years. You recover 20–40% of invisible conversions and the attribution that ITP was dumping into direct traffic.

Data enrichment

Before an event reaches GA4 or Meta CAPI, GTM Server augments it with data from your backend: hashed email, LTV, customer segment, order ID from the CRM. Ad platforms get the full context.

Offline conversions

Deal closed over the phone? Deferred payment settled 10 days later? SST imports these events into Google Ads and GA4 via the Measurement Protocol, and attribution lands on the right campaign.

Events enriched with data the browser never sees

GTM Server sits between the browser and the ad platforms. That makes it the perfect place to augment events with backend data before they reach GA4, Meta or Google Ads. Platforms get richer context, algorithms work more effectively.

Hashed email (SHA-256)

A durable user identifier for Enhanced Conversions and Customer Match, without compromising privacy.

LTV from your CRM

Historical customer value attached to the conversion event. Value-Based Bidding algorithms learn from real numbers.

Customer segment

New, returning or VIP, assigned dynamically on the server. Separate bidding strategies and creatives per segment.

Backend transaction ID

One unified order identifier connects GA4, Google Ads and your CRM. No more discrepancies between systems.

UTM gap filling

When a user returns without UTMs, the server assigns the last known source from the session. No attribution lost to direct traffic.

Margin & product category

Profitability data attached to the purchase. You optimize campaigns for profit, not revenue. Smart Bidding learns which conversions are worth more.

ROAS → POAS: optimize for profit, not turnover

Stape Store keeps product costs on your server. At the moment of purchase the server subtracts the cost of goods (COGS), packaging and shipping, and the real profit reaches Google Ads as the conversion value. Smart Bidding starts looking for customers you actually earn on, not the ones who spend the most.

ParameterClient-SideServer (sGTM)
Primary metricRevenue (turnover)Gross profit / margin
Margin dataImpossible (code visible in the browser)Safe (costs stay on the server)
Ad optimizationFor turnoverFor real profitability
Pricing / costsHard to factor inDynamic, from Stape Store

The conversions your ads never see

Some of your most valuable conversions never come back to the browser. A phone order, a deal closed by a sales rep, a payment settled 10 days later. Standard tracking ignores them. Server-Side Tagging closes that gap.

Phone sales

A customer clicks the ad, calls, orders. The CRM records the deal. A webhook sends the conversion event to Google Ads with the GCLID, and attribution lands on the right campaign and keyword.

Deferred payments

Order placed online, payment settled 7–30 days later. The Measurement Protocol sends the purchase event to GA4 and Google Ads only once the money actually arrives.

Lead → closed deal (B2B)

The contact form is just the beginning. When sales closes the deal in the CRM, the conversion is imported into Google Ads with its full value. ROAS based on actual revenue.

Returns & corrections

Customer returned the order? The Measurement Protocol sends a negative conversion that corrects the value in Google Ads. The algorithm stops optimizing for customers who return goods.

Standard vs SST vs SST + Enrichment

Every level adds more, but only the full implementation delivers the complete picture.

Ad-blocker resistance

Standard
None
SST
Full
SST+Enrichment
Full

Cookie lifetime

Standard
7 days (ITP)
SST
Up to 2 years
SST+Enrichment
Up to 2 years

Conversion visibility

Standard
60–80%
SST
85–95%
SST+Enrichment
~100%

CRM data in events

Standard
None
SST
None
SST+Enrichment
Full

Offline conversions

Standard
None
SST
Limited
SST+Enrichment
Full

Signal quality for Smart Bidding

Standard
Partial
SST
Good
SST+Enrichment
Maximum

GDPR compliance

Standard
Needs attention
SST
Good
SST+Enrichment
Best

Three safeguards agreed before the migration starts

SST does not touch your current measurement until the new stream is proven. These three safeguards are in place before anything moves.

Parallel run

The old and new tagging setups run side by side. Your current tracking keeps collecting data without interruption for the entire migration.

Parity gate

Production traffic is switched only when the event counts from the new GA4 stream match the old one.

Minutes-long rollback

If anything deviates from expectations, we revert to the previous configuration without losing any collected data.

How the implementation runs

From audit to full monitoring: a structured process that minimizes the risk of any gap in data collection.

  1. Step 01: Audit of the current setup

    Review of GTM, GA4 and ad pixels. Identifying data gaps and enrichment potential. Assessing what data your backend can expose.

  2. Step 02: Stape server configuration

    GTM Server container on managed Stape infrastructure. First-party domain, SSL, request mapping from GTM Web.

  3. Step 03: Tag migration: client → server

    Moving GA4, Meta Pixel and Google Ads tags server-side. Client-side GTM configured as a forwarder to GTM Server.

  4. Step 04: Data enrichment connectors

    Integrating GTM Server with your backend or CRM via API. Lookup-table or webhook enrichment. Data attached to events in real time.

  5. Step 05: Offline conversion import

    Measurement Protocol or Google Ads Offline Conversions API. Automated imports from the CRM (Make/n8n/Zapier) with GCLID/FBCLID matching.

  6. Step 06: Testing, monitoring & alerts

    Data completeness verified in GA4 DebugView and GTM Preview. Anomaly alerts on event volumes. Documentation and handover.

// CASE STUDY

E-commerce store,EMQ 9.3/10.

WooCommerce. The same GA4 tag installed in three places, so one purchase generated up to three purchase events. Decisions were based on data that was fiction.

CHALLENGE

Tag soup

  • The same GA4 tag in 3 places: GTM, a plugin, developer hardcode
  • One purchase = up to 3 purchase events in GA4
  • A hidden gtag inside a custom multi-pack module
  • Ad algorithms learning from duplicated conversions

SOLUTION

One source of truth + SST

  • Stack cleaned down to a single source: GTM
  • Server-Side Tagging on Stape + Cloudflare Workers (same-origin)
  • Custom Data Layer script for the multi-pack module
  • Meta CAPI with a dedicated Data Tag + PII normalization

RESULT

EMQ 9.3/10 and clean data

  • Meta Event Match Quality 9.3/10 for the Purchase event
  • Complete user parameters on 100% of Purchase events
  • No more multiple counting: one source of truth
  • First-party server cookies instead of Safari’s 7-day ITP cap

// FILTER

Who it's for

SST delivers the most value where standard tracking has structural limits.

E-commerce

  • Phone orders and deferred payments
  • Post-return corrections for a clean conversion signal
  • Product margin inside the purchase event
  • Customer Match built on hashed emails

SaaS / B2B

  • Attribution: lead → trial → paid conversion
  • CRM deals imported into Google Ads
  • Customer LTV inside the conversion signal
  • Churn as a negative conversion

Regulated industries

  • Healthcare, finance, insurance
  • Anonymizer strips PII and IP before data leaves your server
  • Consent Mode v2 with full control over the data
  • GDPR compliance without compromising measurement

Ready for full data infrastructure?

We start with an audit of your current setup. I'll show you how much data you can recover and what you can enrich.

Book an SST consultation