Skip to content

Server-Side Tracking

Learn how server-side tracking sends conversion data directly from your server to ad platforms via Conversion APIs, bypassing ad blockers and browser restrictions. Covers identifiers, Event Match Quality, hybrid tracking, and how AnyTrack automates the entire workflow.

Server-side tracking sends conversion data directly from your server to ad platforms via their Conversion APIs, bypassing the browser entirely. Unlike client-side tracking (which loads Tracking Tags in the browser), server-side tracking uses server-to-server communication that ad blockers cannot see or block.

When a conversion happens, your server sends event data directly to platforms like Facebook Ads or Google Ads via their Conversion APIs without loading a browser pixel. For a detailed comparison of how Meta’s three tracking layers work together (Pixel, Conversion API, and Conversion API for CRM), see Meta Pixel vs CAPI vs CAPI for CRM.

📘 Note

Server-side tracking is available on all AnyTrack plans. AnyTrack handles data transformation, hashing, and API management automatically when you connect an ad platform.

Server-Side Tracking vs Server-to-Server (S2S)

Section titled “Server-Side Tracking vs Server-to-Server (S2S)”

The terms overlap but describe slightly different setups:

  • Server-side tracking sends conversion data from your server to ad platform APIs (Meta Conversions API, Google Ads Enhanced Conversions, TikTok Events API, Microsoft Ads UET, LinkedIn Conversions API). You use it to feed conversion data into ad campaigns for optimization.
  • Server-to-server (S2S) tracking typically refers to affiliate-network postbacks. A network’s server pings your tracker when a sale happens, with no browser involved. This is the standard model for affiliate networks like Awin, ClickBank, or CJ.

In practice, AnyTrack runs both. AnyTrack receives S2S postbacks from affiliate networks and sends server-side events to ad platforms via their Conversion APIs. The full chain is S2S in, server-side out.

Ad blockers, iOS App Tracking Transparency, and cookie limitations break traditional pixel tracking. Server-side tracking solves three critical problems:

  1. Accuracy: Servers communicate reliably. Failed requests retry automatically with error logging.
  2. Ad blocker immunity: Browser extensions cannot block server-to-server communication.
  3. Data quality: Hash personal information, normalize formats, and enrich conversion data before sending.

Industry estimates suggest that without server-side tracking, 20-30% of conversions are lost to ad blockers and browser restrictions. Ad platforms receive incomplete data, degrading campaign optimization.

Traditional pixel tracking loads in the browser when users reach your thank-you page.

Example: Facebook Pixel on checkout page

When a customer completes a purchase, the thank-you page executes:

fbq('track', 'Purchase', {
value: 40.00,
currency: 'USD'
});

Flow:

  1. Customer completes purchase
  2. Thank-you page loads in browser
  3. Facebook Pixel code executes
  4. Pixel sends Purchase event to Facebook
  5. Facebook Event Manager records the conversion
  6. Facebook Ads updates campaign ROAS

Problem: Ad blockers, iOS App Tracking Transparency, and cookie limitations block 20-30% of pixel requests. Facebook never sees the conversion, so campaigns optimize on incomplete data.

Server-side tracking sends conversion data from your server to ad platforms via Conversion APIs, with no browser pixel required.

Flow:

  1. Customer completes purchase
  2. Your server records the transaction
  3. Server transforms data to match the Conversion API format
  4. Server hashes personal data (email, phone, name)
  5. Server maps internal field names to platform standard names
  6. Server sends a POST request to the Conversion API

Example: Facebook Conversion API payload

{
"data": [
{
"event_name": "Purchase",
"event_time": 1661941807,
"action_source": "website",
"event_id": "123123123123123123",
"event_source_url": "https://example.com",
"user_data": {
"em": ["7b17fb0bd173f625b58636fb796407c22b3d16fc78302d79f0fd30c2fc2fc068"],
"ph": ["72fe84274df481a1ad439dbd462c76f6304a99a8e009e583924ff04f9c17cc01"],
"external_id": ["932f3c1b56257ce8539ac269d7aab42550dacf8818d075f0bdf1990562aae3ef"]
},
"custom_data": {
"currency": "USD",
"value": "142.52"
}
}
]
}

