All Collections
Inspirational content
Inspirational e-commerce feed
Inspirational e-commerce feed

This feed has been written to inspire all customers who wonder how a Datatrics feed should look and which fields might be useful.

Xander Wijering avatar
Written by Xander Wijering
Updated over a week ago

This feed has been written to inspire all customers who wonder how a Datatrics feed should look and what fields might be useful.

Below you can find the example of the feed:

<items>
<item>
<id>1</id>
<name>BrandNew Yellow Toner</name>
<categories>
<category>
<categoryid>123</categoryid>
<name>Toners</name>
<url>https://www.datatrics.com/toners/</url>
</category>
<category>
<categoryid>125</categoryid>
<name>Yellow toners</name>
<url>https://www.datatrics.com/yellow-toners/</url>
</category>
</categories>
<alternative_items>2</alternative_items>
<alternative_items>4</alternative_items>
<brand>BrandNew</brand>
<condition>new</condition>
<image>https://www.datatrics.com/media/product/1/brandnew-yellow-toner.jpg</image>
<url>https://www.datatrics.com/toners/brandnew/1-brandnew-yellow-toner/</url>
<price>150</price>
<special_price>99.99</special_price>
<sale_label>33</sale_label>
<product_type>toner</product_type>
<stock>1</stock>
<shipping>
<country>IT</country>
<service>Standard</service>
<price>2.95</price>
</shipping>
<shipping>
<country>GER</country>
<service>Standard</service>
<price>3.95</price>
</shipping>
<ean>1234567890</ean>
<color>Yellow</color>
<manufacturer>BrandNew</manufacturer>
<feature>22.000 prints</feature>
<availability>DIRECT</availability>
<description>Our yellow toner</description>
<parent_id>3</parent_id>
<tags>yellow</tags>
<tags>toner</tags>
</item>
<item>
<id>2</id>
<name>BrandNew Red Toner</name>
<categories>
<category>
<categoryid>123</categoryid>
<name>Toners</name>
<url>https://www.datatrics.com/toners/</url>
</category>
<category>
<categoryid>125</categoryid>
<name>Red toners</name>
<url>https://www.datatrics.com/red-toners/</url>
</category>
</categories>
<alternative_items>1</alternative_items>
<alternative_items>4</alternative_items>
<brand>BrandNew</brand>
<condition>new</condition>
<image>https://www.datatrics.com/media/product/2/brandnew-red-toner.jpg</image>
<url>https://www.datatrics.com/toners/brandnew/2-brandnew-red-toner/</url>
<price>150</price>
<special_price>99.99</special_price>
<sale_label>33</sale_label>
<product_type>toner</product_type>
<stock>1</stock>
<shipping>
<country>IT</country>
<service>Standard</service>
<price>2.95</price>
</shipping>
<shipping>
<country>GER</country>
<service>Standard</service>
<price>3.95</price>
</shipping>
<ean>1234567891</ean>
<color>Red</color>
<manufacturer>BrandNew</manufacturer>
<feature>22.000 prints</feature>
<availability>DIRECT</availability>
<description>Our red toner</description>
<parent_id>3</parent_id>
<tags>red</tags>
<tags>toner</tags>
</item>
<item>
<id>3</id>
<name>BrandNew InkJet Printer</name>
<categories>
<category>
<categoryid>234</categoryid>
<name>Printers</name>
<url>https://www.datatrics.com/printers/</url>
</category>
</categories>
<brand>BrandNew</brand>
<condition>new</condition>
<image>https://www.datatrics.com/media/product/3/brandnew-inkjet-printer.jpg</image>
<url>https://www.datatrics.com/printers/brandnew/3-brandnew-inkjet-printer/</url>
<price>225</price>
<product_type>printer</product_type>
<stock>1</stock>
<shipping>
<country>IT</country>
<service>Standard</service>
<price>2.95</price>
</shipping>
<shipping>
<country>GER</country>
<service>Standard</service>
<price>3.95</price>
</shipping>
<ean>1234567892</ean>
<manufacturer>BrandNew</manufacturer>
<feature>scan</feature>
<feature>copy</feature>
<availability>DIRECT</availability>
<description>Our InkJet printer</description>
<tags>Inkjet</tags>
<tags>toner</tags>
</item>
</items>

The feed in this example consists of three items. Each item has fields that are useful to dynamically use within Datatrics, use with our recommendation strategies, and make it easier to filter on certain items.

Next to the standard fields like price, special price, name, and description, this feed also has other nice fields you can use.

You can, for example, use the shipping prices for when your webshop has the availability to ship to different countries or if you want to show the shipping prices.

The items have an <alternative_items>{id}</alternative_items> field, which can be useful for certain strategies to recommend alternative items that relate to the one the visitor is currently viewing.

It also contains a parent_id. The parent_id or item_group_id is helpful when you have multiple variants of a product. When the parent_id is filled in, and the settings in the touchpoint are set up correctly, only one variant/child can be shown per touchpoint.

The feed contains tags, and this is very useful to filter out certain products in a selection or to show as a label within your recommendations.



Last but not least, the feed contains categories. One item can have multiple categories. Defining categories is necessary to recommend products on category pages that contain the same category.

Did this answer your question?