Product IDs and catalog matching: match your ads to your product feed
Learn which product ID Shoporama's tracking sends, why it always matches the Google Shopping feed, what catalog matching means for your Meta and Google ads, and how to check and troubleshoot your match rate.
When you run dynamic product ads on Meta (Facebook and Instagram) or Google, one thing decides whether it all works: the product ID your tracking events send has to be exactly the same ID as the one in your product feed. This is called catalog matching. Without a match, the platforms can't connect a customer's behavior to the right products, and retargeting and dynamic ads simply don't work.
The good news is that Shoporama handles this automatically. If you use Shoporama's built-in server-side tracking together with the built-in Google Shopping feed, tracking and feed always send the same product ID. In this article, we explain which ID is sent, why it matches the feed, how to check your match rate, and what to do if something doesn't match.

What is catalog matching?
Meta and Google each maintain their own product catalog for your store. The catalog is typically fed by your Google Shopping feed, where each product has a unique ID. At the same time, your store sends tracking events when customers view products, add them to the cart, and buy. Each event also contains a product ID (at Meta, the field is called content IDs, or content_ids).
The platform compares the ID from the event with the IDs in the catalog. When they match, the platform knows exactly which product the customer was interested in and can use it for:
- Dynamic product ads, where customers see exactly the products they looked at
- Retargeting customers who left their cart without buying
- Automatic optimization, where the algorithm learns which products convert best
- Correct attribution of sales to individual products and campaigns
If the IDs don't match, the platform is left with an event it can't connect to a product. The result is a low match rate, weaker ads, and ultimately wasted ad spend.
Which product ID does Shoporama send?
Shoporama's built-in tracking sends product IDs in all relevant events, both in the browser (for example view_item, add_to_cart, and purchase) and in the extra purchase event that's sent directly from Shoporama's tracking server when an order is paid.
By default, this ID format is used:
- Products without variants: the product's numeric ID, for example 154585
- Variants: the product's ID followed by a colon and the variant's ID, for example 154585:45789
This is exactly the same format your Google Shopping feed uses in the ID field (g:id). Tracking and feed are built to go hand in hand, so the IDs match 1:1 without you having to configure anything. If you upload Shoporama's feed to Meta Commerce Manager and Google Merchant Center, your events match the catalog from day one.
Stores with country and language feeds use the SKU
If you have several stores on your account, for example a Danish, a Swedish, and a German version of the same store, you can turn on country and language feeds. The product's SKU is then used as the ID in the feed instead of the numeric ID. This makes sense because the same product has different numeric IDs in each country store, while the SKU is the stable key across all stores.
You'll find the setting under Products → Product feeds in the "Google Shopping" card. It's called "Enable country and language feeds" and only appears when your account has more than one store and the Google Shopping feed is turned on.

