Skip to main content

Facebook (Meta) Ads Integration

MaxConv has integrated with Facebook (Meta) Ads, the integration provides the following benefits:

  • Send conversions (including custom conversions) to Facebook (Meta) Ads.
  • Synchronize your campaign costs with MaxConv.
  • Manage Facebook (Meta) Ads campaign status within MaxConv.

Part 1. Setting Up integration

add-integration.png

  1. Click on the Integrations menu in the MaxConv dashboard.

  2. Click the Add Integration button.

integ-list.png

  1. On the integration list, click on the Facebook Ads card.

Facebook Ads integration provides two features: ad cost sync and conversion postback. You can choose to use one or both integrations. See the steps below.

two-options.png

Part 1.I Setup ad cost synchronization

continue-with-fb.png

  1. Click the Continue with Facebook button and log in to your Facebook account in the pop-up window, accept the authorization.

  2. After authorization, MaxConv will try to connect immediately, wait until you are redirected to next step.

add-integ-1.png

  1. Choose the Facebook ads accounts that you want to integrate, you can also integrate all account by enable the Select All Accounts option.

  2. Whether do you want to synchronize campaign cost data or not.

  3. Click Save button to create the integration.

Part 1.II Setup conversion postback

To setup conversion postback, follow the steps below.

add-pixel-1.png

  1. Click the Add Pixel button.

add-pixel-2.png

  1. Type your pixel name, this is for your personal reference only.

  2. Type the Facebook pixel id.

  3. Generate the access token under the Settings section of the pixel in your Facebook Ads Dashboard, copy and paste it here.

  4. (Optional) If the pixel is a newly created pixel, you can click the Warm Pixel button to send 10 ViewContent events so that you can select this pixel when creating a Facebook Ads campaign.

  5. (Optional) Type the event source URL, if you skip providing URL here, you can provide it when generating postback URL.

  6. (Optional) Type the event name, if you skip providing name here, you can provide it when generating postback URL.

  7. Click the Save button to create integration.

Batch import pixels

The ability to import pixels in batches can be very useful when working with hundreds of facebook ads account, to start importing, follow these steps

import-pixel-1.png

  1. Click the Import/Update Pixels button.

import-pixel-2.png

  1. Download the template excel file.

  2. Edit the template, fill with all your pixel data, and then upload it.

Best practices for creating multiple integrations with ad cost sync as well as conversion postback

If you want to setup multiple integrations, enable the ad cost sync as well as conversion postback, follow below best practice:

continue-with-fb.png

  1. Click the Continue with Facebook button and log in to your Facebook account in the pop-up window, accept the authorization.

  2. After authorization, MaxConv will try to connect immediately, wait until you are redirected to next step.

add-integ-all-acc.png

  1. Enable the Select All Accounts option to integrate all ad accounts.

  2. Adjust other settings, and then click the Save button to create integrations, one integration per ad account.

import-pixel-btn.png

  1. Now you need to update all integrations with pixels data, click the Import/Update Pixels button.

  2. Download the template excel file, open it.

integ-id.png

  1. On the integration list, find all integration id.

update-excel.png

  1. Copy and paste ids to the Integration ID (Optional) row, provide corresponding pixel data.

  2. Then upload the excel file to import those pixels.

Now all integration have integrated cost sync, they also have pixel data too.

Part 2. Setting Up traffic source

The next part is to create a traffic source with the postback URL of integration, so MaxConv can send conversions data to Facebook Ads.

postback-btn.png

  1. Find your integration row in the table, click the Generate button to generate postback URL.

postback-2.png

  1. Provide all the necessary data, you can hardcode any value or use the dynamic tokens. We recommend using the dynamic token {ct1} in the Event Name as shown in the screenshot.

    tip

    The {ct1} token is the campaign token 1, use this token in the event name so you can send with different event name for different campaign.

  2. Click the Generate button, and copy the postback URL to any text editor, you will need this URL in subsequent steps.

  3. Go to the Traffic Source menu in MaxConv, click the Create to create a traffic source.

postback-3.png

  1. Click on the Facebook Ads card of template list.

postback-4.png

  1. Enable the Traffic source postback URL option and paste the postback URL you copied in step 3 into the text box.

src-direct.png

  1. Facebook Ads doesn't like third party redirects, so select Direct in the Default Ad to Campaign Transition field, all new campaigns with this traffic source will have their Ad to Campaign Transition set to Direct.

  2. Adjust other settings as needed, and then click the Save button to create the Facebook Ads traffic source.

