Skip to content
Skillv1.0.0

implementing-real-user-monitoring

Implement Real User Monitoring (RUM) to capture actual user performance data including Core Web Vitals and page load times. Use when setting up user experience monitoring or tracking custom performanc

by jeremylongshore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from jeremylongshore/tons-of-skills-marketplace (plugins/performance/real-user-monitoring/skills/implementing-real-user-monitoring/SKILL.md). Install upstream with npx skills add jeremylongshore/tons-of-skills-marketplace --skill implementing-real-user-monitoring. Copyright stays with the author (MIT).

Real User Monitoring

Implement Real User Monitoring (RUM) to capture Core Web Vitals, page load times, and custom performance events using Google Analytics, Datadog RUM, or New Relic.

Overview

This skill streamlines the process of setting up Real User Monitoring (RUM) for web applications. It guides you through the essential steps of choosing a platform, defining metrics, and implementing the tracking code to capture valuable user experience data.

How It Works

  1. Platform Selection: Helps you consider available RUM platforms (e.g., Google Analytics, Datadog RUM, New Relic).
  2. Instrumentation Design: Guides you in defining the key performance metrics to track, including Core Web Vitals and custom events.
  3. Tracking Code Implementation: Assists in implementing the necessary JavaScript code to collect and transmit performance data.

When to Use This Skill

This skill activates when you need to:

  • Implement Real User Monitoring on a website or web application.
  • Track Core Web Vitals (LCP, FID, CLS) to improve user experience.
  • Monitor page load times (FCP, TTI, TTFB) for performance optimization.

Examples

Example 1: Setting up RUM for a new website

User request: "setup RUM for my new website"

The skill will:

  1. Guide the user through selecting a RUM platform.
  2. Provide code snippets for implementing basic tracking.

Example 2: Tracking custom performance metrics

User request: "I want to track how long it takes users to complete a purchase"

The skill will:

  1. Help define a custom performance metric for purchase completion time.
  2. Generate JavaScript code to track the metric.

Best Practices

  • Privacy Compliance: Ensure compliance with privacy regulations (e.g., GDPR, CCPA) when collecting user data.
  • Sampling: Implement sampling to reduce data volume and impact on performance.
  • Error Handling: Implement robust error handling to prevent tracking code from breaking the website.

Integration

This skill can be used in conjunction with other monitoring and analytics tools to provide a comprehensive view of application performance.

Prerequisites

  • Access to web application frontend code in ${CLAUDE_SKILL_DIR}/
  • RUM platform account (Google Analytics, Datadog, New Relic)
  • Understanding of Core Web Vitals metrics
  • Privacy compliance documentation (GDPR, CCPA)

Instructions

  1. Select appropriate RUM platform for requirements
  2. Define key metrics to track (Core Web Vitals, custom events)
  3. Implement tracking code in application frontend
  4. Configure data sampling and privacy settings
  5. Set up dashboards for metric visualization
  6. Define alerts for performance degradation

Output

  • RUM implementation code snippets
  • Platform configuration documentation
  • Custom event tracking examples
  • Dashboard definitions for key metrics
  • Privacy compliance checklist

Error Handling

If RUM implementation fails:

  • Verify platform API credentials
  • Check JavaScript bundle integration
  • Validate metric collection permissions
  • Review privacy consent configuration
  • Ensure network connectivity for data transmission

Resources

  • Core Web Vitals measurement guide
  • RUM platform documentation
  • Privacy compliance best practices
  • Performance monitoring strategies

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/jeremylongshore-tons-of-skills-marketplace-implementing-daaa45/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

jeremylongshore-tons-of-skills-marketplace-implementing-daaa45.ocm.jsonjson
{
  "ocm": "1",
  "id": "jeremylongshore-tons-of-skills-marketplace-implementing-daaa45",
  "kind": "skill",
  "name": "implementing-real-user-monitoring",
  "description": "Implement Real User Monitoring (RUM) to capture actual user performance data including Core Web Vitals and page load times. Use when setting up user experience monitoring or tracking custom performance events. Trigger with phrases like \"setup RUM\", \"track Core Web Vitals\", or \"monitor real user performance\".",
  "publisher": "jeremylongshore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "performance",
      "monitoring",
      "real-user",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Implement Real User Monitoring (RUM) to capture actual user performance data including Core Web Vitals and page load times. Use when setting up user experience monitoring or tracking custom performance events. Trigger with phrases like \"setup RUM\", \"track Core Web Vitals\", or \"monitor real user performance\"."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/jeremylongshore/tons-of-skills-marketplace",
      "path": "plugins/performance/real-user-monitoring/skills/implementing-real-user-monitoring/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/HEAD/plugins/performance/real-user-monitoring/skills/implementing-real-user-monitoring/SKILL.md",
      "key": "jeremylongshore/tons-of-skills-marketplace/plugins/performance/real-user-monitoring/skills/implementing-real-user-monitoring/SKILL.md"
    },
    "compatibility": "Designed for Claude Code",
    "allowed_tools": [
      "Read,",
      "Write,",
      "Edit,",
      "Grep,",
      "Glob,",
      "Bash(npm:*),",
      "Bash(rum:*)"
    ],
    "license": "MIT"
  },
  "instructions": "# Real User Monitoring\n\nImplement Real User Monitoring (RUM) to capture Core Web Vitals, page load times, and custom performance events using Google Analytics, Datadog RUM, or New Relic.\n\n## Overview\n\nThis skill streamlines the process of setting up Real User Monitoring (RUM) for web applications. It guides you through the essential steps of choosing a platform, defining metrics, and implementing the tracking code to capture valuable user experience data.\n\n## How It Works\n\n1. **Platform Selection**: Helps you consider available RUM platforms (e.g., Google Analytics, Datadog RUM, New Relic).\n2.",
  "cost": {
    "context_tokens": 822
  }
}

Fetch it by URL: GET /api/v1/registry/jeremylongshore-tons-of-skills-marketplace-implementing-daaa45/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.