meta_ads_conversions_send_lead
Send a Lead event through Meta Conversions API to track form submissions, trial signups, and demo requests. Pass raw PII; identifiers are SHA-256 hashed before delivery.
Instructions
Sends a single Lead event via the Meta Conversions API. Returns Meta's events_received acknowledgement. Mutating on Meta's side. Use for form submissions, trial signups, demo requests — anything where a prospect identifies themselves but no money changes hands. For money-moving events use meta_ads_conversions_send_purchase. For non-standard event names use meta_ads_conversions_send.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Why this change is being made: one or two sentences naming the evidence and the expected effect. Stored in the journal and on the action_log entry this call produces, for the operator and the next session. | |
| approval | No | External approval this change carries out (recorded and shown, never verified) | |
| expected | No | Expected effects [{metric, direction, target?, horizon_days?, primary?}], exactly one primary:true when several; metric cpa/cpc/cpl/cpm/conversions/cvr/ctr/roas/cost/spend/clicks/impressions; direction up/down/hold. | |
| pixel_id | Yes | Meta Pixel ID the event is attributed to. Find via meta_ads_pixels_list. CAPI events flow into the same pixel as browser events; dedupe happens on event_id if one is supplied in user_data / custom_data. | |
| user_data | Yes | User identifying fields for attribution. Supported keys: em (email), ph (phone), fn (first_name), ln (last_name), zp (zip), ct (city), st (state), country, external_id, client_ip_address, client_user_agent, fbc (click ID), fbp (browser ID). mureo hashes em / ph / fn / ln / zp / ct / st / country / external_id with SHA-256 before sending — pass raw PII; do not pre-hash. | |
| account_id | No | Meta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required. | |
| event_time | Yes | UNIX timestamp (seconds) the lead occurred. Must be within the last 7 days. | |
| decision_id | No | A proposed decision this change carries out. | |
| test_event_code | No | Meta Events Manager test_event_code. When set, the event is routed to the test event stream visible in Events Manager instead of production reporting. Use for validation; drop the field once verified. Get the code from Events Manager → Test Events tab. | |
| event_source_url | No | Fully-qualified URL where the event occurred. Required by Meta for action_source='website' events; recommended for any browser-triggered CAPI event to improve attribution match rate. |