Skip to content

Meta (Facebook) Ads Integration with CustomerLabs

Integrate Facebook with CustomerLabs to sync your audience segments created in CustomerLabs with Facebook through events by creating a custom audience. This allows you to retarget high-intent audiences based on their behavioral data with personalized ads.

  1. Access to Meta Business Manager
  2. Full access to Meta Ad Account
  3. Full access to Meta Pixel
  4. Active CustomerLabs Account

To connect your Facebook Ad account via the recommended method, you must have Full access to your Meta Business Manager account.

Why is this recommended?

This method uses a system user to avoid data sharing discrepancies. It ensures that any changes or other manual updates to the Facebook account do not disrupt authentication or data flow.

  1. Log in to your CustomerLabs account.

  2. Navigate to Destinations in the left sidebar menu.

  3. Go to all destinations tab and select Facebook.

    Facebook Authentication with Customerlabs
  4. Enter the last 4 digits of the pixel you are sending data to, then click Save and Enable.

  5. Go to Configuration Settings.

    Facebook Authentication with Customerlabs
  6. Click on Authenticate Facebook account.

    Facebook Authentication with Customerlabs
  7. You will be redirected to choose the Business Manager account.

  8. Select the Business Manager account.

    Facebook Authentication with Customerlabs
  9. Select the Pixel you want to connect.

    Facebook Authentication with Customerlabs
  10. Choose the Ad Account and Catalogue from the list.

    Facebook Authentication with Customerlabs
    Facebook Authentication with Customerlabs
  11. Click Submit and then Got it.

    Facebook Authentication with Customerlabs
  12. Choose the Ad Account and Pixel to connect with CustomerLabs. Click “Save”.

    Facebook Authentication with Customerlabs
  13. You will be redirected back to Configuration Settings in the destinations.

  14. Toggle ON the “Audience type URL parameters” to attribute conversions to your first-party audience in Advantage+ Sales Campaigns.

    Facebook Authentication with Customerlabs
  15. Turn ON the toggle for Send data via server-side if you wish to send data via the server (Advisable for better tracking).

    Facebook Authentication with Customerlabs
  16. If your business is operating in certain US states where “Limited Data Use” Policy applies, toggle ON the “Limited Data Use Configuration” toggle.

  17. Custom Field Mappings (Optional): By default, CustomerLabs automatically maps all standard user_traits and event_properties to Meta’s corresponding Conversions API parameters (e.g., emailem, phoneph, purchasePurchase). However, if you are capturing any custom event properties or user traits that fall outside the standard CustomerLabs schema, you must manually map them here to their corresponding Meta parameter names.

    For example, if you are tracking a custom property order_ref that maps to Meta’s standard order_id parameter, you would add that mapping here so Meta can correctly parse and attribute the value.


  18. Restrict Health and Wellness Data: If your business falls under Meta’s Restricted Categories, toggle ON the “Restrict Health and Wellness Data” toggle.

    Facebook Authentication with Customerlabs
  19. Click Save Changes to save the configuration.

Section titled “Alternative Authentication (Not Recommended)”
  1. In CustomerLabs, go to Destinations → Facebook → Configuration Settings.

    Facebook Authentication with Customerlabs
    Facebook Authentication with Customerlabs
  2. Click on Not Recommended authentication.

    Facebook Authentication with Customerlabs
  3. Choose the Facebook Pages to which the business is associated.

    Facebook Authentication with Customerlabs
  4. Choose your Meta Ad account and Pixel from the drop-down.

    Facebook Authentication with Customerlabs
  5. Click Save Changes.

Updating Configuration or Authentication Details

Section titled “Updating Configuration or Authentication Details”

If you need to change details (Ad account, Pixel, Business Manager, etc.) after authentication:

  1. Click the Reauthenticate Facebook account button in Configuration Settings.

  2. Update the necessary details.

    Facebook Authentication with Customerlabs

If you previously connected via the Not Recommended Authentication, you can switch to the new recommended method by clicking near “Recommended Authentication”.

  1. Click on “Recommended Authentication” in the Configuration settings.

  2. Authenticate Facebook account as shown in Recommended Authentication section.

    Facebook Authentication with Customerlabs

After authentication, configure the event workflow to send events and sync audience segments.

  1. Go to Destinations → Facebook → Setup event workflow in CustomerLabs.

    Facebook Authentication with Customerlabs
  2. Click “Enable all server-side callbacks” to send all events to Facebook. This improves Event Match Quality (EMQ).

    Facebook Authentication with Customerlabs
  3. Audience Syncing:

    • After creating an audience in CustomerLabs, turn ON the toggle for all added_to_segment events to sync audiences to Facebook.
    • If you need to track removals, turn ON removed_from_segment.
    • The added_to_segment event refreshes on Facebook based on the minimum refresh interval set for the audience segment in CustomerLabs.
    • You can choose to send all events (pageview, purchase, added_to_cart, etc.) or only segments (added_to_segment).
    Facebook Authentication with Customerlabs
  4. Click Save Changes.


Limited Data Use is a Facebook data processing option that restricts the use of user data for marketing purposes to comply with US state privacy regulations (California, Colorado, and Connecticut).

Based on user consent from these states, you must flag users with Limited Data Use (LDU). Facebook will then process data as a service provider/processor and restrict its use according to Facebook’s State-Specific Terms.

Learn more about Limited Data Use

CustomerLabs supports the LDU flag for users in the mentioned states.

Prerequisites:

  • You must collect user consent on your website regarding marketing data usage (e.g., via a CCPA compliance cookie plugin).

  • Consent must be stored in a cookie with a specific name and boolean value.

    Facebook Authentication with Customerlabs
  1. Log into CustomerLabs and go to Destinations → Facebook.

  2. Navigate to Configuration Settings → Limited Data Use (LDU) Configuration.

  3. Turn ON the toggle to enable Limited Data Use on Facebook.

  4. Cookie Configuration:

    • Enter the Cookie name and Cookie value where user consent is stored.
    • Click Save Changes.
    Facebook Authentication with Customerlabs
  5. Consent Logic:

    • The cookie value should represent an opt-out (e.g., 1, true, y).
    • If the value matches, it means the user has opted out of marketing. CustomerLabs will flag this user with LDU and send it to Facebook.
    Facebook Authentication with Customerlabs

Once set up, anytime a user provides “opt-out” consent, the LDU flag is sent to Facebook for that user. Facebook will identify the state and apply LDU restrictions.