Freelancer Chamok

Sayem Ads

Case Study — SayemAds Lead Tracking Setup
Advanced Meta CAPI + GA4 Lead Tracking Infrastructure for SayemAds
Client
SayemAds — Digital Ads & Performance Marketing Expert

SayemAds is a service-based portfolio website offering Google Ads, Meta Ads, and performance marketing solutions to global clients. To maximize conversions and track leads accurately, the brand required a robust, analytics-driven lead measurement system across all platforms.

Project Overview

SayemAds previously relied on limited browser-based tracking which caused lead under-reporting, misattribution, and incomplete behavioral insights. To solve this, I created a full-stack lead tracking solution powered by Meta CAPI (server-side), GA4 enhanced lead events, and UI engagement measurement.

The end goal: Improve lead attribution accuracy, boost remarketing quality, and build a high-quality first-party data ecosystem.

Project Objectives
  • Accurate server-side lead tracking (Meta CAPI)
  • Implement GA4 lead event architecture
  • Track all high-intent website interactions
  • Improve retargeting audience quality
  • Reduce data loss on iOS & blocked browsers
  • Enable a complete lead-generation funnel
Challenges (Before)
  • No server-side Conversion API → lead underreporting
  • Contact Form Submission was not tracked properly
  • WhatsApp clicks were untracked
  • No scroll or CTA engagement tracking
  • Weak event match quality in Meta (EMQ low)
  • Generic retargeting audiences with low conversion intent
  • No event ID matching → pixel & CAPI duplication risks
Strategy

I built a hybrid tracking infrastructure using GTM Web + GTM Server + Stape.io. All meaningful user actions were tracked as custom GA4 + Meta events. Contacts, WhatsApp leads, scroll engagement, outbound visits, and CTA clicks were integrated into the full funnel.

  • Server-side Meta Conversion API with a custom tracking domain
  • GA4 Lead Event Framework (form_submit, generate_lead, contact, cta_click)
  • Meta Pixel event_id → CAPI deduplication model
  • Scroll-depth & page engagement tracking
  • High-intent retargeting audience segmentation
  • Advanced matching (hashed email, phone, IP, UA)
Implementation
1. GA4 Lead Event Architecture
  • generate_lead event with lead source
  • contact_form_submit tracking
  • whatsapp_click event (high-intent qualifier)
  • cta_click tracking across buttons
  • Outbound link tracking
2. UI Engagement Tracking
  • Scroll-depth tracking (25–50–75–100%)
  • Section-based engagement tracking
  • Hero CTA engagement
3. Meta Pixel (Client-Side)
  • Lead, Contact, PageView, ViewContent
  • Custom lead events enriched with parameters
  • Browser-side event_id generation
4. Meta Conversion API (Server-Side)
  • Stape.io server container setup
  • Configured subdomain: track.sayemads.com
  • Server-side Lead event + enrichment
  • Advanced matching signals with hashing
5. Event Deduplication
  • Unified event_id for Pixel + CAPI
  • Zero duplicate leads in Meta reporting
6. Audience Segmentation
  • Page Engaged (scroll 50%+)
  • WhatsApp high-intent users
  • Form Started but Not Submitted
  • CTA Engaged Visitors
  • Returning Visitors
7. Validation & QA
  • Meta Events Manager → Diagnostics resolved
  • GA4 DebugView → All events verified
  • GTM Preview → Real-time validation
  • Stape server logs → event flow monitoring
Tools Used
  • Meta Pixel
  • Meta Conversion API (CAPI)
  • Google Tag Manager (Web + Server)
  • GA4 (Lead Events + Custom Engagement)
  • Stape.io Server Container
  • Custom Tracking Domain
Results
Area Before After
Lead Tracking Accuracy Inconsistent 100% accurate server-side lead reporting
WhatsApp Clicks Not tracked Fully measured with GA4 + Meta
Form Submission Not reliable Validated form_submit events
Event Delivery Browser-only Hybrid (Browser + Server)
Match Quality Low 9–10/10 advanced matching
Audience Quality Generic High-intent segmented audiences
Summary

The hybrid Meta CAPI + GA4 lead tracking setup transformed SayemAds’ measurement capabilities. With server-side accuracy, complete event visibility, and behavior-driven segmentation, SayemAds can now optimize campaigns using reliable, revenue-backed lead data. This future-proof tracking framework ensures maximum lead capture and intelligent ad optimization.

Contact With Me Profile