Match a Meta event product ID to the catalog

Compare the event’s product ID with the exact catalog row and catch a shared group ID in its place.

Performance creative2 min read

The cobalt headphones are open on your storefront. You capture a ViewContent event, but its ID is the same one the tangerine pair uses. To check whether the event identifies the cobalt variant, compare the ID in the event with the exact item row in the catalog used by the campaign.

Read the type before looking up the ID

Open a known variant and capture its outgoing ViewContent payload from the integration you are checking. Record content_type and the value in content_ids. If the integration sends a product in contents, inspect its id. For Conversions API, those fields sit inside custom_data. Meta Business SDK event fields.

With content_type: "product", look up the event value in the item’s retailer_id field. Copy the value from the catalog as a string, including any prefixes and leading zeros. A storefront SKU is useful only if it is also the catalog’s retailer ID. With "product_group", compare the group ID instead. Meta’s ProductItem object exposes that value as retailer_product_group_id, which variants can share. If the intended event identifies one selected variant, check the item-level pair. Meta Business SDK catalog fields.

Check one changed variant and one control

In this synthetic catalog, cobalt has retailer ID wave-blue and tangerine has wave-orange. Both rows share group ID wave. The table shows one event per test. Compare each value with the catalog using the event’s declared type.

All three events use content_type: "product". For this type, Meta’s SDK describes content_ids as an array containing one string, such as ["wave-blue"].

TestValue in content_ids
Cobalt before the fixwave, no item match
Cobalt after the fixwave-blue, cobalt row
Tangerine controlwave-orange, tangerine row

If the cobalt event sends wave with product, trace where the integration substitutes the shared value and fix that mapping to use the selected item’s retailer ID. Retest cobalt, then open tangerine separately and capture its event again. A global replacement can fix cobalt while pointing tangerine at the same item. Sending wave with product_group identifies the whole headphone group and leaves the color unspecified.

Record the storefront variant, event type and value, and matching catalog row. This check ends when each event value resolves to its intended row. A campaign’s ad delivery and attribution require separate evidence.

Marketing workflow
All guides
Match a Meta event product ID to the catalog | Formatry Media — Formatry