---
title: "Track Widget Client Event"
method: POST
path: "/public/widgets/event"
tags: ["widgets-public"]
---

# Track Widget Client Event

`POST /public/widgets/event`

## Request

- Base URL: `https://api.feedback1.ai/api/v1`
- URL: `https://api.feedback1.ai/api/v1/public/widgets/event`
- Auth: none declared

Receive lightweight widget analytics beacons (e.g. widget opened).

## Request body

- WidgetEventSubmission: Client-side widget analytics beacon (no posthog-js on customer sites).
  - `event` string, required
  - `product_pub_id` string, required
  - `widget_pub_id` string, nullable
  - `visitor_id` string, nullable
  - `properties` object, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/feedback1/apis/feedback1-public-api.md) · [All operations](https://skmtc.dev/feedback1/apis/feedback1-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/feedback1/apis/feedback1-public-api/revisions/e7626420f622?raw)
