Events Planning

Collecting user events with the Insights API is essential if you use Algolia features like Analytics, A/B testing, Dynamic Re-ranking, Algolia Recommend, and Personalization.

First, determine the events that are important for your business. Use these questions as guidance:

  • What are the most important steps in the user journey in your business?
  • What are the most important key performance indicators your business wants to optimize?
  • Which events are most indicative of a user’s affinity and engagement?

For Dynamic Re-ranking, Advanced Analytics, and A/B Testing, the Algolia engine uses only events corresponding to Algolia results to optimize the relevance. You should track events from users interacting with search results or items on category pages on:

  • Product listing pages (search, browse, or home page)
  • Promotional banners powered by Algolia

Events that aren’t related to a user performing a search or browsing a category can be used to enrich user affinity profiles for Recommend and Personalization. You should send these events from:

  • Recommendations on product pages
  • Emails, Push notifications, and newsletters
  • User preference settings
  • Product listing pages not powered by Algolia
Managing VariantsAI Synonyms