Digital Marketing Dhaka logoCall now
Server-Side Tracking · Dhaka

Server-Side Tracking Setup in Dhaka — Meta CAPI, GTM SS

ঢাকায় সার্ভার-সাইড ট্র্যাকিং সেটআপ

Server-Side Tracking Setup in Dhaka — Meta CAPI, GTM SS — Digital Marketing Dhaka caricature illustration
iOS 17 proof
সার্ভার-সাইড

Server-side GTM on Cloudflare or Stape, Meta Conversions API, Google Enhanced Conversions and TikTok Events API — recover 20–40% of the conversions iOS 17, ad-blockers and Safari ITP silently steal from you.

Cloudflare বা Stape-এ server-side GTM, Meta CAPI, Google Enhanced Conversions ও TikTok Events API — iOS 17, ad-blocker আর Safari ITP-র চুরি করা ২০-৪০% কনভার্সন ফিরিয়ে আনুন।

Quick answer

Server-side tracking — in one paragraph

Server-side tracking in Dhaka means routing conversion events through your own server (GTM Server Container on Cloudflare or Stape) instead of the user's browser, then forwarding to Meta CAPI, Google Enhanced Conversions and TikTok Events API. Digital Marketing Dhaka builds and hosts the container, hashes PII correctly, dedupes with client-side events, and monitors event match quality — so ad platforms can optimise with the full data they need.

ঢাকায় server-side tracking মানে — conversion event ব্রাউজারের বদলে নিজের server (Cloudflare বা Stape-এ GTM Server Container) দিয়ে পাঠিয়ে Meta CAPI, Google Enhanced Conversions ও TikTok Events API-তে forward করা। PII সঠিকভাবে hash, client-side event-এর সাথে dedupe, event match quality monitor — যাতে ad platform পূর্ণ ডেটা দিয়ে optimise করতে পারে।

Why Dhaka

Why this matters for Bangladeshi businesses

Dhaka's paid media is dominated by Meta and Google. Both platforms have degraded browser-side signal massively since 2022: iOS 17 Link Tracking Protection strips URL parameters, Safari ITP kills third-party cookies, and ad-blockers block gtag.js entirely. On a typical Bangladeshi ecommerce site, 25–40% of conversions never reach the ad platform — meaning campaigns can't optimise, ROAS looks worse than it is, and Meta's algorithm targets the wrong audience. Server-side tracking is how you fix it.

ঢাকার paid media মূলত Meta ও Google-এ চলে। ২০২২ থেকে দুটোর browser-side signal ধ্বংস হয়েছে: iOS 17 Link Tracking Protection URL parameter সরায়, Safari ITP third-party cookie মারে, ad-blocker gtag.js পুরোপুরি block করে। সাধারণ BD ecommerce সাইটে ২৫-৪০% কনভার্সন ad platform-এ পৌঁছায় না। Server-side tracking এই সমস্যার সমাধান।

What's included

Every piece we ship in this engagement

01

GTM Server Container setup

GTM Server Container deployed on Cloudflare Workers or Stape (whichever fits your budget + traffic). Custom subdomain, SSL, GDPR-safe region.

02

Meta Conversions API (CAPI)

All events (PageView, ViewContent, AddToCart, Purchase) sent server-side with correctly-hashed email + phone. Event Match Quality target: 8+/10.

03

Google Enhanced Conversions

Purchase + Lead events sent server-side to Google Ads with hashed user data — recovers iOS 17 conversions that would otherwise vanish.

04

TikTok Events API

TikTok Events API set up server-side with test events verified. Essential for BD brands running TikTok Ads on Gen Z segments.

05

Client + server dedupe

event_id passed from browser → server → CAPI to dedupe correctly. Prevents inflated conversions and preserves attribution.

06

PII hashing + privacy

SHA-256 hashing of email, phone, name, city — before data leaves your server. GDPR + BD data-privacy safe by design.

07

Consent Mode integration

Server container respects consent state — if user denies, no PII forwarded. Ad platforms still receive modelled conversions via Consent Mode v2.

08

Event Match Quality monitoring

Weekly report on Meta EMQ score, Google diagnostic, TikTok match rate. If any drops, we alert + fix before performance dips.

Our process

How we deliver it in Dhaka

01

Audit (Week 1)

Current tracking + ad-platform signal quality audit. Baseline EMQ, iOS traffic %, ad-block %. Deliverable: signal gap report.

02

Provision (Week 2)

Cloudflare or Stape server container provisioned, custom subdomain configured, SSL + region set.

03

Migrate + QA (Weeks 3–4)

Client → Server tag migration, dedupe implemented, all events verified in Meta Test Events + Google Enhanced Conversion diagnostics.

