Server-side and client-side tracking
The facts below come from our guide on server-side vs client-side tracking. We checked its sources on 4 October 2026. They are named at the end of this page.
- Client-side: tags such as the Google Analytics tag or the Meta Pixel run in the visitor's browser. They send each event straight to their tool. It is quick to set up, but browser limits and ad blockers can stop some data.
- Server-side: the browser sends events to a server you control, often on a sub-domain of your own site. The server checks and cleans the data, then forwards it. You decide what each tool receives.
Two common routes are Google Tag Manager server-side tagging and Meta's Conversions API. An API (application programming interface) is a way for two systems to send data to each other. Both can send events from your site's back end or your CRM. A CRM (customer relationship management software) is where your leads are kept.
Why businesses use it
- Safari caps cookies created by page scripts at seven days, according to a WebKit post dated 21 February 2019. A visitor who returns after ten days may not be linked to your ad.
- Offline results can be sent back to the ad platforms. Examples are a sale closed on the phone or a lead marked as qualified in the CRM.
- Fewer tags in the browser can make pages lighter.
- Meta recommends running its Pixel and its Conversions API together. Matching event names and event IDs let it drop duplicates. The second copy must arrive within 48 hours of the first.
A made-up example in rupees
Say a builder in Hyderabad spends ₹1,00,000 on ads in a month. This is a made-up example. The browser tag counts 40 enquiries. The CRM shows 55 real enquiries, because some visitors had blocked tags or used another browser.
- Cost for each enquiry on the tag count: ₹1,00,000 ÷ 40 = ₹2,500.
- Cost for each enquiry on the CRM count: ₹1,00,000 ÷ 55 = about ₹1,818.
The ad platform learns from the numbers it receives. If it sees only 40 of the 55, it learns from a smaller picture. A server link that passes on all 55 lets it learn from the whole.
What it does not do
- It does not remove the need for consent. Our guide notes that India's Digital Personal Data Protection Rules were notified on 14 November 2025. Duties are phased in over 18 months (Press Information Bureau, 17 November 2025).
- If a visitor says no to tracking, the server should not send their data either.
- It is not free. Google's guide on its Cloud Run set-up estimates about US$45 a month per server. It recommends at least two. The set-up and upkeep cost more.
Common mistakes
- Sending the same event from the browser and the server with no shared event ID. Then one sale counts twice.
- Counting the click on a Submit button, not the confirmed form.
- Ignoring consent.
- Setting it up once and never checking it again. A website change can break it.
- Moving to server-side when ad spend is small. Set up the browser tags properly first.
To tag your campaign links, read about UTM parameters. To set up tracking, see our analytics and tracking service.
Related terms
- GTM (Google Tag Manager): a free tool that manages tags without editing the site code each time.
- GA4 (Google Analytics 4): the tool that reports visits and events.
- Attribution: deciding which source gets credit for a lead or sale.
Sources
- PromotEdge guide, "Server-side vs client-side tracking" (/blog/server-side-tracking-vs-client-side-tracking/), sources checked 4 October 2026.
- Google Tag Manager, "Introduction to server-side tagging" and "Cloud Run setup guide" (developers.google.com/tag-platform/tag-manager/server-side/intro), checked 4 October 2026.
- Meta for Developers, "Deduplicate Pixel and Server Events" (developers.facebook.com/docs/marketing-api/conversions-api/deduplicate-pixel-and-server-events), checked 4 October 2026.
- WebKit blog, "Intelligent Tracking Prevention 2.1", 21 February 2019 (webkit.org/blog/8613/intelligent-tracking-prevention-2-1/), checked 4 October 2026.
- Press Information Bureau, "DPDP Rules, 2025 Notified", 17 November 2025, checked 4 October 2026.

























