
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@algolia/client-insights
Advanced tools
Documentation • InstantSearch • Community Forum • Stack Overflow • Report a bug • Support
[!TIP] This API client is already a dependency of the algoliasearch client, you don't need to manually install
@algolia/client-insightsif you already havealgoliasearchinstalled.
To get started, you first need to install @algolia/client-insights (or any other available API client package). All of our clients comes with type definition, and are available for both browser and node environments.
yarn add @algolia/client-insights@5.41.0
# or
npm install @algolia/client-insights@5.41.0
# or
pnpm add @algolia/client-insights@5.41.0
Add the following JavaScript snippet to the of your website:
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-insights@5.41.0/dist/builds/browser.umd.js"></script>
You can now import the Algolia API client in your project and play with it.
import { insightsClient } from '@algolia/client-insights';
const client = insightsClient('YOUR_APP_ID', 'YOUR_API_KEY');
For full documentation, visit the Algolia JavaScript API Client.
Encountering an issue? Before reaching out to support, we recommend heading to our FAQ where you will find answers for the most common issues and gotchas with the client. You can also open a GitHub issue
The Algolia JavaScript API Client is an open-sourced software licensed under the MIT license.
Segment is a customer data platform that collects, cleans, and controls customer data. It offers similar functionality to @algolia/client-insights in terms of tracking user interactions and sending events, but it is more comprehensive, supporting a wide range of integrations and data sources.
Mixpanel is an analytics platform that helps businesses understand how users interact with their products. Like @algolia/client-insights, it allows for event tracking, but it also provides advanced analytics and reporting features.
FAQs
JavaScript client for client-insights
The npm package @algolia/client-insights receives a total of 1,829,388 weekly downloads. As such, @algolia/client-insights popularity was classified as popular.
We found that @algolia/client-insights demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.