Skip to main content

Track a search result click

POST 

/api/v2/projects/:slug/search/click/

Register a click on a search result for analytics. Call this after the user clicks on a result returned by GET /api/v2/projects/{slug}/search/.

Include the optional query and 1-based position when they are available to attribute the click to the result list that produced it. Clients that do not provide attribution can continue to send an empty body.

Required permission: search (private projects only).

Request

Responses

Click registered successfully