The user_data fields are hashed (SHA-256). Meta uses these identifiers to match conversions to user profiles and improve Event Match Quality.

Ad platforms need identifiers to connect server-side conversions to users who clicked your ads.

IdentifierWorksRequirements
Transaction IDPartialDeduplicates browser + server conversions; does not match users across systems
EmailYesHash (SHA-256) and normalize (lowercase, trim whitespace)
PhoneYesNormalize (E.164 format) and hash
NameYesSend first and last name together, hashed, combined with other identifiers
fbp cookieYesMeta browser cookie; bridges browser activity to server conversions
fbc cookieYesMeta click ID from ad clicks

Send multiple identifiers to maximize match rates. Meta uses these to calculate Event Match Quality. Higher match quality improves targeting and optimization.

Server-Side Tracking: Advantages and Challenges

Section titled “Server-Side Tracking: Advantages and Challenges”

Reliability: Server-to-server communication does not fail silently. Failed requests trigger retries and error notifications.

Ad blocker immunity: Browser extensions cannot see or block server-to-server API calls.

Privacy control: Process and anonymize data before sending to ad platforms. You decide what data to share.

Data enrichment: Combine conversion data with CRM records, customer lifetime value, and product catalogs before sending.

Cross-device tracking: Use customer IDs and hashed email to track users across devices without cookie dependency.

Development required: Backend work is needed to transform data to the Conversion API format, hash personal information, and handle authentication.

Identifier dependency: Without email, phone, or Meta cookies, match rates decline.

API maintenance: Monitor for deprecation notices and update integrations when platforms release new versions.

Infrastructure: Server-side tracking requires capacity to handle API requests, retries, and error logging.

Data quality risk: Malformed data or wrong event parameters can degrade campaign performance. Test before deploying to live campaigns.

AnyTrack eliminates backend development. Install the AnyTrack Tracking Tag once and enable server-side tracking via a toggle.

What AnyTrack automates:

  • Data transformation: Converts conversions to match each platform’s Conversion API format (Meta, Google Ads, TikTok, etc.)
  • Identifier collection: Captures browser cookies (fbp, fbc, gclid) and first-party data (email, phone)
  • Hashing and normalization: Automatically hashes personal data to maximize Event Match Quality
  • API management: Handles authentication, retries, error logging, and version updates
  • Multi-platform delivery: Send conversions to all connected platforms simultaneously

Examples:

  • Shopify: Automatic purchase tracking via Conversion API
  • Affiliate networks: Server-side tracking via postback URL
  • Custom checkouts: Webhooks send conversions directly to AnyTrack

AnyTrack connects your website, backend systems, and ad platform APIs, handling all orchestration so you focus on optimization.

Every ad platform exposes its own server-side API with different field names, hashing rules, and event taxonomies. AnyTrack handles the translation so you connect the platform once and AnyTrack delivers the right format for each.

Meta’s Conversions API (CAPI) receives server-side events that complement the browser-loaded Meta Pixel. AnyTrack sends hashed user data (em, ph, external_id), the fbp and fbc cookies, and a shared event_id so Meta deduplicates browser and server events. See Facebook Ads integration and Event Match Quality.

Google Ads uses Enhanced Conversions to receive hashed customer data alongside the standard conversion event. AnyTrack collects email, phone, and address fields at conversion time, hashes them, and forwards them with each conversion. The result is improved attribution for users whose ad clicks predate Google’s cookie window. See Google Ads Enhanced Conversions.

TikTok’s Events API accepts server-side conversion events with the same standard event names as the browser pixel (Purchase, Lead, CompleteRegistration). AnyTrack maps each AnyTrack event to the matching TikTok event, hashes PII, and forwards ttclid to maintain click-to-conversion attribution. See TikTok Ads integration.

