Get Started
How to set up Facebook CAPI in Product Feed Elite
  1. Home
  2. Knowledge Base
  3. Integration
  4. How to set up Facebook CAPI in Product Feed Elite

How to set up Facebook CAPI in Product Feed Elite

⚠️ Requires Product Feed Elite

If you’re already using the Facebook Pixel but want more reliable conversion tracking, especially for users with ad blockers or restricted cookies, Conversions API (CAPI) helps fill those gaps.

Generate a CAPI access token in Meta and connect it to Product Feed Elite. Your store then sends key events from the server as well as the browser.

If you haven’t set up your Facebook catalog feed yet, start with How to set up a Facebook and Instagram product catalog feed first. The Pixel and CAPI tracking layer works alongside that feed to report conversions back to Meta.

Prerequisites

Make sure the following are in place before enabling Facebook Conversions API (CAPI).

RequirementWhat this means
WooCommerceInstall and run WooCommerce with your store active. Ensure the cart, checkout, and order confirmation (thank-you) pages work correctly.
Product Feed ProInstall and activate the Product Feed Pro plugin (version 13.5.8 or later, which is the minimum for Product Feed Elite 5.1.2). The Facebook Pixel feature is included in Product Feed Pro. Find the relevant settings in Product Feed → Settings → General.
Product Feed EliteInstall, activate, and license Product Feed Elite (version 5.0.9 or later for the hashed postal code, country and external ID, and version 5.1.2 or later for the hashed email, phone, name, city and state described below). Elite enables the Conversions API (CAPI) and richer server-side tracking on top of the Facebook Pixel provided by Product Feed Pro.
Facebook Pixel IDGet a Pixel ID from Meta Events Manager and enter it in your settings to connect your website tracking with your Meta account.
CAPI access tokenGenerate a CAPI access token in Meta Events Manager for the same Pixel (or dataset) you use in WooCommerce. See how to create your Conversions API access token below.

CAPI works together with the Pixel, not as a replacement. See How Conversions API works with the Facebook Pixel.

Create your Conversions API access token in Meta

The plugin sends server events to Meta using an access token that belongs to your Pixel (Meta also calls the same data source a dataset). Generate the token after you know which Pixel ID you will enter in Product Feed Pro.

If a label in Meta differs from these steps, see Meta’s Conversions API help page.

Before you start

  • Log in with a Meta account that has full control or manage access to the Business that owns the Pixel.
  • If Generate access token is missing, your user likely lacks the right role on the business or Pixel. Ask a Business admin to grant access or generate the token for you.
  • The numeric Pixel ID in the Product Feed setting must match the Pixel/dataset you selected when creating this token. If they differ, Meta will reject events or attribute them to the wrong source.

Steps in Events Manager

  1. Open Meta Events Manager.
  2. In the left menu, click Datasets, then select your Pixel or dataset.
  3. Open the Settings tab.
  4. Scroll to the Conversions API section.
  5. Under Set up direct integration (shown as Set up manually in some accounts), click Generate access token.
  6. Confirm any permissions or app prompts Meta shows.
  7. Click Copy next to the token string.
  8. Store the token in a password manager. Meta shows it only once.

You paste the token into Product Feed later, in Enable Facebook Conversions API and add your token.

If you lose the token, generate a new one in the same Conversions API section and paste it into the same field.

Meta Events Manager Settings tab showing the Generate access token button in the Conversions API section

If you can’t see the Generate access token button

  • Confirm you opened Settings on the correct Pixel (not a different ad account’s Pixel).
  • Open the Overview tab and look for Set up Conversions API or Get started. Some accounts guide you through token creation via this setup flow first.
  • See Meta’s guide: Get started with the Conversions API (official developer documentation).

After you generate the token

  • Never commit the token to Git, paste it into public forums, or send it by email in plain text.
  • Paste it only into Product Feed → Settings → General → Insert your Facebook Conversion API token (see Enable Facebook Conversions API and add your token).

