Skip to content
Back to skills

Implementing Real User Monitoring

ASecurity

Implement Real User Monitoring (RUM) to capture actual user performance

  • 2,719 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 21, 2026
ai-agentsjavascriptgojavabashapifrontendperformancedocumentation

Works with

  • claude code
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 21, 2026

npx -y skills add jeremylongshore/claude-code-plugins-plus --skill implementing-real-user-monitoring --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Implementing Real User Monitoring?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Implementing Real User Monitoring
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jeremylongshore-implementing-real-user-monitoring-3c48c238/badge)](https://www.skillsdirectory.com/skills/jeremylongshore-implementing-real-user-monitoring-3c48c238)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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".
version: 1.22.0
allowed-tools: Read, Write, Edit, Grep, Glob, Bash(npm:*), Bash(rum:*)
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
tags:
- performance
- monitoring
- real-user
compatibility: Designed for Claude Code
---
# 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

Files in this skill

  • SKILL.md3.8 KB
  • assets/README.md170 B
  • references/README.md63 B
  • scripts/README.md409 B
  • scripts/setup_rum.py2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.