Microsoft Ads server-side tracking combines the UET tag with offline conversion uploads. AnyTrack forwards conversions with the msclkid click identifier so Microsoft attributes them to the right campaign even when the UET cookie is missing. See Microsoft Ads integration.

Affiliate Network Server-to-Server Tracking

Section titled “Affiliate Network Server-to-Server Tracking”

Affiliate networks like Awin, ClickBank, CJ, and 70+ others push conversions to AnyTrack via postback URLs when a referred user completes a sale. AnyTrack enriches that conversion and forwards it to your ad platforms via their server-side APIs. See Affiliate Networks.

Send conversions from both browser and server. Use the event_id parameter to deduplicate conversions across sources. This maximizes coverage during platform transitions.

Send all matching identifiers: hashed email, hashed phone, fbp, fbc, IP address, and user agent. Higher match quality improves targeting and attribution.

Set up alerts for failed API requests, low Event Match Quality scores, and conversion discrepancies between your logs and platform reporting.

Subscribe to platform changelog notifications (Meta, Google Ads, etc.). Update integrations when platforms deprecate endpoints or release new features.

Validate server-side tracking with test conversions. Compare server-side counts to internal transaction logs to verify accuracy before enabling live campaigns.

Identify which platforms you advertise on and which conversion events to track. Common events: Purchase, Lead, AddToCart, CompleteRegistration.

Option 1: Manual backend integration. Build custom integration with each platform’s Conversion API. Full control, highest complexity.

Option 2: AnyTrack. No-code setup with automatic data transformation. Connect your ad platform in the Integration Catalog and server-side tracking starts working.

Option 3: Server-side Google Tag Manager. Intermediate complexity. Requires server container setup.

Capture browser cookies (fbp, fbc, gclid) and first-party data (email, phone) throughout the customer journey. Store these so your server includes them in Conversion API requests.

Send test conversions and verify they appear in platform Event Manager tools. Check Event Match Quality scores and fix any identifier issues.

Use the event_id parameter to deduplicate browser and server conversions. Same event_id means same conversion.

Track Event Match Quality scores, API error rates, and conversion completeness. Optimize by adding more identifiers and fixing data quality issues.

Server-Side Tracking FAQ

FAQ was last reviewed on 2026-06-10

Do I still need client-side tracking if I use server-side tracking?
Yes. The recommended approach is hybrid tracking, where you send conversions from both browser and server. Use the event_id parameter to deduplicate. This maximizes coverage because some identifiers (like the fbp cookie) are only available client-side.
What is Event Match Quality and why does it matter?
Event Match Quality is a Meta score (1-10) that measures how well your server-side conversions match to Facebook user profiles. Higher scores mean better ad targeting and optimization. Send multiple hashed identifiers (email, phone, fbp, fbc) to improve your score.
Which AnyTrack plans support server-side tracking?
Server-side tracking is available on all AnyTrack plans. AnyTrack automatically handles data transformation, hashing, and API delivery when you connect an ad platform through the Integration Catalog.
Can server-side tracking work without collecting email addresses?
Yes, but match rates will be lower. Server-side tracking can use other identifiers like the fbp cookie, fbc click ID, phone number, or IP address. For best results, collect and send as many identifiers as possible.
How is server-side tracking different from the Conversion API?
Server-side tracking is the general concept of sending data server-to-server. Conversion API (sometimes abbreviated CAPI) is the specific implementation by Meta (Facebook). Google Ads, TikTok, and other platforms have their own server-side APIs with different names and formats.
How do I migrate from client-side to server-side tracking?
Run both in parallel first. Keep your existing browser pixel firing and add server-side tracking through AnyTrack. Tag every conversion sent both ways with the same event_id so ad platforms deduplicate the matched pair. Verify Event Match Quality stays above 6 out of 10 - if it drops, identifiers are missing. Once server-side delivery is stable, you can phase out redundant browser events. AnyTrack runs hybrid by default the day you connect a platform.