Create an event used to record user actions
POST/events
Create an event used to record user actions
| Event Name | Description | Frequency |
|---|---|---|
| WIDGET_LOAD | Triggered when the ad unit (widget) displaying Disco-powered recommendations successfully loads into the UI | Once per session |
| WIDGET_DISPLAY | Triggered when the widget is visible within the viewport (even if partially) | Once per session |
| WIDGET_VIEW | Triggered when the widget is visible within the viewport and meets IAB viewability standards (at least 50% in view for a minimum of 1 second) | Once per session |
| BRAND_DISPLAY | Triggered when a specific brand/offer is visible within the viewport (even if partially) | Once per every advertiser |
| BRAND_VIEW | Triggered when a specific brand/offer is visible within the viewport and meets IAB viewability standards (at least 50% in view for a minimum of 1 second) | Once per every advertiser |
| BRAND_CLICK | Triggered when the user clicks on a specific brand/offer | |
| PRODUCT_DISPLAY | Triggered when a specific product is visible within the viewport (even if partially) | Once per every product |
| PRODUCT_VIEW | Triggered when a specific product is visible within the viewport and meets IAB viewability standards (at least 50% in view for a minimum of 1 second) | Once per every product |
| PRODUCT_CLICK | Triggered when the user clicks on a specific product | |
| ELEMENT_CLICK | Triggered when the user clicks on a non-significant element, such as: skipping an offer button, the privacy policy link, etc. |
Request
Responses
- 201
- 400
- 401
- 403
- 500
The request was successful, and a new resource was created.
The server could not understand the request due to invalid syntax. The client should modify the request and try again.
Authentication is required to access the requested resource. The client must include the appropriate credentials.
The server understood the request, but refuses to authorize it. Ensure the client has appropriate permissions.
The server encountered an unexpected condition that prevented it from fulfilling the request. Report the issue to the support team if it persists.