Ecommerce

Stock Keeping Unit (SKU)

Also called SKU, product code, item code

A code a business creates to identify each distinct item it sells, including every size and colour, used across stock, sales and product feeds.

Quick facts: Stock Keeping Unit (SKU)

Category
Ecommerce
Also called
SKU, product code, item code
Level
Beginner
Affects
Stock control, product feeds, Shopping and catalogue ads, purchase tracking, sales reporting
Where to see it
Your ecommerce platform product export, stock management software, Google Merchant Center, Meta Commerce Manager, GA4 item reports
In this article4
  1. How SKUs work
  2. Why it matters
  3. Common mistakes
  4. How to act on it

A stock keeping unit (SKU) is a code a business creates to identify one specific item it sells, down to its size, colour or other variation. A navy jumper in medium and the same jumper in large are two SKUs, because they are counted, stocked and sold separately.

How SKUs work

A SKU is internal. You choose the format, and it only has to be unique within your own business. Many retailers build it from readable parts, such as JMP-WOOL-NVY-M for a navy wool jumper in medium. Others use plain numbers generated by the ecommerce platform or stock system. Either approach works as long as every sellable variation has exactly one code and that code never changes.

A SKU is different from a GTIN, the barcode number (usually an EAN in the UK) that identifies a product worldwide and is issued through GS1, normally by the brand. Two shops selling the same kettle share its GTIN but each has its own SKU for it. It also differs from the manufacturer part number (MPN), which the brand assigns.

Inside the shop, each product variant normally carries its own SKU, and the variants sit under one parent product. That structure carries through to everything that depends on it: stock control, the warehouse or fulfilment partner, accounting, and the product feed sent to Google and Meta, where the SKU is often used as the item ID and the parent code as the item group ID.

Why it matters

Clean SKUs are what let separate systems agree on what was sold. When codes are missing, duplicated or reused, stock figures drift, the wrong item gets picked, and reports cannot tell you which size or colour actually sells.

For marketing, the SKU is the thread that links an ad click to a product. Shopping ads, Performance Max and Meta catalogue ads report results by item ID, and the purchase event on your website should send the same ID in its item data. If the feed uses one code and the site tracking uses another, the platforms cannot match purchases to products, and dynamic retargeting may show people items that are out of stock or no longer sold.

Changing item IDs also wipes history. Google and Meta treat a new ID as a new product, so recoding your range or moving ecommerce platform carelessly can throw away months of performance data on your best sellers.

Common mistakes

  • Reusing a discontinued product’s SKU for a new item, which merges two products’ sales history.
  • Giving every size and colour the same SKU, so stock and sales cannot be tracked by variant.
  • Letting the website, the warehouse and the feed each use different codes for the same item.
  • Changing every SKU during a platform move without keeping a map from old to new.
  • Building meaning into codes that later changes, such as a supplier’s name, then having to break the pattern.
  • Typing the SKU into the GTIN field because the feed demanded a value there.

How to act on it

Export your product list and check three things: every sellable variant has a SKU, no SKU appears twice, and none are blank. Then compare that list with the item IDs in your product feed and the item IDs your purchase tracking sends. They should match exactly.

Write down a simple format for new products and keep to it. If you are changing ecommerce platform, keep existing SKUs where you can; where you cannot, keep a mapping table so stock, reports and feeds survive the move.

Once SKUs, feeds and tracking line up, catalogue-based advertising becomes much easier to judge. Checking that data is the first step when I set up catalogue and dynamic product ads, and the same clean feed serves Google Merchant Center for Shopping ads.

Do and do not

Do

  • Give every sellable variant its own SKU
  • Use the same ID in the feed and in purchase tracking
  • Keep an old-to-new map if codes ever change

Do not

  • Reuse a SKU for a different product
  • Put the SKU in the GTIN field
  • Recode the whole range without a reason

Questions people ask about this

What is the difference between a SKU and a barcode?

A barcode on a retail product usually encodes a GTIN, a number that identifies that product worldwide and is the same in every shop that sells it. A SKU is your own internal code and is unique only within your business. You need a SKU for everything you sell; a GTIN matters most for branded products listed on Google Shopping or marketplaces.

Do I need SKUs if I only sell a few products?

Yes, as soon as you have variants, hold stock or send a product feed anywhere. Setting them up costs nothing and takes minutes on a small range. Adding them later, once orders, feeds and integrations are running, is far more work and risks losing history.

Can I change my SKUs?

You can, but plan it. Changing codes can break integrations with your warehouse or accounting software, split your sales reports into before and after, and reset product history in Google and Meta if the SKU is your feed item ID. Keep a mapping of old codes to new ones and only change them for a clear reason.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.