Send PII to facebook

To send PII to facebook, you need to send those information via S2S postback url

PII(personally identifiable information) is the information that can be used to distinguish or trace an individual's identity, such as first name and last name, email, phone number, etc.

Send these data to facebook can increase the match quality for your Facebook ads account.

To send PII, follow below steps:

pii-1.png

  1. When generating postback URL, enable the Use dynamic token for all fields checkbox, all PII fields will be populated with the appropriate dynamic tokens.

    tip

    Some PII must be hashed before sending according to Facebook requirements, MaxConv can hash them automatically, but if you want to hash them yourself, mark the Hashed checkbox.

  2. Copy the new postback URL to traffic source.

  3. Update your S2S postback URL with extra parameter, for example, add &user_first_name=... to the S2S postback URL, then MaxConv will use the received data, hash it and send it to facebook.

Part 3. Setting Up MaxConv campaign

Now you can start creating campaign in MaxConv.

add-mc-camp-btn.png

  1. Click on the Campaigns menu in MaxConv dashboard.

  2. Click the Create button.

mc-camp-2.png

  1. Choose the traffic source you have created in the Part 2

  2. Make sure the Transition from Ads to Campaign is set to Direct.

  3. Type the event name into the Placeholder of campaign token 1, if you want to send conversions with other event, type other name here.

    tip

    If you skip providing a value for campaign token 1, MaxConv will use the integration's default event name.

add-mc-camp-dest.png

  1. Add your landers and offers in the Destinations, set Transition to Offer field to Direct

  2. Click the Save button to create campaign.

mc-camp-4.png

  1. On the Tracking tab, choose your preferred tracking domain.

  2. Choose the lander that you want to send traffic to.

  3. Copy the campaign URL to any text editor, use this URL to set up campaign in Facebook Ads.

  4. Copy the tracking script and paste it into the <head>...</head> of your lander's HTML.

  5. Copy the click URL and paste it to the link of CTA button on the lander.

Part 4. Setting Up Facebook Ads campaign

Login to your Facebook Ads account and create campaign, adjust basic settings, when creating ad, paste the Campaign URL you copied from Part 3 into the Website URL field.

fb-camp-1.png

Part 5. Match the MaxConv campaign with Facebook Ads campaign

To enable cost synchronization, you need to match the MaxConv campaign with a Facebook Ads campaign so that MaxConv knows where to pull cost data, to start campaign matching, perform following steps.

start-match-btn.png

  1. Click on the Integrations menu in MaxConv dashboard.

  2. Find your integration row in the table, click the campaign match button.

start-match-2.png

  1. Choose the Facebook Ads campaign.

  2. Choose the MaxConv campaign that matches the Facebook Ads campaign.

  3. Click the Add Match button.

Once matched, you will see a platform icon in front of the campaign name in the Campaigns section of the MaxConv dashboard, like below:

match-icon.png

MaxConv will begin synchronizing cost data within an hour.

Manage campaign status in MaxConv

To manage Facebook Ads campaign status within MaxConv:

  1. Click the Columns setting at the top right of the table.

table-setting.png

  1. Enable the Remote Status column, drag it to the top, then click the Apply button.

remote-status.png

  1. You can now view the Facebook Ads campaign status, as well as start or pause it by clicking the "play" or "pause" icon.

toggle-status.png

Event Deduplication

The Meta Pixel and MaxConv integration let you share events with Meta ads so you can measure and optimize ad performance. The pixel lets you share web events from a web browser, while the MaxConv integration lets you share web events directly from server.

If you connect website activity using both the pixel and MaxConv integration, Meta ads may receive the same events from the browser and the server, without correct setup, your events may be double reported.

To avoid double reporting, you need to send same event name and same event id both in Meta Pixel and MaxConv integration.

To send event id in Meta pixel, add eventID to the 4th argument in the fbq track call, for example:

fbq('track', 'Purchase', {value: 12, currency: 'USD'}, {eventID: 'EVENT_ID'});

To send event id in MaxConv integration, you need to specifiy the event_id when generating integration's postback url,like below:

pb-event-id.png

If your conversions have transaction id, we suggest sending transaction id as event id, otherwise, send click id as event id.

FAQ

Have questions? Check Integration FAQ