# Amplitude Build tutorials > Implementation tutorials for adding Amplitude to applications, websites, and AI agents. Browse by product; each entry names the stack or coding tool and links to HTML and Markdown. ## Start here - [Build library](https://amplitude.com/build) ([Markdown](https://amplitude.com/build.md)): Browse all tutorials on the website. - [Install Amplitude](https://amplitude.com/install.md): Start the maintained agent setup workflow for your application. - [Preferred browser SDK](https://amplitude.com/docs/sdks/analytics/browser/browser-unified-sdk/get-started) ([Markdown](https://amplitude.com/docs/sdks/analytics/browser/browser-unified-sdk/get-started.md)): Use `@amplitude/unified` for supported new browser apps with a bundler; follow the platform guide for other environments. ## Product analytics - [Android Product Analytics](https://amplitude.com/build/android-product-analytics) ([Markdown](https://amplitude.com/build/android-product-analytics.md)): Track Android report opens and date-range changes with Amplitude's Kotlin SDK. Initialize once in Application and connect your verified sign-in flow. - [Angular Product Analytics](https://amplitude.com/build/angular-product-analytics) ([Markdown](https://amplitude.com/build/angular-product-analytics.md)): Add Amplitude to an Angular app from main.ts, track page views on router navigation, identify signed-in users with signals, and confirm events land. - [Astro Product Analytics](https://amplitude.com/build/astro-product-analytics) ([Markdown](https://amplitude.com/build/astro-product-analytics.md)): Add Amplitude to an Astro site from one client module, capture page views with or without the ClientRouter, identify signed-in users, and track events. - [Claude Code Analytics](https://amplitude.com/build/claude-code-product-analytics) ([Markdown](https://amplitude.com/build/claude-code-product-analytics.md)): Connect Claude Code to Amplitude's MCP servers and plugin, have it install the right SDK, review the diff, and save the rules in CLAUDE.md. - [Codex CLI Analytics](https://amplitude.com/build/codex-cli-analytics) ([Markdown](https://amplitude.com/build/codex-cli-analytics.md)): Connect Codex CLI to Amplitude's MCP servers, have it install the right SDK, review what it changed, and save the rules in AGENTS.md. - [Devin Desktop Analytics](https://amplitude.com/build/devin-desktop-product-analytics) ([Markdown](https://amplitude.com/build/devin-desktop-product-analytics.md)): Connect Devin Desktop (formerly Windsurf) to Amplitude's MCP servers, have its agent install the SDK, review the diff, and save rules in .devin/rules. - [Django Product Analytics](https://amplitude.com/build/django-product-analytics) ([Markdown](https://amplitude.com/build/django-product-analytics.md)): Track backend events in Django with Amplitude. Keep user identity per request, forward anonymous device IDs, and flush before shutdown. - [FastAPI Product Analytics](https://amplitude.com/build/fastapi-product-analytics) ([Markdown](https://amplitude.com/build/fastapi-product-analytics.md)): Track backend events in FastAPI with Amplitude. Keep user identity per request, forward anonymous device IDs, and flush before shutdown. - [Flutter Product Analytics](https://amplitude.com/build/flutter-product-analytics) ([Markdown](https://amplitude.com/build/flutter-product-analytics.md)): Track Flutter screens and report previews with Amplitude. Initialize once, connect signed-in identity, and reset analytics when users sign out. - [Framer Product Analytics](https://amplitude.com/build/framer-product-analytics) ([Markdown](https://amplitude.com/build/framer-product-analytics.md)): Install Amplitude and track pricing CTA clicks on a Framer site. - [Gemini CLI Analytics](https://amplitude.com/build/gemini-cli-product-analytics) ([Markdown](https://amplitude.com/build/gemini-cli-product-analytics.md)): Connect Gemini CLI to Amplitude's MCP servers over Streamable HTTP, have it install the right SDK, review its changes, and save the rules in GEMINI.md. - [Go Product Analytics](https://amplitude.com/build/go-product-analytics) ([Markdown](https://amplitude.com/build/go-product-analytics.md)): Track report previews in Go with Amplitude. Keep identity per request, forward anonymous device IDs, and drain handlers before SDK shutdown. - [iOS Product Analytics](https://amplitude.com/build/ios-product-analytics) ([Markdown](https://amplitude.com/build/ios-product-analytics.md)): Track SwiftUI report opens and date-range changes with Amplitude. Initialize one shared client and connect your existing sign-in flow. - [Java Product Analytics](https://amplitude.com/build/java-product-analytics) ([Markdown](https://amplitude.com/build/java-product-analytics.md)): Track report previews in Spring Boot with Amplitude. Keep identity per request and wait for delivery callbacks after graceful HTTP shutdown. - [Kiro Analytics](https://amplitude.com/build/kiro-product-analytics) ([Markdown](https://amplitude.com/build/kiro-product-analytics.md)): Connect Kiro to Amplitude's MCP servers, have it install the right SDK in Supervised mode, review the diff, and save the rules in a steering file. - [Lovable Analytics](https://amplitude.com/build/lovable-product-analytics) ([Markdown](https://amplitude.com/build/lovable-product-analytics.md)): Connect Lovable to Amplitude, put your API key in .env, have Lovable install the SDK, review its changes, and save the rules as project knowledge. - [Next.js Product Analytics](https://amplitude.com/build/nextjs-product-analytics) ([Markdown](https://amplitude.com/build/nextjs-product-analytics.md)): Install Amplitude in the Next.js App Router, identify signed-in users, track a custom event from the browser and a conversion from a server action. - [Node.js Product Analytics](https://amplitude.com/build/nodejs-product-analytics) ([Markdown](https://amplitude.com/build/nodejs-product-analytics.md)): Install the Amplitude Node.js SDK in an Express backend, attach user IDs to server events, flush on shutdown, and confirm events land. - [Nuxt Product Analytics](https://amplitude.com/build/nuxt-product-analytics) ([Markdown](https://amplitude.com/build/nuxt-product-analytics.md)): Install Amplitude in a Nuxt app through a client-only plugin, capture page views on every navigation, identify signed-in users, and confirm events land. - [React Native Product Analytics](https://amplitude.com/build/react-native-product-analytics) ([Markdown](https://amplitude.com/build/react-native-product-analytics.md)): Track report opens and date-range changes in React Native with Amplitude. Preserve anonymous identity and connect verified accounts after sign-in. - [React Product Analytics](https://amplitude.com/build/react-product-analytics) ([Markdown](https://amplitude.com/build/react-product-analytics.md)): Install Amplitude in a Vite and React Router app, capture page views on client-side navigation, identify signed-in users, and confirm events land. - [React Router Product Analytics](https://amplitude.com/build/react-router-product-analytics) ([Markdown](https://amplitude.com/build/react-router-product-analytics.md)): Add Amplitude to a React Router (formerly Remix) app from the client entry, capture page views, identify signed-in users, and confirm events land. - [Replit Analytics](https://amplitude.com/build/replit-product-analytics) ([Markdown](https://amplitude.com/build/replit-product-analytics.md)): Connect Replit Agent to Amplitude, give your API key a VITE_ name, have Agent install the SDK, review its changes, and save the rules in replit.md. - [Shopify Product Analytics](https://amplitude.com/build/shopify-product-analytics) ([Markdown](https://amplitude.com/build/shopify-product-analytics.md)): Track a Shopify offer click alongside app-provided product and cart events. Keep clicks separate from confirmed commerce outcomes. - [SvelteKit Product Analytics](https://amplitude.com/build/sveltekit-product-analytics) ([Markdown](https://amplitude.com/build/sveltekit-product-analytics.md)): Install Amplitude in a SvelteKit app from the client init hook, capture page views on every navigation, identify signed-in users, and confirm events land. - [v0 Analytics](https://amplitude.com/build/v0-product-analytics) ([Markdown](https://amplitude.com/build/v0-product-analytics.md)): Connect v0 to Amplitude's MCP servers, add your API key as a NEXT_PUBLIC_ variable, have v0 install the SDK, review the diff, and save the rules. - [Vue Product Analytics](https://amplitude.com/build/vue-product-analytics) ([Markdown](https://amplitude.com/build/vue-product-analytics.md)): Install Amplitude in a Vue and Vite app, capture page views on every Vue Router navigation, identify signed-in users, and confirm events land. - [Webflow Product Analytics](https://amplitude.com/build/webflow-product-analytics) ([Markdown](https://amplitude.com/build/webflow-product-analytics.md)): Track Webflow CTA clicks and confirmed native form submissions in Amplitude. Add stable attributes and verify conversion counts. - [WordPress Product Analytics](https://amplitude.com/build/wordpress-product-analytics) ([Markdown](https://amplitude.com/build/wordpress-product-analytics.md)): Track a WordPress pricing CTA and a form accepted by the server. Verify a saved acceptance record before counting the conversion. ## Session replay - [Android Session Replay](https://amplitude.com/build/android-session-replay) ([Markdown](https://amplitude.com/build/android-session-replay.md)): Add Android session replay with explicit consent, conservative masking, and checks using synthetic recordings before capturing real data. - [Angular Session Replay](https://amplitude.com/build/angular-session-replay) ([Markdown](https://amplitude.com/build/angular-session-replay.md)): Record sessions in an Angular app with Amplitude, set a sample rate per environment, mask components and whole routes, and confirm a replay lands. - [Astro Session Replay](https://amplitude.com/build/astro-session-replay) ([Markdown](https://amplitude.com/build/astro-session-replay.md)): Record sessions on an Astro site with Amplitude, sample per environment, mask components and whole sections, and confirm a replay lands. - [Claude Code Session Replay](https://amplitude.com/build/claude-code-session-replay) ([Markdown](https://amplitude.com/build/claude-code-session-replay.md)): Use Claude Code to record a synthetic report export and check that private text is masked and an excluded panel's contents are absent from the replay. - [Codex CLI Session Replay](https://amplitude.com/build/codex-cli-session-replay) ([Markdown](https://amplitude.com/build/codex-cli-session-replay.md)): Use Codex CLI to record a synthetic report export and check that private text is masked and an excluded panel's contents are absent from the replay. - [Cursor Session Replay](https://amplitude.com/build/cursor-session-replay) ([Markdown](https://amplitude.com/build/cursor-session-replay.md)): Use Cursor to record a synthetic report export and check that private text is masked and an excluded panel's contents are absent from the replay. - [Devin Desktop Session Replay](https://amplitude.com/build/devin-desktop-session-replay) ([Markdown](https://amplitude.com/build/devin-desktop-session-replay.md)): Add Amplitude session replay to an app you build with Devin Desktop. Use a small demo to record interactions and check what the replay captures. - [Flutter Session Replay](https://amplitude.com/build/flutter-session-replay) ([Markdown](https://amplitude.com/build/flutter-session-replay.md)): Record a Flutter report screen with Amplitude session replay, synchronize analytics identity, and block sensitive content. - [Framer Session Replay](https://amplitude.com/build/framer-session-replay) ([Markdown](https://amplitude.com/build/framer-session-replay.md)): Add Amplitude session replay to a Framer site and keep form fields masked. - [Gemini CLI Session Replay](https://amplitude.com/build/gemini-cli-session-replay) ([Markdown](https://amplitude.com/build/gemini-cli-session-replay.md)): Add session replay with Gemini CLI, review privacy controls, and verify a synthetic report export in a processed recording. - [iOS Session Replay](https://amplitude.com/build/ios-session-replay) ([Markdown](https://amplitude.com/build/ios-session-replay.md)): Add consent-controlled session replay to a SwiftUI report screen. Configure masking, keep one shared client, and verify a test recording. - [Kiro Session Replay](https://amplitude.com/build/kiro-session-replay) ([Markdown](https://amplitude.com/build/kiro-session-replay.md)): Add session replay with Kiro, review privacy controls, and verify a synthetic report export in a processed recording. - [Next.js Session Replay](https://amplitude.com/build/nextjs-session-replay) ([Markdown](https://amplitude.com/build/nextjs-session-replay.md)): Record Next.js App Router sessions with Amplitude session replay: client-only init, a sane sample rate, masking that survives hashed class names, and CSP. - [React Native Session Replay](https://amplitude.com/build/react-native-session-replay) ([Markdown](https://amplitude.com/build/react-native-session-replay.md)): Add session replay to React Native with explicit recording controls, masked native views, and processed recording checks. - [React Router Session Replay](https://amplitude.com/build/react-router-session-replay) ([Markdown](https://amplitude.com/build/react-router-session-replay.md)): Record sessions in a React Router (formerly Remix) app with Amplitude, sample per environment, mask components and routes, and confirm a replay lands. - [React Session Replay](https://amplitude.com/build/react-session-replay) ([Markdown](https://amplitude.com/build/react-session-replay.md)): Record sessions in a Vite and React Router app with Amplitude, sample per environment, mask components and routes, and confirm a replay lands. - [Shopify Session Replay](https://amplitude.com/build/shopify-session-replay) ([Markdown](https://amplitude.com/build/shopify-session-replay.md)): Configure Shopify replay sampling and masking through the app-connected project. Verify a synthetic storefront recording before production capture. - [SvelteKit Session Replay](https://amplitude.com/build/sveltekit-session-replay) ([Markdown](https://amplitude.com/build/sveltekit-session-replay.md)): Record sessions in a SvelteKit app with Amplitude, set a sample rate per environment, mask components and whole routes, and confirm a replay lands. - [Vue Session Replay](https://amplitude.com/build/vue-session-replay) ([Markdown](https://amplitude.com/build/vue-session-replay.md)): Record sessions in a Vue and Vite app with Amplitude, set a sample rate per environment, mask components and whole routes, and confirm a replay lands. - [Webflow Session Replay](https://amplitude.com/build/webflow-session-replay) ([Markdown](https://amplitude.com/build/webflow-session-replay.md)): Add session replay to Webflow. Configure masking, capture a synthetic session, and verify playback against analytics activity. - [WordPress Session Replay](https://amplitude.com/build/wordpress-session-replay) ([Markdown](https://amplitude.com/build/wordpress-session-replay.md)): Configure replay masking in the WordPress plugin. Record a synthetic visit and verify its content and analytics association. ## Feature flags and local evaluation - [Android Feature Flags](https://amplitude.com/build/android-feature-flags) ([Markdown](https://amplitude.com/build/android-feature-flags.md)): Fetch Android report-layout flags with the Unified SDK, render a control fallback, and track exposure after a recognized assignment appears. - [Angular Feature Flags](https://amplitude.com/build/angular-feature-flags) ([Markdown](https://amplitude.com/build/angular-feature-flags.md)): Read Amplitude feature flags from a signal-based Angular service, send exposures only when a variant renders, and render variants with Angular SSR. - [Astro Feature Flags](https://amplitude.com/build/astro-feature-flags) ([Markdown](https://amplitude.com/build/astro-feature-flags.md)): Fetch Amplitude feature flags in Astro's browser code, evaluate them in middleware for pages rendered on demand, and track exposures once. - [Claude Code Feature Flags](https://amplitude.com/build/claude-code-feature-flags) ([Markdown](https://amplitude.com/build/claude-code-feature-flags.md)): Use Claude Code to fetch a report-layout flag, render its assigned layout, and track an exposure only after the assigned report appears. - [Codex CLI Feature Flags](https://amplitude.com/build/codex-cli-feature-flags) ([Markdown](https://amplitude.com/build/codex-cli-feature-flags.md)): Use Codex CLI to fetch a report-layout flag, render its assigned layout, and track an exposure only after the assigned report appears. - [Cursor Feature Flags](https://amplitude.com/build/cursor-feature-flags) ([Markdown](https://amplitude.com/build/cursor-feature-flags.md)): Use Cursor to fetch a report-layout flag, render its assigned layout, and track an exposure only after the assigned report appears. - [Devin Desktop Feature Flags](https://amplitude.com/build/devin-desktop-feature-flags) ([Markdown](https://amplitude.com/build/devin-desktop-feature-flags.md)): Add Amplitude feature flags and experiments to an app you build with Devin Desktop. Use a small demo to test two layouts and measure an action after exposure. - [Django Feature Flags](https://amplitude.com/build/django-feature-flags) ([Markdown](https://amplitude.com/build/django-feature-flags.md)): Evaluate feature flags in Django, serve report variants, request exposure tracking, and measure exports with Amplitude. - [FastAPI Feature Flags](https://amplitude.com/build/fastapi-feature-flags) ([Markdown](https://amplitude.com/build/fastapi-feature-flags.md)): Evaluate feature flags in FastAPI, serve report variants, request exposure tracking, and measure exports with Amplitude. - [Flutter Feature Flags](https://amplitude.com/build/flutter-feature-flags) ([Markdown](https://amplitude.com/build/flutter-feature-flags.md)): Show Flutter report variants with Amplitude, keep flags aligned with signed-in identity, and measure saves after exposure. - [Gemini CLI Feature Flags](https://amplitude.com/build/gemini-cli-feature-flags) ([Markdown](https://amplitude.com/build/gemini-cli-feature-flags.md)): Use Gemini CLI to add report-layout feature flags, verify fallback behavior, and track exposure after rendering the assigned layout. - [Go Feature Flags](https://amplitude.com/build/go-feature-flags) ([Markdown](https://amplitude.com/build/go-feature-flags.md)): Evaluate a report feature flag in Go, request exposure at use, and track report exports as the conversion with Amplitude. - [iOS Feature Flags](https://amplitude.com/build/ios-feature-flags) ([Markdown](https://amplitude.com/build/ios-feature-flags.md)): Fetch SwiftUI report-layout flags, keep a compact fallback, and track displayed assignments and report exports with one shared Amplitude client. - [Java Feature Flags](https://amplitude.com/build/java-feature-flags) ([Markdown](https://amplitude.com/build/java-feature-flags.md)): Evaluate a report flag in Spring Boot with Amplitude. Track the chosen variant at use, preserve per-request identity, and measure report exports. - [Kiro Feature Flags](https://amplitude.com/build/kiro-feature-flags) ([Markdown](https://amplitude.com/build/kiro-feature-flags.md)): Use Kiro to add report-layout feature flags, verify fallback behavior, and track exposure after rendering the assigned layout. - [Next.js Feature Flags](https://amplitude.com/build/nextjs-feature-flags) ([Markdown](https://amplitude.com/build/nextjs-feature-flags.md)): Create a deployment and flag, read the variant in a Next.js App Router client component, and track exposures that tie to the right user. - [Next.js Flags with SSR](https://amplitude.com/build/nextjs-feature-flags-ssr) ([Markdown](https://amplitude.com/build/nextjs-feature-flags-ssr.md)): Evaluate Amplitude feature flags on the server in Next.js and render the right variant in the first HTML, in Server or client components. - [Node.js Feature Flags](https://amplitude.com/build/nodejs-feature-flags) ([Markdown](https://amplitude.com/build/nodejs-feature-flags.md)): Create a server-side flag with a JSON payload, read it in an Express route with tight timeouts, track exposures, and fall back safely when a fetch fails. - [Node.js Local Evaluation](https://amplitude.com/build/nodejs-local-evaluation) ([Markdown](https://amplitude.com/build/nodejs-local-evaluation.md)): Evaluate Amplitude feature flags inside your Node.js process with no network call per request, keep rules fresh with streaming, and track exposures. - [Nuxt Feature Flags](https://amplitude.com/build/nuxt-feature-flags) ([Markdown](https://amplitude.com/build/nuxt-feature-flags.md)): Evaluate Amplitude feature flags on the Nuxt server, match the browser's device ID, render the variant in the first HTML, and track exposures. - [React Feature Flags](https://amplitude.com/build/react-feature-flags) ([Markdown](https://amplitude.com/build/react-feature-flags.md)): Create a flag with a JSON payload, read it in a Vite and React Router app, tie exposures to signed-in users, and keep anonymous visitors in one bucket. - [React Native Feature Flags](https://amplitude.com/build/react-native-feature-flags) ([Markdown](https://amplitude.com/build/react-native-feature-flags.md)): Add React Native feature flags and experiments with a safe baseline, explicit exposure after rendering, and a report export metric. - [React Router Feature Flags](https://amplitude.com/build/react-router-feature-flags) ([Markdown](https://amplitude.com/build/react-router-feature-flags.md)): Evaluate Amplitude feature flags in a React Router (formerly Remix) loader, match device IDs, track exposures, and fetch browser flags after sign-in. - [SvelteKit Feature Flags](https://amplitude.com/build/sveltekit-feature-flags) ([Markdown](https://amplitude.com/build/sveltekit-feature-flags.md)): Evaluate Amplitude feature flags in a SvelteKit server load, match the browser's device ID, track exposures, and fetch browser flags after sign-in. - [v0 Feature Flags](https://amplitude.com/build/v0-feature-flags) ([Markdown](https://amplitude.com/build/v0-feature-flags.md)): Use v0 to add report-layout feature flags, verify fallback behavior, and track exposure after rendering the assigned layout. - [Vue Feature Flags](https://amplitude.com/build/vue-feature-flags) ([Markdown](https://amplitude.com/build/vue-feature-flags.md)): Create a flag with a JSON payload, read it through a Vue composable, tie exposures to signed-in users, and keep anonymous visitors in one bucket. ## Guides and surveys - [Android Guides & Surveys](https://amplitude.com/build/android-guides-surveys) ([Markdown](https://amplitude.com/build/android-guides-surveys.md)): Add Android guides and surveys with the analytics plugin, screen targeting, tagged views, and preview links for cold and running launches. - [Angular Guides & Surveys](https://amplitude.com/build/angular-guides-surveys) ([Markdown](https://amplitude.com/build/angular-guides-surveys.md)): Show Amplitude guides and surveys in an Angular app: init from main.ts, guide links through Angular Router, stable pin targets, and a survey button. - [Astro Guides & Surveys](https://amplitude.com/build/astro-guides-surveys) ([Markdown](https://amplitude.com/build/astro-guides-surveys.md)): Show Amplitude guides and surveys on an Astro site: guide links through the ClientRouter, guide UI kept across swaps, stable pins, a survey button. - [Claude Code Guides & Surveys](https://amplitude.com/build/claude-code-guides-surveys) ([Markdown](https://amplitude.com/build/claude-code-guides-surveys.md)): Use Claude Code to anchor a guide to the report export button, trigger a rating survey after an export, and check the saved response. - [Codex CLI Guides & Surveys](https://amplitude.com/build/codex-cli-guides-surveys) ([Markdown](https://amplitude.com/build/codex-cli-guides-surveys.md)): Use Codex CLI to anchor a guide to the report export button, trigger a rating survey after an export, and check the saved response. - [Cursor Guides & Surveys](https://amplitude.com/build/cursor-guides-surveys) ([Markdown](https://amplitude.com/build/cursor-guides-surveys.md)): Use Cursor to anchor a guide to the report export button, trigger a rating survey after an export, and check the saved response. - [Devin Desktop Guides & Surveys](https://amplitude.com/build/devin-desktop-guides-surveys) ([Markdown](https://amplitude.com/build/devin-desktop-guides-surveys.md)): Add Amplitude guides and surveys to an app you build with Devin Desktop. Use a small demo to explain a button and collect feedback after someone uses it. - [Framer Guides & Surveys](https://amplitude.com/build/framer-guides-surveys) ([Markdown](https://amplitude.com/build/framer-guides-surveys.md)): Add Amplitude guides and surveys to a Framer site. - [Gemini CLI Guides & Surveys](https://amplitude.com/build/gemini-cli-guides-surveys) ([Markdown](https://amplitude.com/build/gemini-cli-guides-surveys.md)): Use Gemini CLI to add a report guide and rating survey, verify targeting, and inspect a saved response in Amplitude. - [Kiro Guides & Surveys](https://amplitude.com/build/kiro-guides-surveys) ([Markdown](https://amplitude.com/build/kiro-guides-surveys.md)): Use Kiro to add a report guide and rating survey, verify targeting, and inspect a saved response in Amplitude. - [Next.js Guides & Surveys](https://amplitude.com/build/nextjs-guides-surveys) ([Markdown](https://amplitude.com/build/nextjs-guides-surveys.md)): Show Amplitude guides and surveys in a Next.js App Router app: client-only init, no double boot, router-aware links, and identity that targeting can use. - [React Guides & Surveys](https://amplitude.com/build/react-guides-surveys) ([Markdown](https://amplitude.com/build/react-guides-surveys.md)): Show Amplitude guides and surveys in a Vite and React Router app: one init, router-aware guide links, stable pin targets, and a survey button. - [React Native Guides & Surveys](https://amplitude.com/build/react-native-guides-surveys) ([Markdown](https://amplitude.com/build/react-native-guides-surveys.md)): Add guides and surveys to React Native with shared analytics identity, screen targeting, development previews, and response verification. - [React Router Guides & Surveys](https://amplitude.com/build/react-router-guides-surveys) ([Markdown](https://amplitude.com/build/react-router-guides-surveys.md)): Show Amplitude guides and surveys in a React Router (formerly Remix) app: one init, guide links through navigate(), stable pins, and a survey button. - [Shopify Guides & Surveys](https://amplitude.com/build/shopify-guides-surveys) ([Markdown](https://amplitude.com/build/shopify-guides-surveys.md)): Add the guides and surveys SDK beside Shopify's app-owned analytics. Target a storefront survey and verify a saved synthetic answer. - [SvelteKit Guides & Surveys](https://amplitude.com/build/sveltekit-guides-surveys) ([Markdown](https://amplitude.com/build/sveltekit-guides-surveys.md)): Show Amplitude guides and surveys in a SvelteKit app: one client init, guide links through goto, stable pin targets, and a survey opened from a button. - [v0 Guides & Surveys](https://amplitude.com/build/v0-guides-surveys) ([Markdown](https://amplitude.com/build/v0-guides-surveys.md)): Use v0 to add a report guide and rating survey, verify targeting, and inspect a saved response in Amplitude. - [Vue Guides & Surveys](https://amplitude.com/build/vue-guides-surveys) ([Markdown](https://amplitude.com/build/vue-guides-surveys.md)): Show Amplitude guides and surveys in a Vue and Vite app: one init, Vue Router guide links, stable pin targets, and a survey opened from a button. - [Webflow Guides & Surveys](https://amplitude.com/build/webflow-guides-surveys) ([Markdown](https://amplitude.com/build/webflow-guides-surveys.md)): Add Amplitude guides and surveys to Webflow. Register the engagement plugin, target a pricing survey, and verify a test response. - [WordPress Guides & Surveys](https://amplitude.com/build/wordpress-guides-surveys) ([Markdown](https://amplitude.com/build/wordpress-guides-surveys.md)): Attach guides and surveys to the WordPress plugin. Target a pricing-page survey and verify a synthetic response in Amplitude. ## Heatmaps - [Angular Heatmaps](https://amplitude.com/build/angular-heatmaps) ([Markdown](https://amplitude.com/build/angular-heatmaps.md)): Turn on session replay in an Angular app so Amplitude heatmaps map clicks per route, give each tab its own child route, and create your first heatmap. - [Astro Heatmaps](https://amplitude.com/build/astro-heatmaps) ([Markdown](https://amplitude.com/build/astro-heatmaps.md)): Record session replay in an Astro site so Amplitude heatmaps map clicks per page, give each tab its own URL, and create your first heatmap. - [Claude Code Heatmaps](https://amplitude.com/build/claude-code-heatmaps) ([Markdown](https://amplitude.com/build/claude-code-heatmaps.md)): Use Claude Code to add heatmaps, preserve replay privacy, separate report URLs, and verify capture in Amplitude. - [Codex CLI Heatmaps](https://amplitude.com/build/codex-cli-heatmaps) ([Markdown](https://amplitude.com/build/codex-cli-heatmaps.md)): Use Codex CLI to add heatmaps, preserve replay privacy, separate report URLs, and verify capture in Amplitude. - [Devin Desktop Heatmaps](https://amplitude.com/build/devin-desktop-heatmaps) ([Markdown](https://amplitude.com/build/devin-desktop-heatmaps.md)): Add Amplitude heatmaps to an app you build with Devin Desktop. Set up replay capture and separate page URLs in a small demo, then configure a heatmap. - [Framer Heatmaps](https://amplitude.com/build/framer-heatmaps) ([Markdown](https://amplitude.com/build/framer-heatmaps.md)): Use Amplitude session replay to create heatmaps for a Framer pricing page. - [Next.js Heatmaps](https://amplitude.com/build/nextjs-heatmaps) ([Markdown](https://amplitude.com/build/nextjs-heatmaps.md)): Turn on session replay in the Next.js App Router so Amplitude heatmaps can map clicks, selectors, and scrolls on every route, then create a heatmap. - [React Heatmaps](https://amplitude.com/build/react-heatmaps) ([Markdown](https://amplitude.com/build/react-heatmaps.md)): Turn on session replay in a Vite and React Router app so Amplitude heatmaps can map clicks and scrolls per route, then create your first heatmap. - [React Router Heatmaps](https://amplitude.com/build/react-router-heatmaps) ([Markdown](https://amplitude.com/build/react-router-heatmaps.md)): Record session replay in a React Router (formerly Remix) app so Amplitude heatmaps map clicks per route, give each tab its own URL, and create a heatmap. - [Shopify Heatmaps](https://amplitude.com/build/shopify-heatmaps) ([Markdown](https://amplitude.com/build/shopify-heatmaps.md)): Enable heatmaps for a Shopify storefront. Match a product URL, select a replay background, and verify viewport and traffic coverage. - [SvelteKit Heatmaps](https://amplitude.com/build/sveltekit-heatmaps) ([Markdown](https://amplitude.com/build/sveltekit-heatmaps.md)): Turn on session replay in a SvelteKit app so Amplitude heatmaps map clicks per route, give each tab its own URL, and create your first heatmap. - [v0 Heatmaps](https://amplitude.com/build/v0-heatmaps) ([Markdown](https://amplitude.com/build/v0-heatmaps.md)): Add heatmaps to a v0 app with session replay, distinct report URLs, privacy controls, and checks for capture and map readiness. - [Vue Heatmaps](https://amplitude.com/build/vue-heatmaps) ([Markdown](https://amplitude.com/build/vue-heatmaps.md)): Turn on session replay in a Vue, Vite, and Vue Router app so Amplitude heatmaps map clicks per route, then create your first heatmap. - [Webflow Heatmaps](https://amplitude.com/build/webflow-heatmaps) ([Markdown](https://amplitude.com/build/webflow-heatmaps.md)): Add heatmaps to Webflow using session replay. Enable capture, check data requirements, and match the pricing URL and viewport. - [WordPress Heatmaps](https://amplitude.com/build/wordpress-heatmaps) ([Markdown](https://amplitude.com/build/wordpress-heatmaps.md)): Enable replay-based heatmaps for WordPress. Match the recorded page URL, choose a replay background, and check viewport coverage. ## Web analytics - [Angular Web Analytics](https://amplitude.com/build/angular-web-analytics) ([Markdown](https://amplitude.com/build/angular-web-analytics.md)): Track page views, sessions, and UTM attribution in an Angular app, keep campaign data through router redirects and guards, and read traffic by channel. - [Astro Web Analytics](https://amplitude.com/build/astro-web-analytics) ([Markdown](https://amplitude.com/build/astro-web-analytics.md)): Track page views, sessions, and UTMs on an Astro site, keep campaign data through redirects, and read traffic by channel and campaign. - [Framer Web Analytics](https://amplitude.com/build/framer-web-analytics) ([Markdown](https://amplitude.com/build/framer-web-analytics.md)): Capture campaign attribution and page views on a Framer site with Amplitude. - [Next.js Web Analytics](https://amplitude.com/build/nextjs-web-analytics) ([Markdown](https://amplitude.com/build/nextjs-web-analytics.md)): Set up Amplitude web analytics in the Next.js App Router: page views, sessions, and UTMs through autocapture, kept through redirects, read by channel. - [React Router Web Analytics](https://amplitude.com/build/react-router-web-analytics) ([Markdown](https://amplitude.com/build/react-router-web-analytics.md)): Track page views, sessions, and UTMs in a React Router (formerly Remix) app, keep campaign data through redirects, and read traffic by channel. - [React Web Analytics](https://amplitude.com/build/react-web-analytics) ([Markdown](https://amplitude.com/build/react-web-analytics.md)): Track page views, sessions, and UTMs in a Vite and React Router app, keep campaign data through client-side redirects, and read traffic by channel. - [Shopify Web Analytics](https://amplitude.com/build/shopify-web-analytics) ([Markdown](https://amplitude.com/build/shopify-web-analytics.md)): Connect Shopify to Amplitude with the official app. Verify storefront page views, campaign attribution, and anonymous visitor continuity. - [SvelteKit Web Analytics](https://amplitude.com/build/sveltekit-web-analytics) ([Markdown](https://amplitude.com/build/sveltekit-web-analytics.md)): Track page views, sessions, and UTM attribution in a SvelteKit app, keep campaign data through server redirects, and read traffic by channel. - [Vue Web Analytics](https://amplitude.com/build/vue-web-analytics) ([Markdown](https://amplitude.com/build/vue-web-analytics.md)): Track page views, sessions, and UTM attribution in a Vue and Vite app, keep campaign data through Vue Router redirects, and read traffic by channel. - [Webflow Web Analytics](https://amplitude.com/build/webflow-web-analytics) ([Markdown](https://amplitude.com/build/webflow-web-analytics.md)): Add Amplitude web analytics to Webflow. Track page views, sessions, and campaign visits with one site-wide CDN installation. - [WordPress Web Analytics](https://amplitude.com/build/wordpress-web-analytics) ([Markdown](https://amplitude.com/build/wordpress-web-analytics.md)): Add Amplitude web analytics to WordPress through a small plugin. Check page views, campaign attribution, and visitor continuity. ## Web experimentation - [Angular Web Experiment](https://amplitude.com/build/angular-web-experiment) ([Markdown](https://amplitude.com/build/angular-web-experiment.md)): Load Amplitude Web Experiment in an Angular app without flicker, keep variants through hydration and navigation, and confirm impressions land. - [Astro Web Experiment](https://amplitude.com/build/astro-web-experiment) ([Markdown](https://amplitude.com/build/astro-web-experiment.md)): Load Amplitude Web Experiment in an Astro layout without flicker, keep variants through ClientRouter navigations, and confirm impressions land. - [Framer Web Experiment](https://amplitude.com/build/framer-web-experiment) ([Markdown](https://amplitude.com/build/framer-web-experiment.md)): Install Amplitude Web Experiment on a Framer site and test a pricing CTA variant. - [Next.js Web Experiment](https://amplitude.com/build/nextjs-web-experiment) ([Markdown](https://amplitude.com/build/nextjs-web-experiment.md)): Load the Amplitude Web Experiment script in a Next.js App Router layout without flicker, keep analytics in your npm SDK, and confirm impressions land. - [React Router Web Experiment](https://amplitude.com/build/react-router-web-experiment) ([Markdown](https://amplitude.com/build/react-router-web-experiment.md)): Load Amplitude Web Experiment in a React Router (formerly Remix) app without flicker, keep variants through hydration, and confirm impressions land. - [React Web Experiment](https://amplitude.com/build/react-web-experiment) ([Markdown](https://amplitude.com/build/react-web-experiment.md)): Load the Amplitude Web Experiment script in a Vite and React app without flicker, make React elements easy to target, and confirm impressions land. - [Shopify Web Experiment](https://amplitude.com/build/shopify-web-experiment) ([Markdown](https://amplitude.com/build/shopify-web-experiment.md)): Test Shopify storefront offer copy with Web Experiment. Set consent before loading, preserve the product link, and verify impressions and clicks. - [SvelteKit Web Experiment](https://amplitude.com/build/sveltekit-web-experiment) ([Markdown](https://amplitude.com/build/sveltekit-web-experiment.md)): Load Amplitude Web Experiment in a SvelteKit app without flicker, keep variants intact through hydration and navigation, and confirm impressions land. - [Vue Web Experiment](https://amplitude.com/build/vue-web-experiment) ([Markdown](https://amplitude.com/build/vue-web-experiment.md)): Load Amplitude Web Experiment in a Vue and Vite app without flicker, make Vue elements easy to target, and confirm impressions land. - [Webflow Web Experiment](https://amplitude.com/build/webflow-web-experiment) ([Markdown](https://amplitude.com/build/webflow-web-experiment.md)): Add Web Experiment to Webflow. Preview a CTA copy test, configure consent, and verify impressions and confirmed form conversions. - [WordPress Web Experiment](https://amplitude.com/build/wordpress-web-experiment) ([Markdown](https://amplitude.com/build/wordpress-web-experiment.md)): Configure a WordPress CTA copy test with Amplitude Web Experiment. Preview variants and check impressions and accepted form conversions. ## Agent analytics and privacy - [Claude Agent Analytics](https://amplitude.com/build/anthropic-agent-analytics) ([Markdown](https://amplitude.com/build/anthropic-agent-analytics.md)): Run Claude's tool_use loop through AmplitudeToolLoop in TypeScript and track every response, tool call, token, and cost per agent session. - [Claude Code Agent Analytics](https://amplitude.com/build/claude-code-agent-analytics) ([Markdown](https://amplitude.com/build/claude-code-agent-analytics.md)): Use Claude Code to instrument a Node report assistant with metadata-only telemetry, isolated task IDs, and session verification. - [Codex CLI Agent Analytics](https://amplitude.com/build/codex-cli-agent-analytics) ([Markdown](https://amplitude.com/build/codex-cli-agent-analytics.md)): Use Codex CLI to instrument a Node report assistant with metadata-only telemetry, isolated task IDs, and session verification. - [Devin Desktop Agent Analytics](https://amplitude.com/build/devin-desktop-agent-analytics) ([Markdown](https://amplitude.com/build/devin-desktop-agent-analytics.md)): Add Amplitude agent analytics to an AI feature you build with Devin Desktop. Follow a Node.js demo that answers a question about sample usage figures. - [Django Agent Analytics](https://amplitude.com/build/django-agent-analytics) ([Markdown](https://amplitude.com/build/django-agent-analytics.md)): Add agent analytics to Django views with OpenAI, stable conversation IDs, streaming replies, browser identity, and a flush-and-wait step. - [FastAPI Agent Analytics](https://amplitude.com/build/fastapi-agent-analytics) ([Markdown](https://amplitude.com/build/fastapi-agent-analytics.md)): Add agent analytics to FastAPI with async OpenAI calls, stable conversation IDs, streaming replies, browser identity, and lifespan shutdown. - [Go Agent Analytics](https://amplitude.com/build/go-agent-analytics) ([Markdown](https://amplitude.com/build/go-agent-analytics.md)): Track a Go report assistant with Amplitude. Record real tool calls, model tokens, latency, and job sessions while omitting message content. - [Java Agent Analytics](https://amplitude.com/build/java-agent-analytics) ([Markdown](https://amplitude.com/build/java-agent-analytics.md)): Track a Java report assistant in Amplitude. Record tool calls, model tokens, latency, and job sessions while keeping message content out of telemetry. - [LangChain Agent Analytics](https://amplitude.com/build/langchain-agent-analytics) ([Markdown](https://amplitude.com/build/langchain-agent-analytics.md)): Add Amplitude agent analytics to LangChain with a callback, one session per complete invocation, async calls, token costs, and a shutdown flush. - [Next.js Agent Analytics](https://amplitude.com/build/nextjs-agent-analytics) ([Markdown](https://amplitude.com/build/nextjs-agent-analytics.md)): Instrument a Next.js route handler that calls an LLM with the Amplitude AI SDK, capture sessions, tokens, cost, and quality, and flush before it freezes. - [Node.js Agent Analytics](https://amplitude.com/build/nodejs-agent-analytics) ([Markdown](https://amplitude.com/build/nodejs-agent-analytics.md)): Instrument an Express route that calls an LLM with the Amplitude AI SDK, track tool calls and streamed replies, and flush before the process exits. - [Agent PII Redaction](https://amplitude.com/build/redact-pii-agent-analytics) ([Markdown](https://amplitude.com/build/redact-pii-agent-analytics.md)): Scrub emails, phone numbers, and card numbers from agent prompts before they leave your process, add custom redaction, pick a privacy mode, and test it. - [v0 Agent Analytics](https://amplitude.com/build/v0-agent-analytics) ([Markdown](https://amplitude.com/build/v0-agent-analytics.md)): Instrument a v0 report assistant with the Node AI SDK, metadata-only telemetry, isolated task IDs, and verified event grouping. - [Vercel AI SDK Agent Analytics](https://amplitude.com/build/vercel-ai-sdk-agent-analytics) ([Markdown](https://amplitude.com/build/vercel-ai-sdk-agent-analytics.md)): Track Vercel AI SDK prompts, streamed answers, tokens, cached input, cost, and latency in Amplitude without duplicate instrumentation. ## Server events and identity - [Next.js Events](https://amplitude.com/build/nextjs-server-components-tracking) ([Markdown](https://amplitude.com/build/nextjs-server-components-tracking.md)): Track Amplitude events from Next.js server actions and route handlers instead of RSC render, with the right IDs, flushing, and no duplicates. - [Send Events Server-Side](https://amplitude.com/build/send-events-server-side) ([Markdown](https://amplitude.com/build/send-events-server-side.md)): Track server events in the user's browser session, dedupe webhook retries with insert_id, backdate job events, and call the HTTP V2 API from any language. - [Stitch User Identity](https://amplitude.com/build/stitch-client-server-events) ([Markdown](https://amplitude.com/build/stitch-client-server-events.md)): Share one device ID between browser and server, send both IDs at sign-up, set one canonical user ID everywhere, and reset on sign-out. ## More implementation guides - [Next.js Stripe Attribution](https://amplitude.com/build/nextjs-stripe-attribution) ([Markdown](https://amplitude.com/build/nextjs-stripe-attribution.md)): Capture campaign UTMs, identify signups, and record one-time Stripe payments in Next.js. Compare first-touch and last-touch campaign credit in Amplitude. - [Node.js Activation](https://amplitude.com/build/nodejs-activation) ([Markdown](https://amplitude.com/build/nodejs-activation.md)): Track user activation from committed Node.js operations. Use a SQLite outbox, stable event IDs, bounded retries, and real Amplitude verification. - [Node.js CLI Telemetry](https://amplitude.com/build/nodejs-cli-telemetry) ([Markdown](https://amplitude.com/build/nodejs-cli-telemetry.md)): Track Node.js CLI outcomes with an explicit telemetry opt-out. Flush before exit, omit file contents and paths, and preserve business exit codes. - [Node.js Feature Retention](https://amplitude.com/build/nodejs-feature-retention) ([Markdown](https://amplitude.com/build/nodejs-feature-retention.md)): Instrument feature completion in Node.js, send a controlled test history, and verify Day 1 and Day 7 feature retention in Amplitude. - [Node.js Historical Backfill](https://amplitude.com/build/nodejs-historical-backfill) ([Markdown](https://amplitude.com/build/nodejs-historical-backfill.md)): Backfill historical Amplitude events from JSONL with Node.js. Preserve timestamps and event IDs, checkpoint uploads, and test retries and deduplication. - [TypeScript MCP Analytics](https://amplitude.com/build/nodejs-mcp-analytics) ([Markdown](https://amplitude.com/build/nodejs-mcp-analytics.md)): Track MCP tool success, failure and cancellation with Amplitude. Run a local TypeScript client and verify request correlation and metadata-only payloads. - [Node.js Signup Funnel](https://amplitude.com/build/nodejs-signup-funnel) ([Markdown](https://amplitude.com/build/nodejs-signup-funnel.md)): Instrument a local signup funnel in Node.js. Track committed account and profile stages, preserve attempt identity, and verify completion and drop-off. - [React Autocapture](https://amplitude.com/build/react-autocapture) ([Markdown](https://amplitude.com/build/react-autocapture.md)): Configure Amplitude autocapture in React with element and page filters. Capture selected clicks and changes, add attributes, and verify excluded pages. - [React Consent Banner](https://amplitude.com/build/react-consent-banner) ([Markdown](https://amplitude.com/build/react-consent-banner.md)): Connect a custom React consent banner to Amplitude. Defer initialization, discard pre-consent actions, and test withdrawal, reloads, and startup races. - [React Custom Events](https://amplitude.com/build/react-custom-events) ([Markdown](https://amplitude.com/build/react-custom-events.md)): Track successful saves with custom Amplitude events alongside autocapture in React. Add event properties and test failures, repeat clicks, and reloads. - [React Event Redaction](https://amplitude.com/build/react-event-redaction) ([Markdown](https://amplitude.com/build/react-event-redaction.md)): Redact Amplitude event properties in React with an explicit enrichment policy. Test nested fields, URLs, blocked events, and safe processed data. - [React Flag Payloads](https://amplitude.com/build/react-feature-flags-payloads) ([Markdown](https://amplitude.com/build/react-feature-flags-payloads.md)): Use Amplitude flag payloads as React remote configuration. Validate types and bounds, render safe defaults, and test malformed or missing payloads. - [React Flag Tests](https://amplitude.com/build/react-feature-flags-vitest) ([Markdown](https://amplitude.com/build/react-feature-flags-vitest.md)): Test flag-gated React code with Vitest and the actual Amplitude client. Cover variants, fallback, cached refresh failures, and identity changes. - [React Form Drop-off](https://amplitude.com/build/react-form-dropoff) ([Markdown](https://amplitude.com/build/react-form-dropoff.md)): Track form-field drop-off in React without sending input values. Record fixed field IDs, validation reasons, and attempt IDs, then verify the payloads. - [React Login Identity](https://amplitude.com/build/react-login-identity) ([Markdown](https://amplitude.com/build/react-login-identity.md)): Identify users at login and reset Amplitude identity at logout in React. Test a local session, reloads, failed login, and the next anonymous visit. - [React User Properties](https://amplitude.com/build/react-user-properties) ([Markdown](https://amplitude.com/build/react-user-properties.md)): Set, update, and remove Amplitude user properties in React. Use Identify operations and verify first values, counters, and event history. - [Vite Environments](https://amplitude.com/build/vite-analytics-environments) ([Markdown](https://amplitude.com/build/vite-analytics-environments.md)): Separate Vite analytics environments with distinct Amplitude project keys. Guard mode configuration and verify real event destinations. ## Related resources - [Documentation index](https://amplitude.com/docs/llms.txt): SDK configuration, APIs, product behavior, and troubleshooting. - [Developer and agent resources](https://amplitude.com/developers/llms.txt): CLI, APIs, MCP servers, skills, and SDK guidance. - [Amplitude site index](https://amplitude.com/llms.txt): Platform overview, products, pricing, and solutions.