--- title: "Products" slug: "react-next-product" updated: 2026-06-24T11:27:56Z published: 2026-06-24T11:27:56Z canonical: "docs.mapp.com/react-next-product" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.mapp.com/llms.txt > Use this file to discover all available pages before exploring further. # Products ## 1 Overview Mapp Intelligence tracks products along the whole shopping funnel. Every product call carries a status that records in which context the product was seen or used. The status is what makes funnel, drop-off and conversion analyses possible. Four groups of statuses are supported: - **Browsing**: a product listed in a catalog or on an overview page, and a product opened on its own detail page. - **Wishlist**: a product added to a wishlist and removed from it again. - **Cart and order**: a product added to the cart, removed from the cart, moved to checkout, and finally purchased. - **Recommendations**: a product loaded into a recommendation widget, becoming viewable on screen, and being clicked. These three are sent by the [Recommendation Tracking](/v1/docs/recommendation-tracking-plugin-intelligence) extension and do not have to be set manually. For the technical names and how to set each status, see **3 Objects and Methods**. --- ## 2 Configurable Properties The following properties are available for product tracking: | Property | Description | Data type | **Request Parameter** | | --- | --- | --- | --- | | id | A unique product identifier. Use a SKU or article number to support catalog imports. | string | ba | | cost | Product price. For multiple quantities, send the total price. "0" values are allowed. | number | co | | quantity | Quantity of the product. | number | qn | | soldOut | Indicates if the product is sold out (`true`) or in stock (`false`). | boolean | cb760 | | variant | Identifier of the product’s variant or style context (not SKU-level). | string | cb767 | | fashionProductId | Product ID — groups all variants of a product, regardless of color or size. Not specific to Mapp Fashion despite the name: the Recommendation Tracking extension uses it to match recommended products to an order. It is not sent to Mapp Intelligence or Mapp Fashion. Set it in addition to id whenever the value is available. | string | — | | parameter | Optional e-commerce parameters. Can enrich product data with attributes like color or size. | object | cb[ID] | | category | Defines the product category. Each product can only have one category per category ID. | object | ca[ID] | ### Product identifiers in tracking Mapp Intelligence uses the same product identifier model as the Mapp Cloud Product Catalog. Each tracking field maps to one catalog identifier: | Smart Pixel field | Catalog identifier | Example | | --- | --- | --- | | `id` | Variant ID | `DRESS-5892-BLK-36` | | `fashionProductId` | Product ID | `DRESS-5892` | | `fashionStyleId` | Style ID | `DRESS-5892-BLK` | The `id` references a single purchasable item including color and size. `fashionProductId` is optional and groups all variants of a product. Setting it lets Mapp match a tracked product to its product group even when variant identifiers change, which is relevant for recommendation tracking. Set it in addition to `id` whenever the value is available, including in non-Fashion setups. For the full identifier model, see [How Product Catalogs Work](/v1/docs/connect-product-catalog-concepts-structure). ### Fashion-specific properties The following properties are only relevant if Mapp Fashion is in use. All three are optional. | Property | Description | Type | | --- | --- | --- | | `fashionStyleId` | Style ID — groups variants that share the same color but differ in size. Corresponds to the Style ID in the Mapp Cloud Product Catalog, see *Product identifiers in tracking* above. | string | | `fashionItemTitle` | Product name. | string | | `fashionItemCategory` | Product category. | string | > [!NOTE] > Note > > These properties are sent to the Mapp Fashion extension only. They are not transferred to Mapp Intelligence and are not shown as request parameters. For product name and category, the authoritative source is the Mapp Fashion product feed, where both are mandatory fields. Sending them in tracking is optional and does not replace the feed. See [Product Feed](/v1/docs/product-feed-mapp-fashion). --- ### 2.1 Parameters Parameters allow you to enrich product data with website-specific values (e.g., product size, color). You must configure parameters in *Mapp Q3* *>* *Configuration > Custom Parameters > E-Commerce Parameters*. Values appear in *E-Commerce > E-Commerce Parameters* for type "Text" or as metrics for type "Number". For setup instructions: [How to Set Up Custom Parameters](/v1/docs/how-to-set-up-custom-parameters) ### 2.2 Categories (Product Categories) Categories group products into structured hierarchies (e.g., category, brand). Each product can only have one value per category ID. Categories must be set up under *Mapp Q3* *>* *Configuration > Categorisation > Product Categories*. Tracked categories of type "Text" appear under *E-Commerce > Product Categories*. Categories of type "Number" are available as metrics. For setup instructions: [How to Set Up Categories](/v1/docs/how-to-set-up-categories) --- --- ## 3 Implementation Example ```javascript import { WebtrekkSmartPixelReact, WebtrekkProductData } from "@webtrekk-smart-pixel/react"; ``` ```javascript import { WebtrekkSmartPixelReact, WebtrekkProductData } from "@webtrekk-smart-pixel/next"; ``` > [!NOTE] > If you do not have [automatic page tracking](/v1/docs/react-next-installation-and-integration) enabled, invoke the [track](/v1/docs/react-next-track) method after adding all relevant tracking information. #### Adds a single product ```javascript WebtrekkSmartPixelReact.product("view", {      id: "ABC-123",      cost: 99.90,      quantity: 2,      soldOut: false,      parameter: {1: "L"},      category: {1: "tops", 2: "noname"} }); ``` #### Adds a list of products ```javascript WebtrekkSmartPixelReact.products("view", [{      id: "ABC-123",      cost: 99.90,      quantity: 2,      soldOut: false,      parameter: {1: "L"},      category: {1: "tops", 2: "noname"} }]); ``` > [!NOTE] > If you do not have [automatic page tracking](/v1/docs/react-next-installation-and-integration) enabled, invoke the [track](/v1/docs/react-next-track) method after adding all relevant tracking information. ```javascript render() {     return (         
                     
    ); } ```