Enable the Facebook Pixel

  1. Go to WP Admin → Product Feed → Settings.
  2. Open the General tab.
  3. Find Add Facebook Pixel in the list.

Some options, including Enable Facebook Conversion API and the CAPI token field, are available only with Product Feed Elite.

To enable the Pixel:

  1. Turn on Add Facebook Pixel.
  2. Enter your Pixel ID in Insert your Facebook Pixel ID. Use a numeric ID greater than zero; otherwise, the plugin skips all Pixel and CAPI output.
  3. Set Content IDS variable products Facebook Pixel to Variation product ID’s or Variable product ID, matching the IDs in your product feed.
  4. Click Save next to the Pixel ID field.

Add Facebook Pixel only controls the browser snippet. The server events depend on a valid Pixel ID, not on that toggle.

Enable Facebook Conversions API and add your token

  1. Toggle on Enable Facebook Conversion API.
  2. Paste your Conversions API access token into the Insert your Facebook Conversion API token field.
  3. Click Save next to the token field.
Product Feed Settings with Add Facebook Pixel, the Pixel ID, Content IDS variable products Facebook Pixel, Enable Facebook Conversion API and the Conversion API token field

Once enabled, your store sends events to Meta from both the browser (Pixel) and the server (CAPI). For more details, see the Read more about this link next to the CAPI setting.

How Conversions API works with the Facebook Pixel

Product Feed Elite sends tracking events to Meta in two ways, and they do not cover exactly the same events.

Tracking sourceWhat happens
Browser (Facebook Pixel)The Pixel loads on your website and tracks visitor actions such as PageView, ViewContent, AddToCart, and Purchase.
Server (Conversions API)With CAPI enabled and a valid access token, your server sends the events listed in Events sent by CAPI directly to Meta.

AddToCart and PageView are browser-only.

Keep Add Facebook Pixel on alongside CAPI. When both send the same event, Meta uses a shared event ID to count it only once. The server still reports events when browsers restrict cookies, ad blockers stop the Pixel from loading, or tracking scripts are blocked, which helps Meta match events to users and products.

Events sent by CAPI

The plugin triggers these server events when visitors interact with your store:

Page or situationEvent sent to Meta
Single productViewContent: triggered when a visitor views a product.
CheckoutInitiateCheckout: triggered when a customer starts the checkout process.
Order Received/Thank YouPurchase: triggered after a successful order.
Product categoryViewCategory: triggered when a visitor views a product category.
Product search resultsSearch: triggered when a visitor searches for products in your store.
Any other pageViewContent: sent when the page has no other event.

AddToCart is sent only by the browser Pixel, when a product is added to the cart.

Product feed vs. tracking events

Your product feed and your tracking events serve different purposes.

The product feed sends your catalog data to Meta: product titles, prices, images, and IDs.

The Facebook Pixel and Conversions API send behaviour data, such as which products visitors view, add to their cart, or purchase.

When the product IDs in your feed match the Content IDs sent by events, Meta can correctly link customer actions to products in your catalog. This helps improve reporting, optimisation, and dynamic product ads.

Depending on your theme or checkout setup, some events may behave slightly differently on certain pages. Verify key events in Meta Events Manager using Test Events or the live event stream.

Verify Facebook Pixel and Conversions API

After enabling the Facebook Pixel and Conversions API (CAPI), confirm that both are working correctly.

Check events in Meta Events Manager

Open Meta Events Manager and go to Test Events. Visit your store and trigger an event, such as viewing a product or completing a test purchase. You should see ViewContent, InitiateCheckout and Purchase arriving from both the Browser (Facebook Pixel) and the Server (Conversions API). AddToCart appears from the browser only.

Check server connectivity

Your hosting server must be able to send secure requests to Meta. If your server blocks these connections, CAPI events may not appear even though the Pixel still works.

Troubleshooting

