Capture website leads and report them to Meta

Put a lead form on your website that creates the contact, reports a Meta conversion, and starts your follow-up.

Put a lead form on your website, and when someone submits it, have Oalo create the contact, tell Meta the conversion happened (so your ads optimize toward people who actually convert), and kick off your follow-up.

What you get

  • A form you can drop onto your own landing page.
  • First-party Meta Pixel tracking on that form (see "Why the embed, not an iframe" below).
  • A workflow that, on every submit, reports a Meta conversion, saves the person to your CRM, and starts your follow-up.

Before you start

  • Connect Meta if you want conversions reported. The workflow's Meta step defaults to your connected pixel, so connect it once in Marketing (Connect Meta Ads). You can skip this and still capture leads; you just will not report to Meta.
  • Have your Meta Pixel ID handy if you run ads. It goes in the embed snippet, not in the workflow.

Step 1: Build the form

In Widgets, create a form with the fields you want to collect. Include an email or phone field (mark the field's type as Email or Phone, not just text) so Oalo can create the contact from it. Add a Name field too.

Step 2: Put the form on your site

Select your form in Widgets and find Embed on your site. Enter your Meta Pixel ID (leave it blank if you do not run Meta ads), then copy the snippet and paste it into your landing page where you want the form to appear. It looks like:

<script src="https://<base>.oalo.ai/widget.js"
        data-widget="YOUR_WIDGET_TOKEN"
        data-pixel="YOUR_FACEBOOK_PIXEL_ID"
        defer></script>

That is all the setup on your side. The script loads the form, installs the Meta Pixel, and handles the submit.

Why the embed, not an iframe

The <script> runs directly on your page, so the Meta Pixel it installs is first-party: it can read the fbclid from your ad's landing URL and set the _fbc / _fbp cookies on your own domain, exactly like pasting Meta's pixel yourself. An embedded iframe cannot do that, which is why we use a script.

If you would rather host the form on an Oalo page instead of your own site, you can use your own domain for your Oalo site (ask support to set up a custom domain). Then the hosted page is first-party to your domain too.

Step 3: Build the follow-up workflow

In Workflows, create a workflow and set its trigger to Form submitted (pick your form). Everything the form captured arrives on the trigger, including the Meta signals under meta.

Add these steps.

Report the conversion to Meta

Add a step that runs the Send Meta web conversion tool. Its inputs are described in full in send-meta-web-conversion; the short version:

  • event_name: choose from the dropdown, usually Lead.
  • fbc / fbp / event_id: point them at {{trigger.payload.meta.fbc}}, {{trigger.payload.meta.fbp}}, and {{trigger.payload.meta.event_id}}. The event_id is what lets Meta match this server event with the one the Pixel already sent from the browser, so the conversion is counted once, not twice.
  • pixel_id / access_token: leave blank to use your connected pixel, or paste a specific pixel's id and token (for example, an agency reporting to a client's pixel).

You can also point email at {{trigger.payload.data.email}} to sharpen the match.

Notify your team and start follow-up

Add a Send email or Notify team step to alert whoever owns new leads. The contact is already created and updated for you from the form fields, so from here you can tag them or add them to a nurture workflow.

Route the lead to a mailbox (optional)

A form lead does not have a conversation to reply in by default. To hand it to a person, add an Open inbox thread step (it opens a Manual Inbox conversation for the contact and can post the form details as the first message), then an Assign to member step pointed at that step's conversation_id. Now the lead sits in that teammate's inbox as an openable thread they can read, categorize, and reply to.

Measuring the funnel

Because the form stamps each new contact's first-touch origin (the form's name), you can see how each source performs. In Customers, open the Sources funnel: it lists each origin with how many leads came in, how many became customers, the conversion rate, and the revenue. That is how a form submission is counted later as a successful funnel-in.

Let the assistant build it

You do not have to wire the steps yourself. Ask the assistant to "set up a website lead funnel" and it will install the pieces and collect what it needs.

What it builds

  • A Lead capture widget (widget template lead_funnel).
  • A paired website lead funnel workflow for that form only (loop template website_lead_funnel, named website_lead_funnel_<widget>, started by that widget's submissions) that reports the Meta conversion, writes the contact, and starts follow-up. Each lead form you copy gets its own; other forms in the workspace don't trigger it. It is installed off.

What it needs from you

InputSourceNotes
Form fields to collectask-userMust include an Email or Phone field.
Meta Pixel IDask-userFor the embed snippet. Skip if you do not run ads.
Meta connectionintegration-backedConnect Meta once; the workflow uses your connected pixel.
Meta access tokensecretOnly if overriding the connected pixel (agency case). Collected securely.
event_nameask-user (enum)Defaults to Lead.
fbc / fbp / event_idfrom-upstreamThe assistant wires these from the form submit; it does not ask you.
Who gets notifiedask-userThe team member or email for new leads.

The event_name, fbc, fbp, event_id, pixel_id, and access_token rows are the inputs of the Send Meta web conversion node, derived from its schema. See send-meta-web-conversion.

Checklist

  • Form has an Email or Phone field, typed as Email/Phone.
  • Embed snippet is on your landing page with your pixel id.
  • Workflow triggers on Form submitted for that form.
  • The Meta step's event_id is wired to {{trigger.payload.meta.event_id}} so the browser and server events dedupe.
Related
Start with Oalo

Your own Base, with every feature, from $99 a month.

get started