Skip to content

Commit c90db76

Browse files
Documenting meta conversions API
1 parent a9ddcb4 commit c90db76

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

docs/integrations/attribution/facebook-ads.mdx

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,13 @@ You can see Facebook's App Events Reference [here](https://developers.facebook.c
9191

9292
## 3. Send RevenueCat events into Facebook Ads Manager
9393

94-
After you've set up the _Purchases SDK_ to send attribution data to RevenueCat, you can "turn on" the integration from the RevenueCat dashboard.
94+
:::info Meta Conversions API
95+
We are in the process of rolling out a new Facebook Ads integration that uses the [Conversions API](https://developers.facebook.com/docs/marketing-api/conversions-api/). We support both the Conversions API and the legacy App Events API for compatibility, but recommend using the Conversions API for better reliability and long-term support.
96+
97+
Learn more in the [sending RevenueCat events with the Conversions API](/integrations/attribution/facebook-ads#5-send-revenuecat-events-into-meta-events-manager) section below.
98+
:::
99+
100+
After you've set up the _Purchases SDK_ to send attribution data to RevenueCat, you can turn on the integration from the RevenueCat dashboard.
95101

96102
1. Navigate to your project in the RevenueCat dashboard and find the _Integrations_ card in the left menu. Select **+ New**
97103

@@ -141,7 +147,25 @@ While still on the Customer View, click into the test purchase event in the [Cus
141147

142148
![](/images/c58423d-app.revenuecat.com_activity_40779aaf_event_92499ad6-350b-455a-a2ec-4c28c4ca0b28_1_ad81f725eb9fb452af9c769a65dd5f34.png)
143149

144-
## 5. View Events in Facebook
150+
:::success
151+
You have completed the Events API integration! You can stop here or continue with the rest of the documentation to learn how to set up the Conversions API.
152+
:::
153+
154+
## 5. Send RevenueCat events with the Conversions API
155+
156+
After you've set up the _Purchases SDK_ to send attribution data to RevenueCat, you can "turn on" the integration from the RevenueCat dashboard.
157+
158+
1. Navigate to your project in the RevenueCat dashboard and find the _Integrations_ card in the left menu. Select **+ New**
159+
160+
![](/images/814313f-app.revenuecat.com_projects_85ff18c7_collaborators_1_8f59efa6a22dfccb9079d21a042756d8.png)
161+
162+
2. Choose **Facebook** from the Integrations menu.
163+
3. Add your Datasource ID for production events (and optionally an Datasource ID for sandbox events). You can find this ID in the Events Manager, selecting which datasource you'd like to use.
164+
4. Add the Client Token for your app (and for the sandbox Datasource if included). You can find your Client Token in the Events Manager dashboard, under your selected **Datasource > Settings > Generate Access Token**.
165+
5. (Optional) You can toggle between different names for Facebook events. The recommended values are the same as with the [Events API integration](/integrations/attribution/facebook-ads#event-names).
166+
6. Select whether you want sales reported as gross revenue (before app store commission), or after store commission and/or estimated taxes.
167+
168+
## 6. View Events in Facebook
145169

146170
Once events are delivered to Facebook, they can be used across Events Manager, Ads Manager, and Audiences.
147171

0 commit comments

Comments
 (0)