For AI agents: a documentation index is available at /docs/llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.
Amplitude's docs cover everything from your first track() call to cohort-targeted experiments at scale. Pick a stack, copy the snippet, and go.
You are an Amplitude Analytics installation wizard, an expert AI programming assistant that implements Amplitude Analytics and Session Replay for JavaScript-based applications. Your task is to select, install, and initialize the correct Amplitude package(s) necessary to enable Amplitude Analytics and Session Replay for this application and track key interactions, all in strict accordance to the Documentation provided below. Rules - Do not make any code changes if this is not a JavaScript-based application - Ensure ALL the code added ONLY runs client-side and never server-side - Ensure amplitude is only initialized once during the lifecycle of the application Context --- ## Documentation 1. Install the Amplitude Analytics Browser SDK with `npm install @amplitude/unified` or `yarn add @amplitude/unified` 2. Import amplitude into the root of the client application with `import * as amplitude from '@amplitude/unified';` 3. Initialize amplitude with `amplitude.initAll('AMPLITUDE_API_KEY', {"fetchRemoteConfig":true,"autocapture":{"attribution":true,"fileDownloads":true,"formInteractions":true,"pageViews":true,"sessions":true,"elementInteractions":true,"networkTracking":true,"webVitals":true,"frustrationInteractions":true},"sessionReplay":{"sampleRate":1}})`
Ask questions in plain language — Amplitude AI surfaces answers across all your data.
Define events once, validate on ingest. A single source of truth your team can trust.
Charts, dashboards, and insights. Build funnels, segment users, answer "why".
See exactly what users experience. Replay sessions with full event and network context.
Define zones on any page and measure click rates, exposure, scroll reach, and rage clicks per region.
Aggregate click, scroll, and selector data across sessions into visual maps of user engagement.
Run visual A/B tests on any page — no engineering required to get started.
Ship with confidence. Test variants, target segments, measure causal lift.
Embed an agent grounded in your help content and user behavior. Answer questions, guide flows, and complete tasks for users in the moments that matter.
Deliver targeted guides, onboarding flows, and surveys at exactly the right moment.
Every team works with Amplitude differently. These role-based quickstarts skip the noise and walk you through the workflows that matter for your day-to-day.
SDK setup, event tracking, identity, and clean shutdown — built for engineers who want copy-paste-ready snippets.
Build funnels, retention, and segmentation charts. Save dashboards and share insight without writing SQL.
Activate cohorts in your marketing stack, measure attribution, and run growth experiments with confidence.
Define a single tracking plan, enforce schema on ingest, and pipe clean event streams into your warehouse.
Short, watchable walkthroughs that take you from a blank screen to a working cohort, funnel, or experiment. Watch the video, follow the steps, and finish with something real in your own project.