Skip to content
Menu
Skip to Content
CookieROAS

Connecting Meta (Facebook and Instagram)

Send purchases to your Meta pixel through the Conversions API, and read the ad spend for ROAS.

CookieROAS sends purchases from the server to your Meta pixel, through the Conversions API (CAPI), as soon as the order, the consent and Meta's response are recorded. With the same login, CookieROAS reads your ad account's spend for the ROAS page.

Set the page address to Full

Meta uses the click id from the ad link (fbclid). CookieROAS only keeps it if Page address is set to Full: Tracking › Setup › All settings › Pages.

What you need

Steps

Open the Meta page

Open your site in the dashboard. In the left menu, under Connections, click Add channel (or All connections). At Meta, click Connect.

The Connections page with the ad platforms

Sign in with Facebook

Click Continue with Facebook and sign in. Then choose your ad account at Ad account (cost for ROAS) and your store's pixel at Pixel (purchases). Click Connect.

Prefer to work with a token? Open Or connect with a pixel ID and access token and fill in:

FieldWhere to find it
Meta pixel IDMeta Events Manager: your pixel's (dataset's) id.
CAPI access tokenEvents Manager › your pixel › Settings › Conversions API › Generate access token.
Test event code (optional)Events Manager › Test events. CookieROAS uses it to send a test event.
Delivery and deduplicationServer only if only CookieROAS sends purchases; Dual if your pixel in the browser sends purchases too, with exactly the same event id.

Click Validate and connect.

Step 1: Connect Meta, with pixel ID and access token

Switch on sending

After connecting, sending is paused. Click Switch on in All settings and switch on Meta in All settings › Other platforms. Only purchases from that moment on go to Meta.

All settings, Other platforms, with a switch per platform

Check that it works

  • The Meta page says Delivery active.
  • Recent provider attempts lists the purchases Meta accepted.
  • In Meta Events Manager you see Purchase events with Server as the source.

If it doesn't work

Read more