---
title: "Build a widget click event using the Event Builder"
slug: "build-a-widget-click-event-using-the-event-builder"
abstract: "Explains how to build a widget click event object using the Event Builder developer tool in the Customer Engagement Console."
---
# Build a widget click event using the Event Builder

You can use the Event Builder to build and validate [a variety of events](https://doc.sitecore.com/discover/en/developers/discover-developer-guide/the-customer-engagement-console/using-the-event-builder/event-specifications.md "Event specifications"), including funnel events, user login events, and widget events, such as `widget click`, and `widget appear`.

> [!note]
> For information on building an `add to cart` event, refer to [build an add to cart event](https://doc.sitecore.com/discover/en/developers/discover-developer-guide/the-customer-engagement-console/using-the-event-builder/build-an-add-to-cart-event-using-the-event-builder.html "Build an add to cart event using the Event Builder").

To use the Event Builder to build a widget product click event:

1. Under **API**, select either **rfk.push** or **REST API**, depending on how you have integrated your experience.
2. Under **EVENT**, select **Widget**.
3. Under **PAGE**, in the drop-down menu, click the page you want to test.
4. Under **WIDGET**, select the widget you want to test.
5. Under **CHOOSE EVENT TO TRACK**, in the drop-down menu, click **Track Product Click**.
6. Optional: Under any of the **CONTEXT** headings, fill out context values such as `geo`, `user`, and so on.

    > [!important]
    > If your experience is integrated using the REST API, `geo` and `browser` contextual data is required.

7. Click **Build**.