Data Attributes
The following attributes are required for the correct and complete functioning of the tools. They are used to check if the recommended size is available and to make recommendations if unavailable.
As we recommend the use of the Google Shopping Feed, the requirements listed below are closely related to it, and a link to the relevant website is provided in square brackets. For a detailed example, including all mandatory and optional data fields, click here.
- TITLE
- GTIN
- MPN
- LINK
- IMAGE LINK
- PRICE
- SALE PRICE
- AVAILABILITY
- BRAND
- PRODUCT TYPE
- ITEM SUBGROUP ID
- SIZE
- GENDER
- AGE GROUP
1. TITLE [title]
Use the title attribute to clearly identify the product you are selling.
1.1 WHEN TO USE
Required for each product
1.2 FORMAT
Type | String (Unicode characters; recommended: ASCII only) |
---|---|
Limits | 1 - 150 characters |
Examples | FOCUS Atlas 6.7 grey Cube Aim Race olive/black |
2. GTIN [gtin]
Use the GTIN attribute to specify Global Trade Item Numbers (GTINs). A GTIN helps us to uniquely identify your product.
2.1 WHEN TO USE
Required for all products with a GTIN assigned by the manufacturer. If no GTIN is available, the MPN attribute is used.
2.2 FORMAT
Type | String (Unicode characters; recommended: ASCII only) |
---|---|
Limits | 0 - 14 characters |
Examples | 4000990402378 4054571385611 |
3. MPN [mpn]
Use the MPN attribute to submit your product’s Manufacturer Part Number (MPN). MPNs are used to uniquely identify a specific product among all products from the same manufacturer.
3.1 WHEN TO USE
Required for all products without a manufacturer assigned GTIN.
3.2 FORMAT
Type | String (Unicode characters; recommended: ASCII only) |
---|---|
Limits | 0 - 70 characters |
Examples | B0237OS1 402590-SPO-CS-983-SF |
4. LINK [link]
When users click on your product, they are sent to a landing page on your website for that product. Set the URL for this landing page with the link attribute.
4.1 WHEN TO USE
Required for each product.
4.2 MINIMUM REQUIREMENTS
- The link must be a complete URL that includes the scheme and domain.
- Incorrect - /my-product-online/12345.html
- Correct - https://www.onlinesizing.bike/en/products/
- The link must point to the product detail page, not to a product listing page or a placeholder page or a page that has not yet been published.
- The URL must point to the production website, not a staging website.
4.3 FORMAT
Type | String (Unicode characters; recommended: ASCII only) |
---|---|
Limits | 1 - 2000 characters |
Examples | https://www.onlinesizing.bike/en/products/ |
5. IMAGE LINK [image_link]
Include the URL for your main product image with the image link attribute.
5.1 WHEN TO USE
Required for each product.
5.2 MINIMUM REQUIREMENTS
- The image must be representative of the product, not a placeholder image or logo.
- The image must be specific to an item subgroup, and it must be the same for all sizes.
- The link must be a complete URL that includes the scheme and domain.
- Incorrect - /my-product-online/12345.html
- Correct - https://www.onlinesizing.bike/images/scott-scale-910.jpg
- The link must point to an image on a published production website.
5.3 FORMAT
Type | String (Unicode characters; recommended: ASCII only) |
---|---|
Limits | 1 - 2000 characters |
Examples | https://www.onlinesizing.bike/images/scott-scale-910.jpg |
6. PRICE [price]
Use the price attribute to tell users how much you’re charging for your product. This information is shown to users.
6.1 WHEN TO USE
Required for each product.
6.2 FORMAT
Type | Number |
---|---|
Examples | 1699.00 679 |
7. SALE PRICE [sale_price]
Use the sale price attribute to tell customers how much you charge for your product during a sale. During a sale, your sale price is shown as the current price.
7.1 WHEN TO USE
Optional for each product.
7.2 FORMAT
Type | Number |
---|---|
Examples | 1659.00 649 |
8. AVAILABILITY [availability]
Use the availability attribute to provide information about whether you have a product in stock.
8.1 WHEN TO USE
Required for all products.
8.2 FORMAT
Type | Text |
---|---|
Supported values | in_stock out_of_stock preorder backorder |
9. BRAND [brand]
Use the brand attribute to indicate the brand name of the product so we can customize the recommendations to that brand.
9.1 WHEN TO USE
Required for each product.
9.2 MINIMUM REQUIREMENTS
- Brand names must not include the factory name or the holding company.
9.3 FORMAT
Type | String (Unicode characters; recommended: ASCII only) |
---|---|
Limits | 1 - 70 characters |
Examples | Focus Cube Scott |
10. PRODUCT TYPE [product_type]
Use the product type attribute to include your own product categorization system in your product data.
10.1 WHEN TO USE
Required for each product.
10.2 FORMAT
Type | String (Unicode characters; recommended: ASCII only) |
---|---|
Limits | 1 - 750 characters |
Examples | Gravel Bikes Hardtails 29” |
11. ITEM SUBGROUP ID [item_subgroup_id]
Use the item subgroup ID attribute to group together all sizes for a specific product variant. The different variants are distinguished by the combination of color, material, features, etc.
11.1 WHEN TO USE
Required for each product.
11.2 MINIMUM REQUIREMENTS
- The item subgroup ID must be current and historically unique in your store.
- The item subgroup ID must be the same for all locations.
- Matching item subgroup IDs must be available on product detail pages and order confirmation pages on your website and mobile apps.
11.3 FORMAT
Type | String (Unicode characters; recommended: ASCII only) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Limits | 1 - 70 characters | ||||||||||||
Examples |
|
12. SIZE [size]
Use the size attribute to describe the standardized size of your product.
12.1 WHEN TO USE
Required for each product.
12.2 MINIMUM REQUIREMENTS
- The product feed must include all sizes in which the product is manufactured, including sizes that are not in stock. Current stock availability information is collected in the availability attribute.
12.3 FORMAT
Type | String (Unicode characters; recommended: ASCII only) |
---|---|
Limits | 1 - 100 characters |
Examples | S, M, L 45cm, 48cm, 50cm Children: 14" |
13. GENDER [gender]
Specify the gender your product is designed for using the gender attribute. Gender allows us to customize the user experience and personalize our size recommendations.
13.1 WHEN TO USE
Required for each product.
13.2 MINIMUM REQUIREMENTS
- If the product is designed to be used by all genders, the value must be unisex, not empty or undefined.
13.3 FORMAT
Type | Text |
---|---|
Supported values | male female unisex |
14. AGE GROUP [age_group]
Use the age group attribute to set the demographic that your product is designed for. Distinguishing between adult and children's products is critical to making meaningful sizing recommendations.
14.1 WHEN TO USE
Required for each product.
14.2 FORMAT
Type | Text |
---|---|
Supported values | adult child |