Skip to main content
TRACKLAYER · LEAD-GEN

When the loan funds, Meta should know. Within 24 hours.

Insurance, mortgage, auto, and real-estate marketers run massive Meta and Google budgets — and lose the optimization signal the moment a lead leaves the form. TrackLayer's lead-gen vertical wires HighLevel, HubSpot, Salesforce (and your CRM) directly into Meta CAPI Offline, Google Click Conversion, and TikTok Offline Events — with consent jurisdiction, CCPA opt-out, and audit chain integrity. Closed deals upload automatically. Value-based bidding actually works.
lead_closed → POST /v1/leads/conversion
POST /v1/leads/conversion
Authorization: Bearer ${TRACKLAYER_API_KEY}
{
"lead_id": "hl_oppty_8412",
"status": "closed",
"value": 8500.00,
"currency": "USD",
"closed_at": "2026-04-26T14:02:11Z",
"attribution": {
"fbc": "fb.1.1714125731.IwAR0...",
"gclid": "Cj0KCQjwlOmwBhDX..."
}
}
response — auto fan-out
200 OK
{
"ok": true,
"queued": true,
"lead": {
"id": "a8f1...",
"status": "closed",
"value_cents": 850000
},
// Fan-out — handled by consumer worker:
// meta.Purchase ✓ (within 7d)
// google_ads.converted_lead ✓ (within 90d)
// tiktok.CompletePayment ✓ (within 7d)
}
// THE PROBLEM

Meta optimization starves without close events

A mortgage broker spends $140,000/mo on Meta lead-form ads. The Meta pixel fires on submit. Then the lead vanishes into HighLevel — and 60 days later when the loan funds for $8,500, Meta has no idea. The optimization algo keeps optimizing for form fills, not funded loans. Cost-per-acquisition silently drifts 3-4× from the real customer-acquisition cost.

The fix is offline-conversion-upload — Meta CAPI Offline Events, Google's Click Conversion API, TikTok Offline Events. Every ad platform supports it. Almost nobody uses it. Why? Because it requires: (1) capturing every click ID at form-submit time, (2) persisting it across the 30-90 day sales cycle, (3) uploading the conversion when the deal closes, and (4) doing all of the above for every platform you run, separately.

Insurance agencies, mortgage brokers, auto dealers, and real-estate teams don't have a server-side engineer. They have a Meta agency, a Google agency, a HighLevel admin, and a closer who marks leads “won” in a CRM. The conversion data is right there. The plumbing to get it back to the ad platforms is what TrackLayer's lead-gen vertical does.

§ HOW IT WORKS

Submit → Qualify → Close → Upload

Four stages. One webhook contract. Twelve platforms downstream.
01

Lead submits the form

HighLevel, HubSpot, Salesforce, or your custom form posts to /v1/integrations/highlevel/webhook with HMAC signature. TrackLayer stores the lead, captures fbp, fbc, gclid, ttclid, li_fat_id, and fans out a lead_submitted event to Meta, Google, TikTok, LinkedIn — so ad platforms see the lead immediately.

02

Status updates flow in

When your team marks the lead qualified in the CRM, another webhook fires. TrackLayer records the transition and sends a lead_qualified signal to GA4 and Google Ads as a custom conversion. Value-based bidding starts preferring SQLs over MQLs.

03

Deal closes

Status flips to closed with a value: $8,500 for a funded loan, $2,400 for a bound policy. TrackLayer matches it back to the original click via fbc/gclid/ttclid.

04

Meta CAPI fan-out

A lead_closed event fans out as Purchase to Meta CAPI Offline (within the 7-day window), converted_lead to Google Ads (within 90 days), CompletePaymentto TikTok offline events, and PURCHASE to LinkedIn. Every platform's optimizer learns from the actual revenue event, not the form fill.

VS THE ALTERNATIVES

What you actually need vs what HighLevel, LeadConnector, and Hyros ship

