Try it

Product identifier

Sortyra team · · 3 min read

A product identifier is a code that uniquely identifies specific goods and tells them apart from all others. It includes the internal ID in the shop, the product code (SKU), the number under the barcode (EAN, GTIN) and the manufacturer's code (MPN) together with the brand. Each serves a different purpose.

What is a product identifier

It is similar with people: at work you have an employee number, the state gave you a national ID number and at the library you have a card number. You are still the same person, but each institution looks you up by its own number.

For a product we distinguish two groups:

  • The shop's own identifier – the product ID and SKU. You or your system assign them. They make sure a product is recognised as the same one on every feed update.
  • A global manufacturer identifier – GTIN (most often EAN), MPN and brand. They are the same in every shop, which is why comparison sites and Google use them to join offers from different shops.

What it looks like in a feed

<!-- Google Merchant -->
<g:id>STAN-3P</g:id>
<g:gtin>8581234567894</g:gtin>
<g:mpn>TD3-GRN</g:mpn>
<g:brand>Trailo</g:brand>

<!-- Heureka -->
<ITEM_ID>STAN-3P</ITEM_ID>
<EAN>8581234567894</EAN>
<PRODUCTNO>TD3-GRN</PRODUCTNO>
<MANUFACTURER>Trailo</MANUFACTURER>

The same tent has the shop's internal ID, the EAN from the packaging and the manufacturer's code with the brand.

What it is used for

  • Updates – the ID tells the channel which offer should get a new price or stock level.
  • Matching – by EAN, or by brand and MPN, a comparison site places your offer on the product page together with other shops.
  • Google Merchant Center – for branded goods it requires a GTIN, or a brand and MPN; if the manufacturer did not assign an identifier, identifier_exists is used.
  • Merging suppliers – you recognise the same goods from two wholesalers by EAN.

What to watch out for

  • Changing IDs – if the shop assigns new IDs to products on export, the channel treats them as new products and they lose their history.
  • A supplier's code as the MPN – a wholesaler's internal code is not the manufacturer's code.
  • One EAN for a whole series – all sizes are then merged into one product.
  • Made-up EANs – the channel rejects an invalid number, and a valid but someone else's number attaches your offer to different goods.

How Sortyra helps

When you add a source you set the Unique item identifier that products are recognised by between runs. Feeds from several suppliers are merged by EAN, and products with a shared EAN are not merged. A missing EAN is suggested by Product matching – only with a valid check digit and with the source shown.

Frequently asked questions

Which identifier is the most important?

For channels it is a stable offer ID and, for branded goods, the GTIN (EAN). The other identifiers help when the GTIN is missing.

Can a product have several identifiers at once?

Yes, and it is common. The internal ID, EAN, MPN and SKU all describe the same product from different angles.

What if the product has no EAN?

Give the brand and MPN. If it has neither (handmade goods, for example), set identifier_exists to no for Google.

Try it on your own feed