Setup Pixels How-To


Follow this step-by-step guide on how to implement the Conversion Pixel via API:

Step 1: Verify your landing page domain.

Step 2: Generate an access token for your pixel

2.1 - Using the Events Manager (Recommended by Facebook)

To use the Conversions API and generate an access token for it, you need to be an admin or system user on your Facebook Business Manager account and have a pixel created there.

How to set up a Meta Pixel

  1. Login to your Facebook Business account at https://business.facebook.com/ and go to the Events Manager page.
  2. Click on the Connect Data Sources and select Web.
  3. Add your Pixel name.
  4. Enter your website URL for which you have the domain verified.
  5. Select Conversions API and Meta pixel.
  6. Select Set up manually and go through the manual implementation setup (you can set up that later from the "Get Started" button when generating the access token).

Manual implementation setup

  1. Select View Content and Purchase events.
  2. Select the Event ID, Client IP, Phone number and the Email address checkboxes for Purchase and View Content events.
  3. Review and finish the setup.
  4. Place the pixel on the page where you want it to fire and make sure you see at least 1 visit in the Overview tab

Generate the access token

The access token is passed as a parameter in each API call. Inside Events Manager, follow these steps:

  1. Choose the pixel you want to implement.
  2. Go to the Settings tab:
  3. Copy the Pixel ID and save it.
  4. Find the Conversions API section and click on the Generate access token link under Set up manually.
  5. Note The Generate access token link is only visible to users with developer privileges for the business. The link is hidden from other users.
  6. Once you have your token, click on the Manage Integrations button in the Overview tab in Events Manager. In the pop-up screen, click the Manage button next to Conversions API. This will automatically create a Conversions API app and Conversions API system user for you. There is no need to go through App Review or request any permissions.


2.2 - Using Your Own App

If you already have your own app and your own system user, you can generate your token inside Business Manager. To do that:

Step 1 - Go to your Business' Settings.

Step 2 - Assign a Pixel to your system user (you also have an option to create a new system user at this stage).

Step 3 - Select the assigned system user and click Generate Token.

Your app does not need to go through App Review. You do not need to request any permissions.



Step 3: Add your pixel data in the backoffice

  • Go to the affiliate backoffice and open your offer's dashboard

  • Go to Settings -> External Pixels and click on "Add New"



  • Select Facebook on pixel Type
  • Give the pixel a name that is meaningful to you
  • Add the generated token
  • Add the Pixel ID
  • Add the verified URL
  • Select the Event type you need and hit Save

  • For the Facebook tracking to work properly, we also need to send the *fbclid parameter.
    If you don't have an easy way of doing it, you can always use our method:

    1. Paste the following code in your lander's footer <script type="text/javascript" src="https://buygoods.com/js/facebook_link_manager.js"></script>
    2. Add the following parameter to your promo link - &fb=1 ( so your promo link will look something like - www.bgoffer.com?aff_id=10&fb=1 )

    *Facebook Click Identifier - Automatic generated by Facebook