What iClosed sends
A contact without an email writes nothing. The next Contact updated carries the email and writes the stage.
deal_won carries the closer’s deal value in value, currency (default USD), and deal_id (iclosed_ plus the outcome ID).
Before you start
Connect iClosed
1
Generate the webhook URL
Open Sources. On the iClosed card, select connect. Select Generate URL.
2
Copy the URL
Copy the webhook URL. Select Done.
3
Create the webhook in iClosed
In iClosed, open Settings → Developer → Webhooks. Select Create Webhook. Paste the URL.
4
Tick the triggers
Tick Contact created, Contact updated, Call booked, Call rescheduled, Call cancelled, and Outcome added. Save.
5
Install tracking
Add the tracking script to the
<head> of every page that links to your scheduler.6
Redirect after booking
In iClosed, open your event. Under Confirmation page, choose Redirect to your thank-you page. Turn on Forward parameters.
7
Add the thank-you snippet
On the thank-you page, paste the snippet below above the DATALYR tracking script.
The thank-you snippet
Copy it from the iClosed card. It removes the invitee’s personal fields from the address bar and callsidentify() with the email.
How leads match to ad clicks
DATALYR checks these in order and stops at the first one that finds an ad click.
UTMs and click IDs on the scheduler link carry through to contact and call webhooks. Outcomes carry no tracking data, so they match by email.
With no match,
visitor_id is iclosed_ plus the iClosed contact ID.
Set up conversion rules
Select the flag icon on the connected iClosed card to open the starter rules.
Meta and TikTok optimize on a 7-day window. Most deals close later, so optimize them on
call_booked or lead_qualified.
Google Ads has no starter rules for iClosed. Create a rule by hand in Conversions and pick your conversion action.
If a Commas or Stripe rule also sends Purchase to the same pixel, turn one off. Otherwise Meta counts the sale twice.
iClosed’s own Meta events use custom names, so they do not collide with DATALYR’s. Optimize a campaign on one, not both.
Verify
- Open a page that links to your scheduler in a private window. Add
?utm_source=doctestto the URL. - Book a test call with a test email address.
- Confirm the browser lands on your thank-you page with the personal fields removed from the address bar.
- Open Events. Confirm a
call_bookedrow with sourceiclosedandutm_sourcedoctest. - Open Users. Find the test email. Confirm the
pageviewandcall_bookedsit on one user. - After the call time, add a
SALEoutcome in iClosed. Confirmcall_showedanddeal_wonarrive with the deal value.
When it does not work
Next
- Commas: record the cash from deals your closers win.
- Lead generation: choose the stage to optimize toward.
- Conversion delivery: how a rule resolves value and identity.