Product ID in a feed (id, ITEM_ID) – what it is – Sortyra
# Product ID in a feed (id, ITEM_ID) – what it is – Sortyra > A product ID is the unique, permanent identifier of a feed item. What g:id for Google and ITEM_ID for Heureka look like, their limits and why to keep it. Source: <https://sortyra.com/glossary/product-id-in-feed> --- [Sortyra](https://sortyra.com/) [Glossary](https://sortyra.com/glossary) [M – P](https://sortyra.com/glossary/m-p) # Product ID Sortyra team · March 23, 2026 · 3 min read [Glossary](https://sortyra.com/glossary) [A – D](https://sortyra.com/glossary/a-d) [E – H](https://sortyra.com/glossary/e-h) [I – L](https://sortyra.com/glossary/i-l) [M – P](https://sortyra.com/glossary/m-p) [Q – T](https://sortyra.com/glossary/q-t) [U – X](https://sortyra.com/glossary/u-x) - [Main product image (image_link)](https://sortyra.com/glossary/image-link-imgurl-main-image) - [Margin](https://sortyra.com/glossary/margin-vs-markup-calculation) - [Marketplace](https://sortyra.com/glossary/what-is-an-online-marketplace) - [Marketplace commission](https://sortyra.com/glossary/marketplace-commission) - [MCP (Model Context Protocol)](https://sortyra.com/glossary/what-is-mcp-model-context-protocol) - [Minimum margin](https://sortyra.com/glossary/minimum-margin-price) - [MPN](https://sortyra.com/glossary/what-is-an-mpn) - [Multipack and bundle (is_bundle)](https://sortyra.com/glossary/multipack-is-bundle-google-feed) - [Output feed](https://sortyra.com/glossary/output-feed-product-feed-export) - [PNO (cost-to-revenue ratio)](https://sortyra.com/glossary/cos-pno-cost-of-sale) - [Price comparison site](https://sortyra.com/glossary/what-is-a-price-comparison-site) - [Price in the feed (price)](https://sortyra.com/glossary/price-in-feed-price-price-vat) - [Price position](https://sortyra.com/glossary/what-is-price-position) - [Product brand (brand)](https://sortyra.com/glossary/brand-in-product-feed) - [Product catalog](https://sortyra.com/glossary/what-is-a-product-catalog) - [Product category](https://sortyra.com/glossary/product-category-in-feed) - [Product colour (color)](https://sortyra.com/glossary/color-attribute-google-feed) - [Product condition (condition)](https://sortyra.com/glossary/condition-attribute-new-used-refurbished) - [Product description (description)](https://sortyra.com/glossary/product-description-feed) - [Product filter](https://sortyra.com/glossary/product-filters-feed-shop) - [Product identifier](https://sortyra.com/glossary/product-identifier-id-ean-mpn) - [Product link (link)](https://sortyra.com/glossary/product-link-url-in-feed) - [Product material (material)](https://sortyra.com/glossary/material-attribute-google-feed) - [Product page](https://sortyra.com/glossary/product-page-shop-comparison-site) - [Product parameter](https://sortyra.com/glossary/product-parameter) - [Product size (size)](https://sortyra.com/glossary/size-attribute-google-feed) - [Product title (title)](https://sortyra.com/glossary/product-title-feed-productname) - [Product type (product_type)](https://sortyra.com/glossary/product-type-google-feed) - [Product variant](https://sortyra.com/glossary/what-is-a-product-variant) - [Purchase price](https://sortyra.com/glossary/purchase-price-in-feed) A product ID is a unique, permanent identifier of an item in a feed, which lets the channel recognise the same product every time it loads the feed. In a Google Merchant feed it is the g:id field; in a feed for Heureka and Zboží.cz it is ITEM_ID. It usually holds the product code from the online shop. **In this article** 1. What is a product ID 2. What it looks like in a feed 3. What it is used for 4. What to watch out for 5. How Sortyra helps 6. Related terms 7. Frequently asked questions ## What is a product ID The ID is an item's "passport number" in the feed. Unlike an EAN, it isn't set by the manufacturer but by you or your online shop. It works like a cloakroom ticket: as long as the coat keeps the same ticket, the attendant can find it. If you swap the ticket, to the attendant it is a different coat. The channel stores everything it knows about the product against the ID – approval, click history, matching to a product page. That is why the ID must be **unique** (different for every item) and **permanent** (it doesn't change between updates). ## What it looks like in a feed `<!-- Google Merchant --> <g:id>STAN-204</g:id> <!-- Heureka, Zboží --> <ITEM_ID>STAN-204</ITEM_ID>` The same product code sits in the `g:id` element in a Google feed and in `ITEM_ID` in a feed for Czech and Slovak comparison sites. ## What it is used for - **Google Merchant Center** – `id` is required, has a maximum of 50 characters and shouldn't change once the product has been created. Ideally, use the [SKU](https://sortyra.com/glossary/what-is-an-sku). - **Heureka** – `ITEM_ID` is required, has a maximum of 36 characters and may only contain unaccented letters, digits, underscores and hyphens. The availability feed, for example, links to it. - **Zboží.cz** – `ITEM_ID` should be permanent; a different product or variant should have a different ID. - **Meta** – for dynamic ads, `id` must match the identifier sent by the website tracking (pixel). ## What to watch out for - **Changing the ID** – the channel treats the product as new, loses its history and has to approve or match it again. - **The same ID twice** – the channel can't tell apart two items with one ID. - **Disallowed characters and length** – a space, slash or accented letter in `ITEM_ID`, or an ID too long for Heureka, causes an error. - **An ID based on row order** (1, 2, 3…) shifts every time a product is added. - **The same codes at several suppliers** – when feeds are combined, products from different suppliers collide. ## How Sortyra helps In the source settings, on the **Mapping** tab you set the **Item ID field**, which Sortyra uses to recognise the same product at the next download. A **Product code prefix** prevents codes from different suppliers colliding, and **Rows not imported** shows items without an ID or with an ID that appears twice in the feed. ## Related terms - [SKU / product code](https://sortyra.com/glossary/what-is-an-sku) - [Feed item](https://sortyra.com/glossary/feed-item-shopitem) - [GTIN](https://sortyra.com/glossary/what-is-a-gtin) - [item_group_id](https://sortyra.com/glossary/item-group-id-product-variants) - [Field mapping](https://sortyra.com/glossary/data-mapping) - More detail: [EAN, GTIN, MPN and product codes](https://sortyra.com/knowledge-base/ean-gtin-mpn-product-code) ## Frequently asked questions ### Can the product ID be the same as the EAN? It can, but it isn't a good idea. Not every product has an EAN, and with some suppliers variants share one EAN. Your own product code is safer. ### What happens if I change a product ID? The channel considers the product new – it loses its performance history and has to process, approve or match it again. ### How long can an ID be? Google allows a maximum of 50 characters, Heureka 36. A short ID made of unaccented letters, digits and hyphens works everywhere. [← Previous article **Product filter**](https://sortyra.com/glossary/product-filters-feed-shop) [Next article → **Product identifier**](https://sortyra.com/glossary/product-identifier-id-ean-mpn) ## Try it on your own feed [Try it free](https://app.sortyra.com/registracia?lang=en) [Book a 15-min call](https://sortyra.com/contact)