How to Set Up Tracking for Meta Dynamic Product Ads
Dynamic ads break when catalog IDs and event IDs do not match. Here is how to align them and verify the connection.

Dynamic product ads are the best performing format Meta offers for most stores, and they are the one that breaks in the most confusing way.
The failure mode is not an error message. It is ads that serve the wrong products, or do not serve at all, while Events Manager reports everything as green.
The cause is almost always the same thing: your catalog and your pixel are using different product IDs.
The one rule
The content_ids you send in your pixel and Conversions API events must exactly match the id field in your catalog feed.
Exactly. Same values, same format, same leading zeros, same prefixes.
If your catalog uses SKU codes and your pixel sends Shopify variant IDs, Meta has no way to connect the two. It knows someone viewed a product and it knows you sell products, and it cannot link them, so dynamic ads have nothing to retarget with.
How to check in two minutes
Open Commerce Manager, find your catalog, open any product, and note its ID exactly.
Open that product’s page on your site with the Meta Pixel Helper or your browser network tab.
Find the ViewContent event and look at content_ids.
Compare. Character for character.
If they differ, that is your problem and nothing else matters until it is fixed.
The common mismatches
Variant versus product level. Your catalog is built at variant level and your pixel sends the parent product ID, or the reverse. Pick one level and use it consistently.
Prefixes. Some feed apps prepend shopify_ or a store identifier to the ID. Your pixel does not. Add the prefix in your pixel or remove it from the feed.
Type differences. The catalog has IDs as strings with leading zeros and the pixel sends them as numbers. Leading zeros disappear and nothing matches.
Multiple feeds. Two catalogs, two ID schemes, one pixel. Consolidate.
What to send on each event
Dynamic ads need three events with product data.
ViewContent. content_ids, content_type set to product or product_group, value and currency.
AddToCart. Same fields, plus quantity if you can.
Purchase. content_ids for everything in the order, value as the total, currency, and a contents array with individual quantities and prices.
content_type matters and gets skipped. If your catalog is built at variant level, send product. If it is grouped, send product_group. Mismatching this produces the same silent failure as mismatched IDs.
Feed quality
Commerce Manager has a diagnostics section for your catalog. Open it. It is genuinely useful and almost nobody looks.
Common issues it will show you:
Products rejected for missing required fields, usually availability, condition or brand
Images that failed to fetch or are below the minimum size
Prices that do not match what Meta found when it crawled your product page, which can get products disapproved
Items out of stock but still in the feed, which wastes spend on unavailable products
Set your feed to update at least daily. A feed refreshed weekly will advertise sold out products for six days.
Send events from the server too
Dynamic ads depend on product level event data, and product level event data is exactly what browser blocking removes.
Running the Conversions API alongside the pixel, with matching event IDs for deduplication, keeps your catalog signals intact for the users the browser cannot see.
Make sure the server events carry the same content_ids in the same format. It is common to get the browser side right and then have the server pull IDs from a different field in the database.
Setup details: Meta CAPI with server side GTM and deduplication, and for Shopify specifically, Shopify Meta CAPI setup.
Checking the connection is healthy
In Events Manager, open your pixel and look at the diagnostics and the catalog connection. Meta reports a match rate between your events and your catalog.
Anything below about ninety percent means a meaningful share of your product events cannot be used for dynamic ads. Under fifty percent means the ID formats do not match at all.
This number is the single best health check for dynamic ads and it takes ten seconds to read.
If everything matches and ads still underperform
Then it is usually audience size or creative rather than tracking.
Check that your retargeting windows are long enough to have volume, that your product set is not filtered down to forty items, and that your event match quality is good enough for Meta to identify users at all.
That last one has its own diagnosis: fixing Meta event match quality.
Need this built properly?
Dynamic ads fail quietly, and the cause is nearly always an ID format nobody checked. I set up and repair tracking for ecommerce stores and lead generation businesses, so the numbers in your ad accounts match the money in your bank account.
Have a look at what I do, or book a call and we can go through your setup together.























