> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cevoid.com/llms.txt
> Use this file to discover all available pages before exploring further.

# post.view.popup

> Analytics SDK payload reference for the post.view.popup event.

Sent when a post is viewed in the popup experience.

<Panel>
  <RequestExample>
    ```ts SDK input theme={"theme":{"light":"github-light","dark":"github-dark"}}
    trackEvent('post.view.popup', {
      widgetId: 'gallery-homepage',
      widgetType: 'gallery',
      postId: 'post_123',
      marketId: 'market_se',
      postPosition: 1,
      taggedProductIds: ['prod_1', 'prod_2']
    })
    ```
  </RequestExample>

  <ResponseExample>
    ```json Browser event detail theme={"theme":{"light":"github-light","dark":"github-dark"}}
    {
      "widgetId": "gallery-homepage",
      "widgetType": "gallery",
      "postId": "post_123",
      "marketId": "market_se",
      "postPosition": 1,
      "taggedProductIds": ["prod_1", "prod_2"]
    }
    ```
  </ResponseExample>
</Panel>

The browser event is emitted as `cevoid:post.view.popup`. The forwarded payload is available on `event.detail`.

## Payload fields

<ResponseField name="widgetId" type="string" required>
  Widget instance ID that showed the post.
</ResponseField>

<ResponseField name="widgetType" type="'gallery' | 'card'" required>
  The rendered widget type.
</ResponseField>

<ResponseField name="postId" type="string" required>
  Cevoid post ID.
</ResponseField>

<ResponseField name="marketId" type="string">
  Market identifier for localized storefronts.
</ResponseField>

<ResponseField name="postPosition" type="number">
  Position of the post in the widget.
</ResponseField>

<ResponseField name="taggedProductIds" type="string[]">
  Product IDs associated with the post.
</ResponseField>

## Related

* [post.view](./post-view)
* [post.click](./post-click)
