Algolia

Algolia

Algolia is a hosted search and discovery API used by websites and apps to power fast, relevant search experiences. Scripts connect the browser to Algolia's API to execute search queries, display autocomplete suggestions, and render results. Data collected is limited to search queries and click events for relevance tuning — no behavioral tracking for advertising.

Overview

Algolia is a hosted search and discovery API that powers fast, relevant search experiences on websites and applications. It provides real-time search-as-you-type, autocomplete, faceted filtering, and personalized discovery with sub-10ms response times globally. Algolia is used by over 17,000 companies including Lacoste, Stripe, Twitch, Zendesk, and the BBC. It is commonly integrated into e-commerce sites for product search, documentation sites for content search, and SaaS applications for in-app navigation. Algolia's client libraries (algoliasearch, instantsearch.js) are open source and widely available.

What This Script Does

The Algolia integration typically involves loading the algoliasearch client library and an optional UI library (instantsearch.js or a framework-specific equivalent like react-instantsearch). These are commonly self-hosted by the implementing site, loaded from their own CDN, or pulled from a CDN like jsDelivr (cdn.jsdelivr.net/npm/algoliasearch/).

Core script behavior:

  • On every keystroke in a search input, the script sends a search query to Algolia's API (<app-id>-dsn.algolia.net) using the site's public Search API key
  • Algolia's servers return ranked, filtered results in JSON format within milliseconds
  • The script renders results into the UI: product cards, autocomplete dropdowns, facet filter panels

Click analytics (optional, site-configurable):

  • When Algolia's Click Analytics feature is enabled, click-through events (which result the user clicked) are sent to Algolia to improve result ranking via machine learning
  • A queryID is included in search responses and sent back with click events for attribution
  • This is the primary data collection beyond the search query itself

Cookies and storage:

  • Algolia does not set persistent tracking cookies by default in its core search functionality
  • instantsearch.js may use sessionStorage to persist the last search query and filter state for navigation (back-button) experience — this is session-scoped and cleared when the tab closes
  • If Algolia Personalization is enabled, a persistent user token may be stored to power individualized result ranking

No advertising use: Algolia explicitly does not use search query data for advertising, cross-site tracking, or third-party data sharing. Query logs are used solely to improve search relevance within the implementing site's index.

Consent & Compliance

Consent category: Functional

Algolia provides core site functionality — search. The data collected (search queries, result clicks) is used to improve the search service the user is actively requesting. Under GDPR, processing search queries to deliver search results is covered by legitimate interest or contractual necessity; the user typed a query and expects results. Algolia's Click Analytics improve the service the user is using, not advertising. Under ePrivacy, standard Algolia search does not set consent-relevant cookies; sessionStorage use for navigation state is not subject to cookie consent rules.

If Algolia Personalization is enabled, a persistent user token would require consent evaluation as it creates a behavioral profile.

Algolia is headquartered in Paris and New York; it participates in the EU-US Data Privacy Framework for transatlantic data transfers.

Should You Block This Without Consent?

No. Algolia provides functional search capabilities. It collects only search-related data to improve the service, sets no persistent tracking cookies in default configuration, and does not use data for advertising. It can be loaded without consent as a functional script. The exception is if Algolia Personalization is specifically enabled, which introduces persistent profiling requiring consent.

Is Algolia GDPR compliant?

Algolia typically loads functional trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So Algolia can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads Algolia, not on Algolia itself.

Visit website

Consent Categories

Also Known As

Algolia searchsite search APIInstantSearch.jsautocomplete widgetAlgolia cookies

Industries

Programming and Developer SoftwareComputers Electronics and Technology

Tracked Domains (2)

dsn.algolia.netFunctional

dsn.algolia.net is a functional domain operated by Algolia, used to run site features like chat, video, embeds, and preferences.

insights.algolia.ioFunctional

insights.algolia.io is a functional domain operated by Algolia, used to run site features like chat, video, embeds, and preferences.

Frequently Asked Questions

Related Vendors

n8n
n8n
n8n is an open-source workflow automation platform with a visual editor for building service integrations. It operates primarily as a backend tool and has no direct script presence in end-user browsers on third-party websites.
ShipStation
ShipStation
ShipStation is an e-commerce shipping and order fulfillment management platform. It operates primarily as a backend service; order tracking page embeds may appear on retailer websites, allowing customers to look up shipment status using their order details.
Live Nation
Live Nation
Live Nation is a global live entertainment company and concert promoter that operates alongside Ticketmaster. Scripts on Live Nation properties and partner sites load event listing widgets, ticketing integrations, and media players for concert and festival content. Session and purchase tracking supports event attribution reporting.
Udacity
Udacity
Udacity is an online technology education platform offering nanodegree programs. Course preview and enrollment widgets may appear on partner sites, allowing visitors to explore program content and begin enrollment. Scripts may track affiliate referral activity.
Lokalise
Lokalise
Lokalise is a translation management and localization platform. Scripts enable live website translation and in-page language switchers on web properties, dynamically replacing text content to serve visitors in their preferred language without requiring a full page reload.
Skillshare
Skillshare
Skillshare is an online learning platform focused on creative skills. Course preview and enrollment widgets may be embedded on partner and affiliate sites, enabling visitors to preview course content and initiate sign-ups. Scripts may track referral activity.

Manage consent for Algolia

ConsentStack automatically detects and manages Algolia trackers so your site stays compliant with global privacy regulations.