HighLevel is a CRM with a built-in pixel — fine for one Meta account. LeadConnector ships Meta CAPI for HighLevel users only. Hyros tracks every channel but doesn't push back to ad platforms. None handle multi-CRM, multi-platform, signed-webhook, retroactive-value upload.
CapabilityTrackLayerHighLevelLeadConnectorHyros
Offline conversion upload
HighLevel signed webhook
HubSpot CRM v3 signing
Salesforce platform events~
Click ID persistence (90d)~
Meta CAPI fan-out (auto)
Google Click Conv (auto)
TikTok Offline (auto)
Per-platform value mapping
Retroactive value updates
Source code transparent
Price (per month, mid-tier)$299$497+CRM$397$799
TrackLayer
Offline conversion upload
HighLevel signed webhook
HubSpot CRM v3 signing
Salesforce platform events
Click ID persistence (90d)
Meta CAPI fan-out (auto)
Google Click Conv (auto)
TikTok Offline (auto)
Per-platform value mapping
Retroactive value updates
Source code transparent
Price (per month, mid-tier)
$299
HighLevel
Offline conversion upload
HighLevel signed webhook
HubSpot CRM v3 signing
Salesforce platform events
Click ID persistence (90d)
~
Meta CAPI fan-out (auto)
Google Click Conv (auto)
TikTok Offline (auto)
Per-platform value mapping
Retroactive value updates
Source code transparent
Price (per month, mid-tier)
$497+CRM
LeadConnector
Offline conversion upload
HighLevel signed webhook
HubSpot CRM v3 signing
Salesforce platform events
Click ID persistence (90d)
Meta CAPI fan-out (auto)
Google Click Conv (auto)
TikTok Offline (auto)
Per-platform value mapping
Retroactive value updates
Source code transparent
Price (per month, mid-tier)
$397
Hyros
Offline conversion upload
HighLevel signed webhook
HubSpot CRM v3 signing
Salesforce platform events
~
Click ID persistence (90d)
Meta CAPI fan-out (auto)
Google Click Conv (auto)
TikTok Offline (auto)
Per-platform value mapping
Retroactive value updates
Source code transparent
Price (per month, mid-tier)
$799
§ USE CASES

Three verticals, three before/after stories

Names anonymized; numbers from the first 90 days post-integration.
INSURANCE
halcyonlabs-insurance.com
$72k/mo Meta + $48k/mo Google
BEFORE

Meta optimizes for lead-form fills at $38 CPL. Bind rate is 18%. Real CPA is ~$211/policy, but Meta sees $38 — so it floods the funnel with low-intent leads. Sales team complains the leads are “tire-kickers.”

AFTER

TrackLayer fires lead_closedwith the bound premium when the policy issues. Within 28 days, Meta's optimizer shifts toward the audience segments that actually bind. CPL rises to $54, but cost-per-bound drops to $167 — the same budget produces 26% more bound policies.

MORTGAGE
northfield-mortgage.com
$140k/mo Meta + $90k/mo Google + $30k/mo TikTok
BEFORE

Funded-loan attribution lives in Encompass. Meta and Google both see only the lead form. The Google rep keeps recommending “value-based bidding,” which is impossible without offline conversions flowing back. Loan officers manually email the marketing team a CSV of funded loans every Friday. Sometimes.

AFTER

Encompass + HighLevel webhooks → TrackLayer → all three platforms. Funded-loan value (commission to broker, ~0.85% of loan amount) flows back within 24h of close. Google value-based bidding produces a 2.1× ROAS lift in 60 days. Meta Advantage+ campaigns finally outperform the manual ones.

AUTO DEALER
ridgeway-autogroup.com
$45k/mo Meta + $60k/mo Google
BEFORE

Lead form fires Lead pixel. Walked-in test drives never get back to Meta. CRM (DealerSocket) shows 4.2% test-drive-to-sale, but Meta optimizes purely on the upper funnel. Ad spend allocates to vehicles that generate leads, not vehicles that sell.

AFTER

DealerSocket webhook → TrackLayer fires lead_qualified when the test drive happens, lead_closed when paperwork signs (with the OTD price as value). Per-vehicle ROAS becomes visible in Meta Ads Manager. Pickups get more spend, sedans less.

Avg ROAS lift on Google value-bidding
2.1×
60-day window
Avg cost-per-bound (insurance)
−21%
vs pixel-only baseline
Closed events flowing in 24h
98.4%
p99 < 9 min latency
// INTEGRATIONS

Three CRM webhooks shipped today

§ 01

Signed HMAC-SHA256 webhook

Wire the LeadConnector outbound webhook to /v1/integrations/highlevel/webhook. We verify the x-hl-signature header, parse opportunity stage transitions (won / lost / qualified / closed-won), and read the monetary_value field for the close event.

§ 02

Webhook v3 signing (HMAC-SHA256 + timestamp)

