ioZen Docs

Meta (Facebook/Instagram)

Connect ioZen to Meta Ads using dual-channel Pixel + CAPI. ioZen injects the Pixel automatically — no code to paste.

Send conversion events to Meta for accurate Facebook and Instagram Ads attribution. ioZen uses a dual-channel approach: a browser-side Meta Pixel (for Match Quality and Test Events visibility) plus a server-side Conversions API (CAPI) call. Both events share the same event_id so Meta deduplicates them automatically.

You never paste any Pixel code. ioZen handles injection on all published Intake Bot pages.

Prerequisites

Step 1: Find your Pixel / Dataset ID

  1. Go to Meta Events Manager
  2. Select your Pixel under Data Sources
  3. Copy the numeric Pixel ID shown at the top (e.g. 1173378694081065)

Meta is migrating the "Pixel ID" label to "Dataset ID" — they refer to the same numeric ID.

Step 2: Generate an Access Token

  1. In Events Manager, select your Pixel
  2. Go to Settings → Conversions API
  3. Click Generate Access Token (or use an existing System User token)
  4. Copy the token — it starts with EAA and is 150–300 characters long

The access token is NOT your Pixel ID and NOT a URL. If it doesn't start with EAA, you copied the wrong value.

Step 3: Configure in ioZen

  1. Open your Intake Bot → Settings → Attribution → Ad Platform Integrations
  2. Enable Meta (Facebook) and expand the section
  3. Paste your Pixel / Dataset ID
  4. Paste your Access Token
  5. Save

ioZen will automatically inject fbevents.js on your bot's published page and fire a Lead event on submission. The CAPI call fires server-side in parallel using the same event_id.

The Test Events tab in Events Manager lets you see both the browser Pixel event and the CAPI event in real time, with a "Deduplicated" badge when the event_id matches.

To use Test Events:

  1. In Events Manager, go to your Pixel → Test Events
  2. Copy the Test Code (format: TEST12345)
  3. In ioZen, paste it into the Test Event Code field
  4. Click Test Connection — ioZen fires the CAPI call and opens your bot in a new tab to fire the Pixel event
  5. Click View in Events Manager to see the deduplicated pair in the Test Events tab

With a Test Event Code set, any test submission you run inside ioZen (the bot preview and single-field test view) also routes to the Test Events tab. This lets you verify your real submission and field-level conversion triggers end to end without touching live data.

The Test Event Code only affects test events — the Test Connection button and in-app test submissions. Real submissions from your published bot always go to your live dataset and ignore the code, so it's safe to leave it set. Test events never affect ad optimization or reporting.

How ioZen injects the Pixel

  • Hosted bot (yourdomain.com/i/slug): Pixel always injected when the integration is enabled
  • Embedded widget / popup / inline: Pixel injected by default; use the Track inside embed toggle to turn it off if your host page already has the same Pixel loaded

ioZen's own marketing Pixel (if present on your site) is separate and unaffected.

Match Quality

ioZen sends the following signals to improve Event Match Quality:

SignalSource
em (email)Hashed from submission data
ph (phone)Hashed from submission data
fn / lnHashed from submission data
fbp_fbp cookie set by the injected Pixel
fbc_fbc cookie derived from fbclid at click time
client_ip_addressRaw IP forwarded to CAPI (not stored by ioZen)
client_user_agentBrowser UA from the submission request
event_idBrowser-generated UUID — shared by Pixel and CAPI for deduplication

Troubleshooting

SymptomFix
"Invalid OAuth" errorRegenerate the access token in Events Manager → Settings
"Invalid pixel ID" errorCheck that the Pixel ID is numeric (not the pixel name)
Real submissions not appearing in productionConfirm the submission was not a test run — test submissions route to the Test Events tab by design when a Test Event Code is set
Test submission not appearing in Test EventsEnsure a Test Event Code is set and the relevant event is enabled (On Submission / Field-Level Conversions)
Two events appear in Test Events without "Deduplicated" badgeThe event_id may not be matching; re-test with the Test Connection button
Pixel Helper shows wrong dataset IDCheck that the Pixel / Dataset ID field matches the Pixel shown in Events Manager
Events not appearing in Test Events tabEnsure the Test Event Code is pasted correctly; codes expire after 15 minutes of inactivity

On this page