Default Product Tagging
<div class="nosto_page_type" style="display:none">product</div>
<div class="nosto_product" style="display:none">
<span class="name">Acme Canoe</span>
Nosto also supports multiple optional values which may enrich the usage of the service, but are not required. These span elements should be inserted into the "nosto_product" parent container.
Tagging attribute extension
<span class="category">/Mens/Jackets/Ski Jackets</span>
<span class="description">This is a great product!</span>
<span class="google_category">Interior > Towels</span>
Prices must always be denoted in a simple numerical form using dot as the decimal separator. For example,
1.234,45is invalid while
Categories must always be delimited by a slash. For example,
/Home/Accessoriesis a valid category while
Home > Accessoriesis not.
The id of every category in the category hierarchy should be tagged. For example, if the product's category is
/Home/Accessories/Hats, the ids of
Hatsshould be tagged.
Currencies should always be represented in the ISO-4471 three-letter format. For example, use the code
$to represent the United States Dollar.
The availability of a product is represented by
http://schema.org/InStockfor products that are in stock and saleable. For products that are out of stock or you don't want to be recommended, you can use
The rating of a product must be represented as a number between 0.0 and 5.0. For example, a product cannot be rated 9.1. You must normalize your rating value to fit our specified range.
The three tag fields,
tags3are simply labels that can be used to annotate tags like
limited collectionor other use cases where you might want to filter your Nosto recommendations by certain product groupings.
Custom fields accept a key:value pair where the
classof the attribute is the key. Common use cases are
coloror other similar unique identifiers.
It is possible to tag also the currently viewed product sku. Typically this would be done on a product detail page when the user chooses a specific color or size and you would like to update recommendations to highlight other products with similar attributes. Most common approach would be to implement it by calling the Session API or the JS API from a click-listener to send the sku information and update the recommendations. If however the preference is to use tagging to specify the selected sku instead, that can be done through tagging by adding a span under product with the class name
selected_sku_id, for example:
Nosto also supports two attributes that are not crawlable through tagging. This is due to the sensitive nature of the attributes. They are:
inventory level. To send these two values to Nosto you will need to use the Products API.
Once included on all pages, you can review if the site is transmitting data using the Nosto Debug Toolbar. If you can see product attributes being picked up under "Tagging" then the product details are correctly set up. You can further verify that products are being indexed to the catalog under the Nosto admin by navigating to Tools → Products: https://my.nosto.com/admin/$accountID/campaigns/products/list
Nosto debug toolbar / products
Nosto product catalogue