04

Monitor + optimise

First 30 days: daily EMQ monitoring, weekly tuning. Then handover with monthly monitoring option.

Deep dive

The details that decide the outcome

Why browser-side tracking is dying, fast

iOS 17 introduced Link Tracking Protection in September 2023 — every URL parameter (fbclid, gclid, utm_source) gets stripped when a user clicks a link from Messages, Mail or Safari private mode. That means Meta can't match the click to the conversion. Combined with Safari ITP (3rd-party cookies dead), Firefox ETP (same), and 30%+ Android ad-blocker adoption in urban BD, browser-side tracking is capturing less signal every month. Server-side is not future-proofing — it's stopping the bleeding now.

Cloudflare vs Stape — which one for Dhaka

Cloudflare Workers is cheapest at scale (free tier handles 100K events/day, then USD 0.30/million). Stape is easier to set up and includes prebuilt tags. For under 300K monthly sessions and a marketing-led team, Stape wins. For over 1M sessions or if you already run Cloudflare, Workers wins. We architect either — no vendor lock-in.

Event Match Quality is the KPI, not just 'events firing'

Meta's Event Match Quality (EMQ) score, 0–10, tells you how well CAPI events are matched to Meta profiles. Below 6, Meta's algorithm treats your data as low-signal. At 8+, the algorithm optimises like it had full pixel data. Getting from 6 to 8+ is usually a matter of adding hashed phone + external_id — a 30-minute change that unlocks 15–30% better ad performance.

Consent Mode + server-side is the actual privacy story

The paranoia around server-side tracking ('you're bypassing user privacy') is backwards. Done correctly, server-side + Consent Mode is more private than browser-side: your server hashes PII before it leaves, consent state is respected, no 3rd-party tags leak. We implement it as a privacy upgrade, not a privacy bypass — critical for BD brands preparing for the incoming Personal Data Protection Act.

Dhaka proof

What it looks like on the ground

A Dhanmondi-based DTC brand running BDT 12 lakh/month on Meta was reporting 2.1x ROAS. Meta's own attribution said 3.4x — the platform saw conversions the pixel wasn't reporting back. We deployed a Stape server container in 3 weeks: Meta CAPI + Google Enhanced + dedupe. EMQ went from 5.4 to 8.7. Reported ROAS rose to 3.2x (matching Meta), Meta's algorithm found 22% cheaper conversions in the first 45 days because it finally had complete signal, and the brand scaled spend to BDT 18 lakh/month at the same ROAS.

ধানমন্ডির একটি DTC ব্র্যান্ড মাসে BDT ১২ লাখ Meta-তে খরচ — reported ROAS ২.১x, কিন্তু Meta বলছিল ৩.৪x। ৩ সপ্তাহে Stape server container deploy: Meta CAPI + Google Enhanced + dedupe। EMQ ৫.৪ থেকে ৮.৭-তে। Reported ROAS ৩.২x-এ, প্রথম ৪৫ দিনে Meta algorithm ২২% সস্তা কনভার্সন খুঁজে দিল, ব্র্যান্ড একই ROAS-এ মাসে BDT ১৮ লাখ-এ scale করল।

FAQ

Frequently asked questions

Is server-side tracking legal in Bangladesh?

Yes — with proper consent handling and PII hashing. It's actually more privacy-safe than browser-side tracking done poorly.

How much does hosting cost?

Cloudflare Workers: USD 5–30/month for typical Dhaka traffic. Stape: USD 20–100/month. We architect for your traffic + budget.

Do we lose our historical Meta pixel data?

No — CAPI + pixel run in parallel with dedupe. Historical data preserved, future data enriched.

Do you also handle TikTok and Snap?

Yes — TikTok Events API is included; Snap Conversions API and Pinterest CAPI available as add-ons.

বাংলাদেশে server-side tracking কি বৈধ?

হ্যাঁ — সঠিক consent handling ও PII hashing সহ। এটি খারাপ browser-side tracking-এর চেয়ে বেশি privacy-safe।

Hosting-এ কত খরচ?

Cloudflare Workers: মাসে USD ৫-৩০। Stape: USD ২০-১০০। আপনার traffic + budget অনুযায়ী architect করি।

Historical Meta pixel data হারাব?

না — CAPI + pixel dedupe সহ parallel চলে। Historical data সংরক্ষিত।

TikTok, Snap-ও করেন?

হ্যাঁ — TikTok Events API include; Snap ও Pinterest CAPI add-on হিসেবে।

Want honest numbers in your next board meeting?

Book a free 30-min analytics call. We'll audit your GA4, ad tracking and dashboards live and show you the biggest measurement + CRO wins — no obligation.