Skip to main content

Facebook conversion integration

Facebook conversion integration

Updated over 3 weeks ago
  1. Facebook Business Manager account with Facebook Pixel.

  2. Conversion API and Pixel ID. To get them, follow the steps below:

    • A Pixel ID. To get it, go to your Facebook Pixel's setting page, go to the Details section and copy it to the clipboard. Then paste it to any text editing tool.

    • A conversion API token. To get it, go to Facebook Pixel settings and scroll down to the Conversion API section and click the Generate Access Token within Set up manually section.

      Once you have it, copy it to the clipboard and paste it to any text editing tool.

  3. Verified domain.

    Your domain has to be verified in Facebook. It doesn't have to be the one added as the Custom Domain in Peerclick.

    Facebook Ads (now Meta Ads) requires that all conversions that it can register have to occur on a domain that is owned by a user. To make sure that a user has control over the domain, it has a verification mechanism that requires admin privileges to pass the verification test.

    This is a problem for affiliate marketers that get offers from affiliate networks, and therefore have no control over their domains.

    To combat this problem, Peerclick has developed a workaround that works like this:

    1. You verify in Facebook ANY domain that you own and have control over.

    2. You integrate your Facebook Ads (now Meta Ads) Account with Peerclick.

    3. You generate a postback URL in Peerclick and use it as a traffic channel postback URL.

    To verify a domain, follow the steps below:

    The first thing you need to do is to verify your domain in Facebook:

    1. Go to your Business Manager Account, then go to Settings / Brand Safety / Domains or just click the following link: https://business.facebook.com/settings/owned-domains/

    2. Add your domain.

    3. Select one of three methods of verifying your domain:

      • Add a meta tag. You need to edit your main landing page's HTML file and add a special tag.

      • Upload an HTML verification file (this is the fastest method). Download a special verification FTM file from Facebook and upload it to your page's root directory.

      • Verify by DNS (this is the easiest method)

    4. Verify your domain.

  4. An active Peerclick account.

Setting up passing conversions

  1. Click the Integrate button in the Facebook conversion section.

  2. Provide Pixel ID, Conversion API key and the verified domain into relevant fields.

  3. (Optional) Provide a name for the account.

  4. Click the Save button.

The last thing to do is to create a postback URL and submit it as a traffic channel postback URL in Facebook Traffic Channel element on your Peerclick account.

  1. In Peerclick Autopilot, in the Traffic Channel tab, click the Generate button in the postback URL column of the Facebook integration.

  2. Provide a conversion action name in the Type in Facebook Conversion Action text field.

    If you want to track various types of conversions, you need to generate separate postbacks for each conversion type. Do that by providing a Facebook conversion name in the Type in Facebook Conversion Action text field and provide additional details in tokens that accompany this conversion. Generate one postback, move it to any text editing tool, and generate another for a different conversion type. You can find the list of Facebook conversion types here.

  3. Copy the postback URL to the clipboard.

  4. Set up passing conversions:

    1. For passing one conversion type, enable the Traffic channel postback URL option and paste the postback URL that you have just copied.

Did this answer your question?