iClosed to Meta Conversions API.
Send iClosed booked calls and won deals to Meta so ads optimize on real pipeline. Each stage reaches your Meta Pixel with the ad click attached.
What gets sent.
| DATALYR event | When it fires | Sent to Meta as | What it carries |
|---|---|---|---|
| call_booked | A call is booked | Schedule | A fixed value you set for what a booked call is worth |
| lead_qualified | A contact is marked Qualified | Lead | A fixed value you set for what a qualified lead is worth |
| deal_won | An outcome is added as SALE | Purchase | The closer's deal value and currency, with the deal ID as the order ID. Contract value, not cash |
How it's matched.
DATALYR checks these in order and stops at the first one that finds the ad click.
- dl_vid, the visitor ID on your scheduler link
- The contact or invitee email, matched to an earlier visit
- UTM parameters and click IDs the iClosed widget read from your page
Meta gets the click ID (fbc, built from the _fbc cookie or fbclid) and browser ID (fbp), plus email, phone and name hashed with SHA-256 when known. DATALYR sends the same event ID the browser pixel uses, so Meta merges the pair into one conversion.
How it works.
- 01
Connect iClosed.
In Sources, select connect on iClosed and generate the webhook URL. In iClosed, open Settings, Developer, Webhooks, paste the URL and tick all six triggers. Redirect bookings to a thank-you page of yours that runs the snippet from the iClosed card.
- 02
Connect Meta.
Open Sources, select connect on Meta Ads and sign in with Facebook Login for Business. Set the primary ad account. In Conversions, select manage rules, then new rule: trigger event call_booked, target platform Meta, your pixel, platform event Schedule. Set a fixed value: what a booked call is worth to you.
- 03
Check one conversion.
Book one test call from a Meta ad click, with a test email. Find call_booked in Events, then open the newest row in Conversions and read the reply from Meta.
Check it worked.
- In Events, the call_booked row has source iclosed and your utm_source test value. A visitor_id that starts with iclosed_ means no visit matched, so put the thank-you snippet above the tracking script.
- Set a Test Events code on the rule, then select send test event. The event shows in Events Manager under Test events with the name, value and currency you mapped. Without a code, a test is a real conversion.
- Open the newest row in Conversions. Its status reads sent, and the response body carries Meta's own acceptance field.
View docsiClosedMeta AdsConversion delivery
Questions, answered.
Contact usMeta optimizes on a 7 day window, and most deals close later. Optimize on call_booked or lead_qualified, and send deal_won to report closed deals.
No. deal_won is contract value, not cash, so no DATALYR revenue report counts it. Connect a payment source such as Commas or Stripe for cash.
iClosed's own Meta events use custom names, so they do not collide with DATALYR's, but optimize a campaign on one, not both. Setup also keeps one purchase rule per pixel among iClosed, HubSpot, Zapier and Commas.

See what really drives revenue.
Real-time attribution, analytics and conversions for every channel, campaign and ad, ready for your team and your agents.