Configure your HubSpot app's webhook subscriptions for contact.creation, deal.creation, and deal.propertyChange events. We verify the x-hubspot-signature-v3 header against METHOD+URI+BODY+TIMESTAMP, parse dealstage and lifecyclestage, and pull amount + closedate.

§ 03

Platform Events + custom Apex callouts

Salesforce Flows can post to /v1/integrations/salesforce/lead-event with a shared-secret HMAC. We accept both base64 (platform-event signing) and hex (custom Apex). Lead.IsConverted, Opportunity.StageName, and AnnualRevenue all map to the lead lifecycle.

§ PRICING

Three tiers, all include Meta + Google + TikTok offline upload

The lead-gen vertical sits on TrackLayer's standard plan grid for now. Vertical-specific pricing (per-bound-policy, per-funded-loan) ships in a follow-up.
STARTER
$99/mo

Up to 1,000 closed leads/mo. Meta CAPI Offline + Google Click Conversion. HighLevel webhook included.

Start free trial
GROWTH
$299/mo

Up to 10,000 closed leads/mo. All 12 platforms. HubSpot + Salesforce webhooks. Retroactive value updates. Lead-funnel dashboard.

Start free trial
BUSINESS
$799/mo

Unlimited leads. Custom CRM webhook adapters on request. Dedicated attribution-window tuning. SLA-backed offline-conv upload latency.

Talk to sales
BUILT FOR LEAD-GEN

Consent jurisdiction + CCPA opt-out + audit chain.

Every lead event is gated by consent jurisdiction rules, CCPA opt-out is enforced before platform delivery, and full audit chain integrity is maintained for compliance review.

Consent jurisdiction

GDPR/CCPA-aware routing blocks non-consented events before they reach ad platforms.

CCPA opt-out

Honors consumer deletion and opt-out requests across all downstream destinations.

Audit chain integrity

Immutable logs of every lead event, consent decision, and platform delivery.

// FAQ

What marketers ask before signing up

How is this different from running Meta CAPI directly?
Meta CAPI alone only handles Meta — and only if you wire up offline-conversion-upload yourself. TrackLayer fans out the same close event to Meta, Google, TikTok, LinkedIn, Microsoft Ads, and Bing UET in one webhook call. Click IDs are persisted across the full 90-day sales cycle in our identity graph so even cookie-less users still attribute back.
Do you store PII?
Email and phone are hashed (SHA-256, lowercased and trimmed per Meta/Google/TikTok spec) before they leave our pipeline. Raw values are never persisted. Click IDs (fbc/fbp/gclid/ttclid/li_fat_id) are stored in our identity graph for 90 days, then auto-purged. Customers on Pro tier can configure shorter retention windows in the consent firewall.
What if my CRM isn't HighLevel, HubSpot, or Salesforce?
Use the public POST /v1/leads/conversion endpoint with your own Bearer token. Any backend that fires when a deal closes can call it — Pipedrive, Close.com, Zoho, custom database triggers, n8n, Zapier, Make. The status transitions submitted → qualified → closed map to lead_submitted / lead_qualified / lead_closed events automatically.
How long is the offline-conversion-upload window?
Meta CAPI Offline accepts events up to 7 days after the click. Google Click Conversion accepts up to 90 days for most conversion types. TikTok Offline accepts up to 7 days. LinkedIn accepts 90 days. TrackLayer respects each platform's window — events that fall outside are flagged in the dashboard so you can see exactly which closes weren't attributable and why.
What happens if I update a closed lead's value 30 days later?
Fire the lead_value_attributed event with the same lead_id and the updated value. We push a corresponding update to Meta CAPI (within the 7-day window) and Google Ads (within 90 days). This is critical for mortgage brokers who learn the actual loan amount weeks after the application closes.
Is this compliant with GDPR / CCPA?
Yes. The consent firewall (Pro+) gates every send on the user's actual consent state. EU leads from non-consented forms are blocked at the firewall layer before any platform sees them. Audit logs retain 90 days. Custom retention policies and a DPO-friendly DSL are available on the Business tier.
NEXT STEP

Wire your CRM in an afternoon.

Most lead-gen integrations are live within 4 hours: 30 minutes for the webhook, the rest is mapping CRM stages to the four lead-gen events. Then you wait for the next close to roll in.

We use essential cookies to keep the site secure and functional. Analytics and third-party tags run only with your consent. See our Cookie Policy.

We use essential cookies to keep the site secure and functional. Analytics and third-party tags run only with your consent. See our Cookie Policy.