Fire-and-forget telemetry for the embeddable store locator widget. Designed for navigator.sendBeacon() and background fetch() calls — no auth, no rate limit, always returns 204 No Content. The body is structured-logged server-side (event type, cpk_* key prefix, referrer, query, and clicked location’s short_id) but is not persisted to the database. Use this for usage funnels (load -> search -> click), not for billable events.
Documentation Index
Fetch the complete documentation index at: https://docs.closient.com/llms.txt
Use this file to discover all available pages before exploring further.
Funnel stage of the widget interaction. See WidgetEventType for the allowed values.
widget_load, location_search, view_store_click, get_directions_click "widget_load"
Publishable API key (cpk_*) that triggered the event. Only the first 12 characters are logged so we can attribute traffic to an org without storing the full key.
Page where the widget was embedded, taken from document.referrer. Truncated to 512 characters in logs.
Free-text search query the user typed. Set on location_search events only; ignored otherwise. Truncated to 256 characters in logs.
short_id of the location the user clicked through to. Set on view_store_click and get_directions_click events only.
No Content