Sign in
Explore
Skills · SkillWeb & UIResearch & AnalysisWeb researchReviewed

applicationinsights-web-ts

Add the Application Insights JavaScript SDK (@microsoft/applicationinsights-web) to browser apps for page views, clicks and AJAX or fetch dependency tracking.

Kind
Skill
Works with
GitHub Copilot
Languages
TypeScript / JavaScript
Source
microsoft/skills @ 2130750147de
Path
.github/skills/applicationinsights-web-ts/SKILL.md
Jobs
Implementation
Topics
Web research

Credit

Made by
microsoft
Original
github.com/microsoft/skills/blob/2130750147dee0311215099ddf36…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/applicationinsights-web-ts/ (the skill folder)
  • 4 file(s) the skill refers to
  • 3 other files in the folder: references/agent-traces.md, references/configuration.md, references/framework-extensions.md
Runs scripts
Yes
  • shell block in the text
  • shell block in the text (references/framework-extensions.md)
Uses the network
Yes
  • downloads npm packages
  • HTTP client calls
  • downloads npm packages (references/framework-extensions.md)
Needs secrets
None found
Reads environment variables
  • EXPO_PUBLIC_APPINSIGHTS_CONNECTION_STRING
  • NEXT_PUBLIC_APPINSIGHTS_CONNECTION_STRING
Calls other skills
  • /script
  • /checkout
  • /healthz
  • /button
  • /body
  • /html
Source revision
2130750147de
Licence
MIT
Last activity
26 Nov 2026
Source changed after the scan
Yes
  • Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# Application Insights JavaScript SDK (Web) for TypeScript

Real User Monitoring (RUM) for browser apps with `@microsoft/applicationinsights-web`. Auto-collects page views, AJAX/fetch dependencies, unhandled exceptions, and (with the Click Analytics plugin) clicks. Supports custom events, metrics, and **GenAI agent traces** that follow OpenTelemetry GenAI semantic conventions and correlate to backend spans via W3C Trace Context.

> **Distinct from `azure-monitor-opentelemetry-ts`**, which is for Node.js server apps. This skill is for **browser/web** code (and React Native).

## Before Implementation

Search `microsoft-docs` MCP for current API patterns:

- Query: "Application Insights JavaScript SDK setup"
- Query: "Application Insights JavaScript SDK configuration"
- Query: "Application Insights JavaScript framework extensions React Angular"
- Verify package version: `npm view @microsoft/applicationinsights-web version`

## Packages

| Package | Purpose |
| --- | --- |
| `@microsoft/applicationinsights-web` | Core RUM SDK (page views, AJAX, exceptions). |
| `@microsoft/applicationinsights-clickanalytics-js` | Auto-collect click telemetry. |
…