# Connect the Meta Conversions API

> The Meta Conversions API integration sends results from your chats to Meta: a purchase when an order is paid, a lead when a contact submits a form or a deal is created, and a registration for new contacts from click-to-message ads. Meta uses them to optimise your ads. Customer data is hashed before it leaves TotiChat.

Source: https://toti.chat/en/help/integrations/meta-capi/
Updated: 2026-11-27

Click-to-message ads are judged by messages, not by sales. Sending real outcomes back lets Meta show your ads to people who buy.

## Where to connect

Open **Settings → Integrations** and choose **Meta Conversions API**. Workspace admins can connect integrations.

## Steps

1. In Meta Events Manager, find your pixel (dataset) ID and generate an access token for the Conversions API.
2. In TotiChat enter the pixel ID and the token and press **Connect**.
3. Under **Conversion events**, choose which events to send: Purchase, Lead, Complete registration.
4. Optionally enter a **Test event code** from Events Manager and press **Send test event**: it appears under Test events in Events Manager. Remove the code to go live.

## After connecting

- Each event is sent once with its value and currency when relevant, and Meta’s response is logged.
- The test shows Meta’s trace ID, useful when contacting Meta support.

## If something goes wrong

- **Events do not appear**: while a test event code is set, events go only to the test view.
- **Token rejected**: generate a new token in Events Manager and replace it.

## Plan

Available on every plan.

Overview: [Meta Conversions API integration](/en/integrations/meta-capi/).
