Skip to main content
Offline Conversions · 2 min read

Offline Conversion Tracking Webhooks: Syncing HubSpot & GoHighLevel to Google Ads and Meta CAPI

How to build automated CRM webhook pipelines that send qualified HubSpot and GoHighLevel deal stages back to Google Ads and Meta Conversions API.

Syed Yasir

Syed Yasir

Conversion Tracking & Server-Side Attribution Expert

Automated CRM webhook pipeline syncing HubSpot and GoHighLevel qualified leads to Google Ads and Meta CAPI

For B2B and high-ticket service teams, website form fills are only the first step of the funnel. If your sales team qualifies leads inside HubSpot or GoHighLevel (GHL) without sending those outcomes back to your ad accounts, Smart Bidding optimizes blindly for raw form volume.

Automating Offline Conversion Tracking via CRM webhooks routed through Server-Side GTM eliminates manual CSV uploads and feeds real pipeline revenue directly into Google Ads and Meta.

Step 1: Persist Click & Browser IDs Into CRM Fields

Before a CRM webhook can attribute a deal back to a campaign, your website must capture ad click identifiers on landing and store them inside hidden fields on your HubSpot or GoHighLevel forms:

  • Google Ads: gclid, gbraid, wbraid
  • Meta Ads: _fbc (derived from fbclid) and _fbp
  • Attribution Context: utm_source, utm_medium, utm_campaign

Step 2: Trigger a Webhook on Pipeline Stage Changes

Inside HubSpot Workflows or GoHighLevel Automations, trigger an HTTP POST webhook whenever a deal enters Qualified Lead (SQL) or Closed-Won—pointing to a dedicated sGTM webhook endpoint (e.g., https://data.yourdomain.com/crm-webhook).

{
  "event_name": "qualified_lead",
  "event_time": 1733151600,
  "crm_source": "hubspot",
  "deal_id": "deal_55291",
  "currency": "USD",
  "value": 2500.0,
  "gclid": "Cj0KCQiA-example-click-id",
  "fbc": "fb.1.1733140000.IwAR0exampleClickId",
  "fbp": "fb.1.1733140000.1234567890",
  "user_data": {
    "email": "[email protected]",
    "phone": "+15559876543"
  }
}

Step 3: Route to Google Ads & Meta CAPI Inside sGTM

In your Server-Side GTM container, configure a Data Client (or JSON Webhook Client) to parse the incoming CRM payload and fire two tags:

  1. Meta Conversions API (CRM / System Generated): Set action_source to system_generated, pass lead_event_source (HubSpot or GoHighLevel), hash email/phone via SHA-256, and attach fbc/fbp.
  2. Google Ads Offline Conversion / Enhanced Conversions for Leads: Send gclid + hashed email/phone + ISO timestamp with explicit timezone offset (+00:00).

Critical QA Checks Before Going Live

  • Never mark both raw form fills and SQL deals as equal Primary conversions in Google Ads without value-based hierarchy.
  • Deduplicate webhook retries using deal_id + event_name as the deterministic event_id.
  • Keep raw CRM PII out of GA4: Route CRM webhook events strictly to your ad platform offline endpoints unless anonymized.

Explore our dedicated HubSpot Offline Conversion Tracking and GoHighLevel Offline Conversion Tracking services to deploy this pipeline cleanly.

Topics: Offline Conversions HubSpot GoHighLevel Webhooks Meta CAPI
Share this article

Free Tracking Audit

Want Me to Audit Your Conversion Tracking Stack?

Book a free tracking audit. I'll review your GTM, GA4, Server-Side Tracking, Meta CAPI, Google Ads Enhanced Conversions, and Consent Mode V2 setup and highlight exactly what to fix.

Keep Reading

All articles →
Syed Yasir Chat on WhatsApp Available now · Replies under 5 min