Skip to main content
Meta: Setup Conversion API

How to setup conversion API and get the access token from Meta

Updated over 2 months ago

The Conversions API is designed to create a connection between an advertiser’s marketing data (such as website events, app events, business messaging events and offline conversions) from an advertiser’s server, website platform, mobile app, or CRM to Meta systems that optimize ad targeting, decrease cost per result and measure outcomes.

Why should you use Conversions API?

The Conversions API will help us track and create a more reliable connection with Facebook and maximize the efficiency of your website events. Learn more.

Why do we need the access token?

The access token will help us to send server events to the Facebook server using the Conversions API.

How to get an access token of your Facebook pixel that uses Conversions API?

You can go to the events manager in the Facebook ads manager to view your pixels. Go to settings of the selected pixel, and scroll down till you reach the Generate access token button available in Conversions API section.

Follow the below steps to get the access token of the selected pixel:

1. Go to Ads Manager > Left Tab > All Tools > Events Manager

2. In the events manager, select Data Sources to view all your created pixels.

3. Select your pixel and go to Settings

4. Scroll down till you reach Conversions API > Setup Manually

5. Click on Generate access token

6. Copy and then paste it back in our app

Follow the below steps to set up Swaarm to forward conversions to Meta:

  1. Go to the Offer in Swaarm > Edit > Integrations > Conversion forwarding

  2. Select the Ad Network as Meta

  3. Add the Access Token that you got from Meta as shown above

  4. Event Name and Pixel Id come from Meta

  5. The Source URL needs to be the end url from where the conversion needs to be fired

Did this answer your question?