SKILL

applicationinsights-web-ts

Instrument browser/web apps with the Application Insights JavaScript SDK (@microsoft/applicationinsights-web). Use for Real User Monitoring (RUM) — page views, clicks, AJAX/fetch dependencies, exceptions, custom events, and browser-side GenAI agent traces correlated to backend OpenTelemetry traces. Covers SDK Loader Script and npm setup, framework extensions (React, React Native, Angular), Click Analytics, telemetry initializers, and OTel GenAI semantic conventions for agent/tool/model spans emitted from the browser.

Target: Cloud, operations & security. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Application Insights JavaScript SDK (Web) for TypeScript
  • Before Implementation
  • Packages
  • Installation
  • Connection String
  • Quick Start (npm)
  • Quick Start (SDK Loader Script)
  • Core Tracking APIs

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). 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 | Package | Purpose | | --- | --- | | @microsoft/applicationinsights-web | Core RUM SDK (page views, AJAX, exceptions). | | @microsoft/applicationinsights-clickanalytics-js | Auto-collect click telemetry. | | @microsoft/applicationinsights-react-js | React plugin (router instrumentation, hooks, HOC, ErrorBoundary). | | @microsoft/applicationinsights-react-native | React Native plug

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
microsoft/skills
Source file
.github/plugins/azure-sdk-typescript/skills/applicationinsights-web-ts/SKILL.md
Fixed revision
9287b443662d2433c85621c7325ee72a0ce499b5
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: Microsoft Skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T19:02:06.516Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.