Skip to main content
When you finish, one Datalyr event reaches the Meta Conversions API and appears in Events Manager.

Before you start

Connect Meta

1

Open Sources

Open Sources. Find the Meta Ads card.
2

Authorize

Select connect. Complete Facebook Login for Business. Approve every requested permission.
3

Pick the ad account

Choose the ad account that runs the campaigns. Select set as primary.
The card reads needs primary account until you finish step 3, and we pull campaign spend only after that. To change the primary account, select disconnect, then reconnect. Disconnecting clears the synced Meta campaign data.

Create the rule

1

Open the editor

Open Conversions. Select manage rules. Select new rule.
2

Set the trigger

Fill rule name. Pick the trigger event. Pick Meta as target platform.
3

Pick the pixel

Pick the pixel under Meta Pixel / App. Select next.
4

Map the event

Pick the platform standard event. Set value to dynamic for revenue events. Set currency.
5

Save

Select save. Enable the rule.

Reference

We post to POST /v25.0/{pixel_id}/events on the Meta Graph API.

Standard events

Matching fields in user_data

We build fbc as fb.1.{creation_time_ms}.{fbclid}. The creation time is the moment the fbclid first arrived, not the conversion time.

Value, currency, and custom_data

action_source

Deduplication

We send event_id, the same UUID the browser Meta Pixel fires with, and Meta collapses the pair into one conversion. This works only when the Pixel and Datalyr fire on the same page load.

Verify

Set a Test Events code before you select send test event. Meta has no validate-only mode, so a test without a code creates a real billable conversion.
  1. Open Conversions. Select manage rules. Open your rule.
  2. Select send test event.
  3. Open Events Manager → Test events in Meta.
  4. Confirm the event name, value, and currency match the rule.
  5. Return to Datalyr. Confirm the rule’s sent count went up by 1.

When it does not work

Next