> ## 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.

# gallery.upload_cta_click

> Analytics SDK payload reference for the gallery.upload_cta_click event.

Sent when a shopper clicks the upload CTA inside a gallery.

<Panel>
  <RequestExample>
    ```ts SDK input theme={"theme":{"light":"github-light","dark":"github-dark"}}
    trackEvent('gallery.upload_cta_click', {
      widgetId: 'gallery-homepage',
      widgetType: 'gallery',
      marketId: 'market_se',
      pagePositionX: 0,
      pagePositionY: 920
    })
    ```
  </RequestExample>

  <ResponseExample>
    ```json Browser event detail theme={"theme":{"light":"github-light","dark":"github-dark"}}
    {
      "widgetId": "gallery-homepage",
      "widgetType": "gallery",
      "marketId": "market_se",
      "pagePositionX": 0,
      "pagePositionY": 920
    }
    ```
  </ResponseExample>
</Panel>

The browser event is emitted as `cevoid:gallery.upload_cta_click`. The forwarded payload is available on `event.detail`.

## Payload fields

<ResponseField name="widgetId" type="string" required>
  Gallery widget instance ID.
</ResponseField>

<ResponseField name="widgetType" type="'gallery' | 'card'" required>
  Use the actual widget type, typically `gallery`.
</ResponseField>

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

<ResponseField name="pagePositionX" type="number">
  Horizontal page position.
</ResponseField>

<ResponseField name="pagePositionY" type="number">
  Vertical page position.
</ResponseField>

## Related

* [gallery.load\_more](./gallery-load-more)
* [SDK API](../api)
