# Track Conversions

### Overview

When a customer makes a purchase from you on Facebook or Instagram within the chat, it's important to send that conversion event back to Meta so that it will reflect in your Ad data and so that Meta can use this information to show your ads to more people like that.&#x20;

<figure><img src="https://3192879026-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLCz35HGsZaSVs8jhhqnk%2Fuploads%2FYJL0v5yq5HE7C725JKb7%2FScreenshot%202568-03-13%20at%2013.15.13.png?alt=media&#x26;token=09e23e4c-606f-4e92-b470-cad39a6e172f" alt=""><figcaption></figcaption></figure>

***

### How to send the "Purchase" event to Meta

1. You must integrate Facebook and/or Instagram with Zaapi

   1. Please note: in order to send conversion events to Meta, the user who integrates Facebook pages **must be an admin (i.e have "Full Control" of both the page & ad account** you want to send conversions to. You can check this in Meta Business Suite - the permissions should look something  like the below:

   <figure><img src="https://3192879026-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLCz35HGsZaSVs8jhhqnk%2Fuploads%2FFTTWePzm0VserEpTyRZ8%2FScreenshot%202568-01-29%20at%2008.40.18.png?alt=media&#x26;token=1958eeef-6ab9-4897-a9b3-ef9a25754de3" alt=""><figcaption></figcaption></figure>
2. In the chat integrations settings in Zaapi, click the small cog icon

<figure><img src="https://3192879026-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLCz35HGsZaSVs8jhhqnk%2Fuploads%2FMuZOfeT8bzVN8B5ScCZJ%2FScreenshot%202568-08-15%20at%2011.58.43.png?alt=media&#x26;token=238b6ca2-e91a-4726-a41b-88389744c72d" alt=""><figcaption></figcaption></figure>

1. Toggle "ON" the pages/accounts you would like to send the events to Meta for

   <figure><img src="https://3192879026-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLCz35HGsZaSVs8jhhqnk%2Fuploads%2F063rbOHvc7z7VzWfvQhr%2FScreenshot%202568-01-29%20at%2008.48.34.png?alt=media&#x26;token=9560c8e0-0f93-466a-bad1-ba5fe5179cb6" alt=""><figcaption></figcaption></figure>
2. Go to the "Workflows" tab in settings and ensure you have "Log Chat Conversion after closing" turned "ON"
   1. This is important as the purchase event is only sent to Meta for chats that are closed and logged as a conversion

<figure><img src="https://3192879026-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLCz35HGsZaSVs8jhhqnk%2Fuploads%2FPdVuQXm8oCmq1BOByBZn%2FScreenshot%202568-08-15%20at%2012.01.18.png?alt=media&#x26;token=5079f263-3a6f-414a-89c6-c7480f145d51" alt=""><figcaption></figcaption></figure>

1. Go to the chats list and mark a chat as "Closed"
2. Select "Converted" and enter the amount that the customer spent (optional)

   1. You do not need to enter an amount in the conversion
   2. If you click "Close without logging" or "Unconverted", this will not send an event to Meta

   <figure><img src="https://3192879026-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLCz35HGsZaSVs8jhhqnk%2Fuploads%2FqjgfVFq5X2QNl19Yk0e3%2FScreenshot%202568-01-29%20at%2008.53.16.png?alt=media&#x26;token=a372c0d0-9f98-4b9e-b8f1-0b399b7a3e72" alt=""><figcaption></figcaption></figure>
3. Check that the event has been sent successfully to the specific dataset by navigating to the chat integrations page in Zaapi, clicking the small cog icon, then clicking the specific "dataset id" of the page you just converted a chat for
4. This will take you to Meta events manager where you can check if the "Purchase" event has been sent successfullyy (please wait atleast 1 hour for the event to show)

   <figure><img src="https://3192879026-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLCz35HGsZaSVs8jhhqnk%2Fuploads%2F5aD7NpuDwRgrCcEjIthF%2FScreenshot%202568-01-29%20at%2009.25.53.png?alt=media&#x26;token=420b9cbf-edab-420c-9ec7-d64c1d8811c9" alt=""><figcaption></figcaption></figure>

***

### Limitations

* Meta only currently allows apps to send the "Purchase" event
* The status of the customer in the business suite inbox will not change, but the event would still have been sent successfully to Meta&#x20;

***

### Troubleshooting

* Ensure that you wait **atleast** 1 hour for the event to display
* Ensure that the user who integrated the Facebook/Instagram on Zaapi is both a Page admin and an admin of the Ad account linked to that page
