algolia-webhooks-events
Installation
SKILL.md
Algolia Events & Insights
Overview
Algolia doesn't use traditional webhooks. Instead, it provides the Insights API for sending user behavior events (clicks, conversions, views) back to Algolia, and the Analytics API for reading search performance data. For keeping your index in sync, you build event-driven pipelines from your database to Algolia.
Prerequisites
algoliasearchv5 installed (Insights client is included)- Index with records and
queryIDenabled (for click analytics) search-insightsnpm package for frontend event tracking
Instructions
Step 1: Enable Click Analytics in Search
import { algoliasearch } from 'algoliasearch';