Event: Click
The Click Event tracks unique clicks on user interface elements powered by Particular Audience, such as product display slots, call-to-action buttons, and sort/filters in search.
This event categorizes actions through ActionType (type of interaction) and ContextType (type of widget being interacted with).
Click events are crucial for tracking interactions related to Retailer Boost Collections and Supplier Funded Retail Media Campaigns, essential for Analytics in Discovery OS.
API Endpoint
Method: POST
URL: https://<PA_END_POINT>/3.0/events/clicks
Request Header
| Name | Value |
|---|---|
Content-Type | application/json |
Authorization | Bearer ACCESS_TOKEN |
Request Parameters (Body)
| Parameter | Type | Required | Description |
|---|---|---|---|
customerId | GUID | ✅ | Unique identifier for the customer, obtained from the Config API. This identifier persists throughout the customer's lifetime on the platform. For details on retrieving a customer ID, please refer to the Config API documentation. |
sessionId | GUID | ✅ | Unique identifier for the session, consistent throughout the session's duration. For information on obtaining a session ID, please refer to the Config API documentation. |
events | Array of objects | ✅ | Array of objects detailing Click events. Each Click event object will contain the following properties: |
Event Object Definition
| Parameter | Type | Required | Description |
|---|---|---|---|
currentUrl | string | ✅ | URL where the click occurred. |
clickId | GUID | ✅ | Unique identifier for the click event. This needs to be generated on the client side. |
eventTime | dateTime | ✅ | UTC timestamp of when the click happened. |
widgetId | GUID |