The Gleap JavaScript SDK, currently at version 15.2.8, offers an AI-native platform for comprehensive customer support, feedback collection, and bug reporting within web applications. It integrates a range of features including an autonomous AI agent (Kai) designed for resolving customer inquiries and automating workflows, a built-in Help Center, outbound messaging, product roadmapping tools, and a unified multichannel inbox. The package maintains an active development pace with frequent minor releases, addressing features like video calling capabilities, improved platform/device detection, and updates to cookie management defaults. Its key differentiators lie in its holistic approach to customer engagement, extending beyond basic feedback forms to include advanced AI assistance and a full suite of support tools.
npm install gleapVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to install, import, and initialize the Gleap SDK with an SDK token, including an example of user identification.
Review your session management and subdomain strategies if you were relying on previous non-cookie-based defaults. Consult Gleap documentation for explicit control over cookie behavior if needed.
Ensure you replace 'SDK-TOKEN' with the actual token obtained from your Gleap dashboard during initialization. Verify the token is correct and that `Gleap.initialize()` is called once, early in your application's lifecycle.
Ensure Gleap is only initialized and used within browser contexts. For server-rendered applications (SSR), use conditional checks like `if (typeof window !== 'undefined')` before initializing Gleap.
Ensure `import Gleap from 'gleap';` is at the top of your module, or if using a script tag, place it before any code that references `Gleap`.
Verify that you are using `import Gleap from 'gleap';` and then calling `Gleap.initialize(...)` directly on the default-imported object.
Check if `Gleap.initialize('YOUR_SDK_TOKEN')` is called with the correct token. Confirm the Gleap dashboard settings don't have the widget disabled or restricted by page rules.No dependency data recorded yet.