On this page
What this issue is
Your Meta product catalog is a list of items, each with an id (the feed column is often called id, or g:id in Google-style XML feeds). When a shopper views a product, adds it to the cart or buys, the Meta Pixel sends an event such as ViewContent, AddToCart or Purchase. Each event carries content_ids, the IDs of the products involved.
fbq('track', 'ViewContent', {
content_type: 'product',
content_ids: ['SKU-1001'], // must equal the feed's id column
value: 49.00,
currency: 'USD'
});Why it costs you leads or sales
Dynamic product ads and Advantage+ catalog ads rely on matched events to retarget people with the products they viewed. When IDs do not match, Meta cannot build those audiences or show the right items. Catalog-based reporting and optimisation also get weaker, so you pay for ads that are less relevant.
- Shopper views productPixel fires ViewContent
- content_ids sentPixel sends 7654321098
- Match to feedFeed id is SKU-1001, no match
- Retargeting audienceViewed-product audience is empty
- Dynamic adWrong or no products shown
The event fires, but Meta cannot link it to a catalog item.
Example: illustrative numbers only. A mismatch leaves most events unmatched until IDs are aligned.
How to check if your site has it
Open Commerce Manager
Go to Commerce Manager, choose your catalog, then open the Events or Diagnostics tab. Look for warnings about content IDs not matching catalog items.
Check Events Manager
In Events Manager, open your pixel and its Diagnostics tab. Look for messages that event content IDs do not match items in the catalog.
Inspect a live event
Install the Meta Pixel Helper Chrome extension, open a product page and click the ViewContent event. Note the content_ids value.
Look up the same product in the feed
In Commerce Manager open Items, find the same product and read its ID. Compare character by character, including prefixes, case and variant suffixes.
Repeat for AddToCart and Purchase
Add the item to the cart and run a test order if your store allows it. Check that content_ids stay in the same format across all three events.
How to fix it
Decide which ID is your source of truth. It is usually easiest to change the pixel to match the feed, because the feed is already loaded in the catalog. Whichever you choose, use that one ID format in every event: ViewContent, AddToCart, InitiateCheckout and Purchase.
Check how the feed is built
In the Facebook & Instagram app (Meta channel), check which ID the catalog uses. Its IDs often look like shopify_US_productId_variantId, which differs from a plain product ID.
Use one integration
Prefer the official Meta channel app for both pixel and catalog so IDs are generated consistently. Remove extra pixel code added manually in theme.liquid or by other apps.
If using a custom feed app
Set the feed app's ID option to match what the pixel sends (product ID, variant ID or SKU), or change the pixel app to send the same one.
Open your pixel plugin settings
In plugins such as Facebook for WooCommerce, check the product ID or SKU option, and make sure the feed and pixel use the same one.
Check for a second plugin
If another plugin also adds the pixel or generates a feed, disable one source so only one ID format is used.
Resync the catalog
After changing the setting, trigger a product sync so the feed picks up the new IDs.
Find the data layer ID
Open Preview mode, view a product page and check which ID field your data layer exposes (for example items[0].item_id).
Map it in the Meta tag
In your Meta Pixel custom HTML tag, build content_ids from the variable that matches the feed's ID column, such as the SKU.
Apply to all events
Use the same variable in ViewContent, AddToCart and Purchase tags, then publish.
Read the feed ID in your templates
Output the same field your feed export uses as the id column, and pass it to fbq as an array of strings.
Handle variants
If the feed has one row per variant, send the variant ID. If it has one row per product, send the product ID.
fbq('track', 'AddToCart', {
content_type: 'product',
content_ids: ['SKU-1001'],
contents: [{ id: 'SKU-1001', quantity: 1 }],
value: 49.00,
currency: 'USD'
});Mismatched
- Feed id: SKU-1001
- Pixel content_ids: 7654321098
- Catalog diagnostics show unmatched IDs
Aligned
- Feed id: SKU-1001
- Pixel content_ids: SKU-1001
- Events link to catalog items
How to confirm it's fixed
- Pixel Helper shows content_ids identical to the feed ID for ViewContent, AddToCart and Purchase
- Commerce Manager no longer lists the content ID mismatch warning (allow some time for new events to be processed)
- Events Manager Diagnostics shows no unmatched content ID issues
- A viewed-product audience or catalog-based ad preview shows the right items
How to prevent it happening again
- Document which ID (product ID, variant ID or SKU) is your standard
- Use one source for the pixel and one for the feed
- Re-check IDs after changing themes, feed apps or plugins
- Review Commerce Manager diagnostics monthly and after each catalog change
- Test a product view, add to cart and test purchase after every tracking change
How FunnelGuard handles this
FunnelGuard does not check this yet. Comparing content_ids with your product feed IDs is a possible future check, but today it is not something FunnelGuard reports on.
What FunnelGuard does cover nearby: a robot visitor runs your real customer journeys on a schedule and checks the tracking hits sent to ad platforms such as Meta, so you can see if key events stop firing at all after a site change. To watch for ID mismatches, use the manual routine above: Pixel Helper on a product page, plus the Diagnostics tabs in Commerce Manager and Events Manager. The Free plan covers 1 site and 2 journeys with daily checks, and a free read-only website audit is available.
Questions people ask
Why are my Meta Pixel content_ids not matching my product catalog?
The pixel is sending a different ID format from the ID column in your feed. Typical cases are product IDs versus SKUs, variant IDs versus parent IDs, or a prefix added by a plugin. Compare the content_ids in Pixel Helper with the item ID in Commerce Manager.
How do I fix content_ids not matching the feed on Shopify?
Check which ID the Facebook & Instagram app uses for the catalog and make sure only that integration sends the pixel events. Remove any extra manual pixel code or second app that sends a different ID format.
Does the content_id have to be the SKU?
No. It can be the product ID, variant ID or SKU, as long as it is exactly the same value as the id column in your feed. Consistency matters more than which one you choose.
Where do I see content_ids mismatch warnings in Meta?
Open Commerce Manager, choose your catalog and look at the Events or Diagnostics section. Events Manager Diagnostics for your pixel can also show content ID problems.
Should I send content_ids as a string or an array?
Send an array of strings, such as ['SKU-1001']. Keep the strings identical to the feed IDs, including case and any prefixes.
Will changing content_ids affect past data?
Events already sent keep their old IDs, so they stay unmatched. New events with the corrected IDs will link to catalog items, and audiences build up from then on.
Does FunnelGuard detect content_ids that don't match the feed?
No, not yet. It is a possible future check. For now, use Pixel Helper and Meta's Commerce Manager and Events Manager diagnostics to compare IDs.
Related issues
- TRK-166Meta Pixel missing on funnel pageFix guide
- TRK-168Two Pixel IDs firing, events splitFix guide
- TRK-172Purchase event missing value/currencyFix guide
- TRK-176Custom event used instead of standard (no optimisation)Fix guide
- TRK-179CAPI not deduplicating with browser event (event_id mismatch)Fix guide
- TRK-178event_id missing on browser eventsFix guide