---
title: "Funnel events"
slug: "funnel-events"
abstract: "List of funnel events offered by Sitecore Discover JS SDK for React to track user interaction."
---
# Funnel events

Sitecore Discover JS SDK for React offers the following funnel events that are dispatched when a user adds an item to their cart or wish list, completes an order, and so on.

<details>
<summary><h2>trackAddToCartEvent</h2></summary>

Tracks add to cart events.

> [!note]
> Dispatch this event verbosely because the SDK cannot infer when this action is happening.

| Argument | Type | Description | Value |
| --- | --- | --- | --- |
| `products` | array<[ProductEventModel](https://doc.sitecore.com/discover/en/developers/discover-js-sdk-for-react/js-sdk-reference/events/data-objects.md "Data objects")\> | Required.<br><br>List of products added. | n/a |
| `page` | string | Required.<br><br>Describe the page type. | PDP if event happened on product page.<br><br>CATEGORY if event happened on category page.<br><br>CART if event happened on cart page.<br><br>QVIEW if added from a quick view modal.<br><br>"home" if added on home page. |
| `context` | [Context](https://doc.sitecore.com/discover/en/developers/discover-js-sdk-for-react/js-sdk-reference/events/data-objects.md "Data objects") | Required.<br><br>Describes the page and context within which this event is dispatched. | n/a |

</details>

<details>
<summary><h2>trackOrderConfirmEvent</h2></summary>

Tracks details of the purchase made.

> [!note]
> Dispatch this event verbosely because the SDK cannot infer when this action is happening.

| Argument | Type | Description |
| --- | --- | --- |
| products | array<[ProductEventModel](https://doc.sitecore.com/discover/en/developers/discover-js-sdk-for-react/js-sdk-reference/events/data-objects.md "Data objects")\> | Required.<br><br>List of products to confirm. |
| user | UserEventModel | Required. |
| `checkout` | CheckoutEventModel | Required. |
| `context` |     | Required.<br><br>Describes the page and context within which this event is fired. |

</details>

<details>
<summary><h2>trackStatusCartEvent</h2></summary>

Tracks cart status.

> [!note]
> Dispatch this event verbosely because the SDK cannot infer when this action is happening.

| Argument | Type | Description |
| --- | --- | --- |
| `products` | array<[ProductEventModel](https://doc.sitecore.com/discover/en/developers/discover-js-sdk-for-react/js-sdk-reference/events/data-objects.md "Data objects")\> | Required.<br><br>List of products in cart. |
| `context` | [Context](https://doc.sitecore.com/discover/en/developers/discover-js-sdk-for-react/js-sdk-reference/events/data-objects.md "Data objects") | Required.<br><br>Describes the page and context within which this event is fired. |

</details>

<details>
<summary><h2>trackPDPViewEvent</h2></summary>

Sent when a user enters a product detail page.

> [!note]
> Dispatch this event verbosely because the SDK cannot infer when this action is happening.

| Argument | Type | Description |
| --- | --- | --- |
| `sku` | string | Required.<br><br>The stock keeping unit (SKU) of the product. |
| `fitment` | object | Fitment of SKU, if defined. |
| `context` | [Context](https://doc.sitecore.com/discover/en/developers/discover-js-sdk-for-react/js-sdk-reference/events/data-objects.md "Data objects") | Required.<br><br>Describes the page and context within which this event is fired. |

</details>

<details>
<summary><h2>trackAddToWishlistEvent</h2></summary>

Tracks add to wishlist events

> [!note]
> Dispatch this event verbosely because the SDK cannot infer when this action is happening.

| Argument | Type | Description | Value |
| --- | --- | --- | --- |
| `products` | array<[ProductEventModel](https://doc.sitecore.com/discover/en/developers/discover-js-sdk-for-react/js-sdk-reference/events/data-objects.md "Data objects")\> | Required.<br><br>List of products added. | n/a |
| `page` | string | Required.<br><br>Describe the page type. | PDP if event happened on product page.<br><br>CATEGORY if event happened on category page.<br><br>CART if event happened on cart page.<br><br>QVIEW if added from a quick view modal.<br><br>"home" if added on home page. |

</details>