Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

Category & Brand tagging

Mridang Agarwalla edited this page Apr 13, 2018 · 14 revisions

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.

<div class="nosto_page_type" style="display:none">category</div>
<div class="nosto_category" style="display:none">/Boats/Canoes</div>

The brand tagging should be exposed whenever a user is viewing a certain brand or vendor.

<div class="nosto_page_type" style="display:none">category</div>
<div class="nosto_category" style="display:none">Acme</div>

Tagging the categories

Categories must always be delimited by a slash. For example, /Home/Accessories is a valid category while Home > Accessories is not.

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.

<div class="nosto_page_type" style="display:none">category</div>

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, product, cart, order, search, notfound

Troubleshooting category/page type tagging

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.

Nosto debug category

This wiki content has been moved to https://docs.nosto.com/techdocs

Clone this wiki locally