When the setting is turned on, the built-in tracking automatically follows suit and also sends the SKU as the product ID:
- For variants, the variant's own SKU is used if it has been filled in
- Otherwise, the product's SKU is used
Important: If a product has no SKU in a store with country and language feeds, it can't be matched to the catalog. The feed outputs an empty ID for the product, and tracking falls back to the numeric ID, which then doesn't exist in the catalog. So if you use country and language feeds, make sure all products (and variants) have a SKU.
Why match rate matters for your ad spend
The match rate is the share of your events that the platform can connect to a product in the catalog. It isn't just a technical number. It directly determines how well your ads perform:
- Retargeting misses the mark: The customer looked at a specific jacket, but the platform doesn't know which one. So it can't show the jacket again, and the ad becomes generic instead of personal.
- The algorithm learns more slowly: Without product data on events, Meta and Google have fewer signals to optimize for. That means more expensive clicks and weaker targeting.
- Your budget leaks: You pay for ad impressions that could have been far more precise. A low match rate is one of the most overlooked reasons for disappointing returns on product ads.
With Shoporama's built-in tracking and feed, the match rate is normally close to 100%, because both send the same ID. If you see a low match rate, it's almost always a sign that a custom tracking setup is involved, or that products are missing a SKU in a store with country and language feeds.
How to check your match rate and troubleshoot
At Meta
- Match rate: Open Meta Commerce Manager, select your catalog, and look under events/diagnostics. Here you can see what share of your events match the catalog.
- Test Events: In Meta Events Manager, under Test Events, you can see your events in real time while you click around the store yourself, including which content IDs are sent.
- Meta Pixel Helper: A free Chrome browser extension that shows which events and IDs your store sends from the browser.
A common error at Meta says that no content IDs were received. It means your events arrive without product IDs. This usually happens when a store runs an older or homemade tracking setup that doesn't include the IDs. The solution is to switch to Shoporama's built-in tracking, or to make sure the custom setup sends the correct IDs (see the developer section below).
At Google
- GA4 DebugView: Shows your events in real time in Google Analytics 4, so you can see exactly which product IDs are sent.
- Google Tag Assistant: Google's own tool for inspecting tags and events directly on your store.
Checklist for a low match rate
- Do you use both Shoporama's built-in tracking and the built-in Google Shopping feed? Then the IDs should match automatically.
- Have you turned on Use Consent Mode under Webshop → Tracking? Then the store needs a cookie banner. Without a banner, customers can't give consent, and neither product views nor add-to-cart events are sent from the browser. Read more in Cookie consent and Consent Mode v2.
- Do you have country and language feeds turned on? Check that all products and variants have a SKU.
- Is the catalog at Meta or Google fed by a feed other than Shoporama's, such as a manually uploaded spreadsheet? Then the IDs are probably in a different format.
- Does the theme run its own tracking code alongside? Custom events must use the same ID format as the feed.
- Have you recently switched between standard IDs and SKUs? Give the platforms some time, and make sure the feed has been reloaded into the catalog.
Technical section for developers
This section is aimed at theme developers and technical staff. If you use Shoporama's built-in tracking, you can safely skip it.
If you build your own tracking in a theme, for example a data layer push to your own Google Tag Manager setup or the Facebook Conversions API, your events must use exactly the same product ID as the feed. Never build the ID yourself. Instead, use the getTrackingId() method on the product object. It always returns the ID the feed uses and automatically takes into account whether the store uses the standard format or the SKU format:
<script>
dataLayer.push({
event: 'view_item',
ecommerce: {
currency: 'DKK',
items: [{
item_id: '<{$product->getTrackingId()}>',
item_name: '<{$product->getName()|escape:"javascript"}>',
price: <{$product->getPrice()}>
}]
}
});
</script>
To send the ID for a specific variant, pass the variant's attribute value ID as the second argument:
item_id: '<{$product->getTrackingId(null, $attribute_value_id)}>'
The method then returns the variant's ID in the active format: productid:variantid by default, or the variant's SKU in stores with country and language feeds. This way, your own events always match the feed, even if the store changes the setting later.
Frequently asked questions
Do I need to do anything to make my ads match my feed?
No. If you use Shoporama's built-in tracking and the built-in Google Shopping feed, they automatically send the same product ID. You just need to make sure the catalog at Meta or Google is set up with Shoporama's feed.
Meta says no content IDs were received. What do I do?
The error means your events arrive without product IDs. This is typically caused by an older or homemade tracking setup. Switch to Shoporama's built-in tracking, or ask your developer to include the IDs in the theme's own events. Use Test Events in Meta Events Manager to see what's actually being sent.
I have several country stores. Which ID is used across them?
With country and language feeds turned on, the SKU is used as the ID in both the feed and tracking. The SKU is the same across your country stores, so it works as the stable key, even though the numeric product IDs differ in each store.
What happens if a product doesn't have a SKU?
In stores with country and language feeds, the product then can't be matched to the catalog. The feed outputs an empty ID, and the event falls back to the numeric ID, which doesn't exist in the catalog. Give the product (and its variants) a SKU, and it will be resolved at the next feed update.
Can I choose which ID format is used in tracking?
No, and that's intentional. Tracking always follows the feed's setting: numeric IDs by default, SKUs when country and language feeds are turned on. If there were a separate setting for tracking, the two could get out of sync, and catalog matching would break down.
Where can I see how many of my products match?
At Meta, you'll find the match rate in Commerce Manager under your catalog. There you can also see which events couldn't be matched, and why. At Google, you can use GA4 DebugView and Google Tag Assistant to inspect the IDs your events send.
Does catalog matching also work for variants?
Yes. Variants have their own IDs in both the feed and tracking: by default, the product's ID plus the variant's ID separated by a colon, and in stores with country and language feeds, the variant's own SKU. This means customers can be retargeted with exactly the variant they looked at.
Does catalog matching cost extra?
No, there's no separate charge for catalog matching. The Google Shopping feed is included in Shoporama, and the built-in tracking is a paid add-on that requires a Pro or Flex plan. You can find the current price at https://www.shoporama.io/price. Read more in the guide to server-side tracking.
If you have questions about product IDs or catalog matching, you're always welcome to email support@shoporama.dk.
Related articles
Server-side tracking in Shoporama: GA4, Meta, and Google Ads
A complete guide to server-side tracking in Shoporama. Better data quality, fewer conversions lost to ad blockers, and product IDs that match your...
Set up your Google Shopping feed in Shoporama
How to set up and customize the built-in Google Shopping feed in Shoporama: Google product categories, custom labels, product IDs and catalog...
Facebook Conversions API: setup and catalog matching
How to set up the Facebook (Meta) Conversions API in Shoporama with your Pixel ID and access token, how purchases are deduplicated automatically,...
Set up ecommerce tracking in your Shoporama store
Enable Shoporama's built-in tracking and send accurate tracking data to Facebook, Google Ads, GA4, TikTok, and more. Server-side, GDPR-ready, and...
Related features
EAN (European Article Number)
An EAN (European Article Number) is a barcode standard that uniquely identifies products. Learn how EAN codes are used in online stores and product...
GTIN (Global Trade Item Number)
GTIN is the international standard number behind the barcode on products. Learn why GTINs matter for Google Shopping, price comparison sites, and SEO.
MPN (Manufacturer Part Number)
MPN (Manufacturer Part Number) is the manufacturer's product number. Learn how MPN is used in online stores, Google Shopping, and product feeds...
SKU (Stock Keeping Unit)
A SKU is a unique product number for each item in your online store. Learn what a SKU is, how to build good SKUs, and how a SKU differs from a GTIN.
Product feeds
Ready-made feeds for Google Shopping, Pricerunner, Partner Ads, Kelkoo, and TradeTracker. Or build your own custom product feeds in XML, JSON, or CSV.
Google Shopping feed included in your Shoporama store
Get an automatic Google Shopping feed with every field Google requires, at no extra cost. Plus a PriceRunner feed and your own custom product feeds.