Build a widget click event using the Event Builder
You can use the Event Builder to build and validate a variety of events, including funnel events, user login events, and widget events, such as widget click, and widget appear.
For information on building an add to cart event, refer to build an add to cart event.
To use the Event Builder to build a widget product click event:
-
Under API, select either rfk.push or REST API, depending on how you have integrated your experience.
-
Under EVENT, select Widget.
-
Under PAGE, in the drop-down menu, click the page you want to test.
-
Under WIDGET, select the widget you want to test.
-
Under CHOOSE EVENT TO TRACK, in the drop-down menu, click Track Product Click.
-
Optional: Under any of the CONTEXT headings, fill out context values such as
geo,user, and so on.ImportantIf your experience is integrated using the REST API,
geoandbrowsercontextual data is required. -
Click Build.