The size attribute is the product's size, for example M, 42 or 200 × 80 cm. Google requires it for clothing and footwear in selected countries and for variants that differ in size. Along with it, you can also send the sizing system (EU, UK, US) and the size type (fit).
What is size
For a T-shirt the size is M, for shoes 42, for a sleeping bag a length of 220 cm. The size attribute is the field where you enter this information the way customers know it from the label. With variants, size is often the only thing that distinguishes the individual items.
For clothing and footwear, two extra fields help: size_system says which country's sizing the size follows (for example EU), and size_type describes the cut (for example regular, petite, plus).
What it looks like in a feed
<!-- Google Merchant -->
<g:size>42</g:size>
<g:size_system>EU</g:size_system>
<g:size_type>regular</g:size_type>
<!-- Heureka / Zboží -->
<PARAM>
<PARAM_NAME>Size</PARAM_NAME>
<VAL>42</VAL>
</PARAM>A shoe in size 42 in the European system with a regular fit. On comparison sites, size is an ordinary parameter.
What it is used for
- Google uses size for clothing and footwear to group variants and show a size picker. For variants that differ in size, the field is required.
- Meta wants size for clothing and footwear for shopping directly on Facebook and Instagram.
- Heureka and Zboží build filters from the "Size" parameter.
- Online shops use it to tell variants apart and to show a size chart.
What to watch out for
- The word "size" in the value – "Size M". Only
Mbelongs in the field. - Different systems in one feed – US 9 in one place, EU 42 in another. Standardise them and give the
size_system. - One size written in different ways – "UNI", "universal", "-". Google recognises the values
one size,OSandOSFA. - Size only in the title. If it is missing from the field, Google can't tell the variants apart.
- Value length. Google accepts a maximum of 100 characters.
How Sortyra helps
In the output for Google, Sortyra fills in size automatically – from the size field, from a variant parameter or from a parameter named "Size" in any EU language. The Convert sizes to EU sizes recipe in Rules converts US and UK clothing and shoe sizes; you can adjust the conversion table for each brand.
Related terms
- Colour – color
- Gender – gender
- Age group – age_group
- item_group_id – linking variants
- Parameters – PARAM / product_detail
- Longer article: Product attributes and variants
Frequently asked questions
Is size required in a Google feed?
Yes, for clothing and footwear targeted at selected countries and for variants that differ in size. Otherwise it is optional.
How do I write one size fits all?
Use one size, OS or OSFA – Google recognises these values.
What is size_system?
It specifies the sizing system the size is given in, for example EU, UK or US. If it is missing, Google assumes the system of the country you are selling to.