Skip to main content
S2S Tracking Integration: Meta (Facebook) Pixel
Updated this week

Overview

ClickBank affiliates can use the Meta (Facebook) Integration to track, optimize, and measure the performance of their Facebook Ads.

The integration utilizes the Facebook Conversion API (CAPI) to send server-to-server (S2S) events directly to Facebook. Server-side tracking is the most reliable tracking integration method, therefore ensuring that you get the best results based on accurate data.

Two event types are integrated: ClickBank order form impressions and purchase events. This event data is sent to Facebook ads in real time, empowering ClickBank affiliates to make data-informed decisions about their Facebook ad strategy.

Before setting up this integration you must have the following:

  • A ClickBank account with owner or account nickname permissions enabled

  • An active Meta (Facebook) Business Manager Account with permissions to Ads Manager

NOTE: For the most effective and accurate integration the Facebook Click ID (‘fbclid’) must be passed to ClickBank on the HopLink or Direct Tracking Link click in order for ClickBank conversions to be accurately tracked and provide high event match scores in Facebook.

To ensure conversions are accurately tracked in Facebook, we highly recommend using Direct Offer Tracking Link as the ad destination URL and enabling ‘auto-tagging’ setting within your ad campaign settings so that ClickBank always gets the Facebook click identifier required for the conversion to be accurately tracked in Facebook.

This article contains the following sections:

How to Set Up Your Meta (Facebook) Ads Integration in Meta (Facebook)

NOTE: This step requires that you have a Facebook Business account.

Step 1: Login to your Meta (Facebook) Ads Manage account.

Step 2: Navigate to All Tools, then select Events Manager.

Step 3: Click Create New Data Source Connection in your account. Select Web

Step 4: Choose Connect Manually → and select Meta Pixel and Conversion API option. Then click Finish.

Step 5: Select Settings and scroll down to the Conversion API section and select the option to Generate Access Token.

Step 6: Copy and paste the access token value somewhere safe. It is required for the integration setup in ClickBank.

Step 7: Also Copy your Pixel ID (also known as Dataset ID) which is required for the integration setup in ClickBank.


NOTE: This ID can be found on the Settings tab of the datasource.

How to Set Up Your Meta (Facebook) Ads Integration in ClickBank

Step 1: Log in to your ClickBank account.

Step 2: Select Integrations then Postback/Pixels.

2a09857c-ff10-4781-b654-e5e8c1550671

Step 3: Click Add Integration.

Step 4: Select Facebook.

Step 5: Complete the integrations form.

  • Name
    Name your integration so you can easily identify it.
    NOTE: This name is not shared anywhere outside of your account and is for your purposes only.

  • Account Nickname
    Select which account nickname you wish to integrate from the Account dropdown.

  • Role
    Select the role (affiliate or seller) you are operating as in that account nickname.

  • Facebook Pixel ID

  • Facebook Access Token

  • Facebook Event Source URL
    This is the domain you have verified on Facebook. This will be sent back to Facebook on conversion to tie the event to your Facebook account.
    NOTE The URL must begin with https://

  • Integration Level
    NOTE: It’s recommended to select ‘Custom’ and apply filter, such as traffic_source=facebook so only conversions which originated from clicks containing ‘traffic_source=facebook in your affiliate tracking link will be sent to Facebook

Step 6: Select the event type(s) you want to track in Facebook. ClickBank Events map to the following Meta (Facebook) Standard Events:

  • Order form impression = Initiate Checkout

  • Initial purchase = Purchase

  • Upsell purchase = Upsell

Step 7: Click Save.


Once you have saved the integration, test it to ensure that it is working as expected.

How to Test Your Meta (Facebook) Ads Integration

Utilize ClickBank’s Test Integration feature to verify your integration.


NOTE: Testing your integration will result in a real conversion event being tracked.

Step 1: Verify the integration is configured correctly utilizing the Test integration feature. This tool can be accessed by clicking on the integration action menu as pictured below.

Step 2: Within Facebook Ad Account Events Manager select the Data Sources configured for the integration and click on Test events tab

Step 3: Click the option, Confirm your server’s events are setup correctly and copy the Test Event Code displayed.

Step 4: Paste the test event code from Facebook into the input, and click Test to trigger test events and confirm integration.

Step 5: Review the test event results within the Test Events window in Facebook to verify the integration.

Troubleshooting

Check these tips if your Facebook conversions are not showing in your Facebook Business account.

  • Access the web diagnostics tool within your Meta (Facebook) account. Use the Facebook Web Diagnostics tab so you can inspect the event data and troubleshoot common issues.

  • Verify the Meta (Facebook) Pixel, Access Token, and Domain URL provided in your ClickBank integration match the values displayed in your Meta (Facebook) Business Account

  • Verify that your integration within ClickBank is set to ‘Active’ status. NOTE: Test sales made with ClickBank Test Credit Card details do not trigger conversion event to Meta (Facebook).

For the most accurate conversion tracking in Meta (Facebook), ensure that the Meta (Facebook) Click ID or fbclid is appended to your ClickBank Affiliate Tracking Link (HopLink or Direct Tracking Link).

Additional Resources & Related Articles

Did this answer your question?