---
title: "Logs a banner image click"
method: PUT
path: "/6/{hashid}/stats/image"
tags: ["Session & Events"]
---

# Logs a banner image click

`PUT /6/{hashid}/stats/image`

Logs a "click on banner image" event in stats logs.

## Path parameters

- `hashid` string, required

## Request body

- ClickBannerRequest
  - `id` string, required — The id of the banner clicked
  - `session_id` string, required — Identifier of search session
  - `query` string — The search query that led to this

## Response `200`

OK

- StatsResponse — Response returned over register stat operation.
  - `status` string — Result of the stats request. i.e. 'registered'

## Other responses

- `400` — Bad Request — missing required fields (id, session_id) or banner id is not numeric.
- `403` — Forbidden — missing or invalid API token, client IP is blocked, or CORS `Origin` not allowed.

---

[API](https://skmtc.dev/doofinder/apis/recommendations-api.md) · [All operations](https://skmtc.dev/doofinder/apis/recommendations-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/doofinder/recommendations-api/revisions/50dc63ab0921/schema)
