4based/API
Blog

Server-side tracking for 4based, explained

Server-side tracking means your server, not the visitor's browser, reports conversions to ad platforms. For 4based creators and agencies, it ties every paid subscription back to the ad click that started it.

Published

Browser tracking versus server-side tracking

Browser tags depend on cookies, scripts and the visitor's device. Server-side events are sent once a conversion is confirmed, so they survive ad blockers and app-to-browser handoffs.

You also decide exactly which fields leave your system, which makes consent and data minimization easier to enforce.

What a server-side setup needs

First, capture the click ID at landing: fbclid for Meta, ttclid for TikTok, ScCid for Snapchat and gclid, gbraid or wbraid for Google Ads. Second, keep it with the visitor until signup. Third, send the matching conversion event when 4based reports the payment.

Keep both layers when it helps

Many teams run a browser tag and server events side by side. A shared event_id lets each platform deduplicate, so you gain coverage without inflating numbers.

Key takeaways

  • Report conversions only after payment is confirmed.
  • Capture every platform's click ID at landing.
  • Use a shared event_id to deduplicate.

More articles

Build with 4based API

Ready to build?

Tell us what you want to automate, measure or build on top of 4based. Agencies, developers and automation teams all get a tailored next step from our team.