All guides
Integrations
3 min readUpdated Oct 15, 2026

Counting your ad sales with Meta

Your pixel tells Meta which ad brought a sale, so it can find more buyers like her. ThinFlow sends Meta the sales made on your product pages and, with the Conversions API key, the sales made in your chats too.

How it works

  1. 1Create the pixel inside your business portfolio. In Meta Business Settings, open Data Sources → Datasets & pixels and press Add. Give it a name and press Create. Create it here, not from Events Manager's Connect data: a pixel outside your portfolio cannot give you the key in step 3.
    Meta Business Settings, Datasets & pixels, the Create a new dataset window with a name typed in.
  2. 2Open the new dataset: its ID is under its name, a long number of 15 to 17 digits. Copy it. Do not use an App ID: an app does not count the sales of a web page.
    The dataset ThinFlow storefront selected, with its ID under its name.
  3. 3Get the Conversions API key. In Events Manager, open the dataset → Settings, go down to Conversions API and press Generate access token. Meta shows the key once: copy it. It starts with EAA.
    The dataset Settings in Events Manager, Conversions API, with the Generate access token button.
  4. 4In ThinFlow, open Platforms and press Set up on the Meta Pixel card. Paste the ID into Meta Pixel ID, then the key into Conversions API key and press Save. It turns to Connected. The key is never shown again, here or anywhere.
    ThinFlow, Platforms, Meta Pixel: the Meta Pixel ID, the Conversions API key Connected, and Test my pixel.
  5. 5Test it. In Events Manager, open the dataset → Test events, choose Website, open « Confirm your server's events » and copy the code (TEST…). Paste it in Test my pixel (Platforms → Meta Pixel) and press Send test.
    Test events in Events Manager, Website channel, with the test_event_code to copy.
  6. 6Within a minute the event appears in Test events, marked Processed and received from Server. Your pixel is ready.
    Test events receiving activity: two PageView events, Processed, received from Server.

Example

A shop runs a Messenger ad. A buyer clicks it, orders in the chat, and the owner confirms the order. ThinFlow tells Meta about the sale, and the ad's results show one more purchase.

Good to know

If Meta says « You must be an admin or developer for this business portfolio » when you press Generate access token, the pixel is not in your portfolio: create a new one from Business Settings (step 1). Without the key, the pixel still counts the sales of your product pages, not those of your chats.