Adding the Category/Brand Tagging
Nosto utilizes meta tags to track what category or brand a certain visitor is viewing or what page type the currently viewed page is. These values are then used for dynamic filtering for categories and brands applied through the Nosto admin UI or exposure of certain pop-up campaigns for page types.
The category tagging should be exposed whenever a user is viewing a certain category.
The brand tagging should be exposed whenever a user is viewing a certain brand or vendor.
Tagging the categories
Categories must always be delimited by a slash. For example, /Home/Accessories
is a valid category while Home > Accessories
is not.
Faceting by other attributes
With Nosto you can also expose other attributes that should be used for category/brand page filtering. For example when a user clicks on a certain color, only products with that certain color attribute should be exposed by both the category list, and Nosto Onsite Recommendations. Available values correspond to custom fields tagged as part of the Product Tagging.
Tagging the current page type
Page type tagging should be exposed whenever a user is interacting with a page so Nosto understands what kind of page this is.
Page type is optional and used mainly for triggering popups and also to understand what kind of page the user is currently interacting with. The page type must always be lowercase and the accepted values for page type are: front
, category
, produc
, cart
, order
, search
and notfound
.
Troubleshooting
Once included on all pages, you can review if the site is transmitting data using the Nosto Debug Toolbar. If you can see order contents being picked up under "Tagging" → "Category" then the category and page type tagging are correctly set up in the source code.
Translate attribute
The translate attribute is a HTML5 standard attribute which specifies whether the value of the element and it's Text
node children should be translated. If your tagging elements are being translated by e.g. Google Translator then this is the way to opt out elements being translated by Google and possibly other vendors.
Last updated