---
title: "Track products created"
slug: "track-products-created"
abstract: "Overview of how to create a products created event and trigger it."
---
# Track products created

To add metrics to the [Reporting dashboard](https://doc.sitecore.com/ch/en/users/content-hub/reporting-dashboard.html) about products created, you need to create and trigger an event in the Reporting logs. After you update the settings for `PredefinedEventTypes`, whenever a product is created it is recorded in the log.

> [!note]
> There are many [events](https://doc.sitecore.com/ch/en/users/content-hub/reporting-events.html) that can be tracked and added to the Reporting dashboard (for example, the number of project tasks completed or the number of download orders created).

This walkthrough provides an example of how to track an event and describes how to:

- [Create an event to track products](https://doc.sitecore.com/ch/en/developers/cloud-dev/track-products-created.html#UUID-375e0a77-36ee-10b1-68d0-d4875bd5b220_section-idm234409291625647 "Create an event to track products").
- [Create a trigger to register the event](https://doc.sitecore.com/ch/en/developers/cloud-dev/track-products-created.html#UUID-375e0a77-36ee-10b1-68d0-d4875bd5b220_section-idm234409291886911 "Create a trigger").
- [Update the PredefinedEventTypes settings](https://doc.sitecore.com/ch/en/developers/cloud-dev/track-products-created.html#UUID-375e0a77-36ee-10b1-68d0-d4875bd5b220_section-idm23440931974232 "Update the PredefinedEventTypes settings").

## Create an event to track products

To create an event to track products:

1. On the menu bar, click **Manage** :mdiCogOutline:.
2. On the **Manage** page, click **Actions**.
3. Click **New action** and, in the **New action** dialog, define the following setting.
    - **Name** - *product.created*
    - **Label** - *Product created*
    - **Type** - *Reporting channel*
4. Click **Save**.

## Create a trigger

To create a trigger:

1. On the **Manage** page, click **Triggers**.
2. Click **New trigger** and, on the **General** tab, define the following setting.
    - **Name** - *Product creation - register audit event*
    - **Objective** - *Entity creation*
    - **Execution type** - *In background*
3. On the **Conditions** tab, click **Add definition**, and select **Product (M.PCM.Product)**.
4. On the **Actions** tab, click **Add action**, and select **Product.created**.
5. Click **Save and close**.
6. When prompted to activate the trigger, click **Activate**.

## Update the PredefinedEventTypes settings

To update the PredefinedEventTypes settings:

1. On the **Manage** page, click **Settings**.
2. On the **Settings** page, in the **Search** box, enter *PredefinedEventTypes* and select it.
3. In the **Value** field, enter *product.created*, in the **Label** field, enter *Product created*, and then click **Add**.
4. Click **Save**.