No server events appear
Confirm that the Pixel ID is a valid number greater than zero, Enable Facebook Conversion API is on, and the token is pasted. Verify the token belongs to the same Pixel. Regenerate the token in Events Manager if it was revoked or copied incorrectly.
Cannot generate token in Meta
Only browser events appear
Your server may not be able to send events to Meta. Check whether a firewall, security plugin, or hosting provider is blocking outgoing connections from your server.
Poor catalog matching
Make sure the product IDs in your feed match the Content IDs sent by the Pixel, and that Content IDS variable products Facebook Pixel is set to the ID type your feed uses. If these do not match, Meta cannot connect events to the correct products in your catalog.
Duplicate events
Ensure you are not running another Facebook Pixel or tracking plugin with the same Pixel ID. Multiple integrations can cause the same event to be sent twice.

Frequently asked questions

Does CAPI replace the Facebook Pixel?
No. CAPI works with the Pixel, not instead of it. See How Conversions API works with the Facebook Pixel.
What happens if my CAPI token expires or gets revoked?
Server events will stop being accepted by Meta until you add a valid token. Browser Pixel events can still appear, so you may see lower server coverage in Test Events. To fix this, generate a new token in Meta Events Manager, update Insert your Facebook Conversion API token in Product Feed settings, save, and retest.
Do I need Product Feed Elite to use the Facebook Pixel?
No. The Facebook Pixel is free. It is included in the free Product Feed Pro plugin, and you do not need Elite to use the Pixel alone. Product Feed Elite adds the Conversions API (CAPI) layer: server-side event sending, deduplication, and the token field, on top of the Pixel. If you only need browser-based tracking, Product Feed Pro is sufficient; if you want server-side tracking alongside it, you need Elite.
What customer data does CAPI send to Meta?
When your server fires a CAPI event, the plugin sends the following to Meta:
  • Event data: the value, currency, content IDs, product name and category where the event has them, and the ordered items (ID, quantity and price) on Purchase.
  • Page URL: the URL of the page where the event occurred
  • IP address and browser/device string (user agent): used by Meta to match events to users
  • Meta click ID and browser ID (from Meta’s own _fbc and _fbp cookies, when present in the visitor’s browser): improve event matching quality and attribution
  • Email, phone number, first name, last name, city and state: SHA-256 hashed before sending.
    • On Purchase events, the plugin reads them from the order’s billing details.
    • On other events, it reads a logged-in customer’s saved billing details. It uses the account email and profile name as a fallback.
    • Guests who only browse send none of these.
  • Billing ZIP/postal code and country: SHA-256 hashed before sending. The plugin lowercases the postal code, removes spaces, and cuts US ZIP+4 to five digits first.
    • On Purchase events, the plugin uses the order’s billing address. It sends no postal code if the order has none.
    • On other events, it uses a logged-in customer’s saved billing address. Guests who only browse send neither value.
  • External ID (anonymised customer identifier): SHA-256 hashed before sending. It is the WordPress user ID for logged-in customers, or the WooCommerce order ID for guests on Purchase events. Guests on other pages send none.
Meta uses this data to match server-side events to user profiles for attribution and reporting. No passwords or payment details are sent. For full details, see Meta’s Conversions API data documentation.

The plugin does not check for visitor consent before sending these server events. Make sure your privacy policy covers sharing this data with Meta, and use a consent tool if your region requires one. The IP address, user agent and _fbc/_fbp values are sent as they are. Contact and location details, and the external ID, are hashed.
Can I use multiple Pixel IDs or multiple datasets?
No. The plugin supports a single Pixel ID entered globally in Product Feed → Settings → General. All events, both browser (Pixel) and server (CAPI), are sent to that one Pixel. If you need to track across multiple pixels or datasets, you would need to manage that at the Meta level or use a separate integration.

Need help?

Product Feed Elite users: open a support ticket and our team will take a look.

Product Feed Pro users: post a new topic on the WordPress.org forum.

Was this article helpful?

Related Articles

Complete Your Purchase
AdTribes WooCommerce Product Feed

The best WooCommerce product feed plugin

  • AdTribes Pty Ltd
    ABN: 40 675 636 816
Product
Resources & Info
Partner Sites
Rymera