Overview
Cloudflare RUM (Real User Monitoring) provides visibility into how real users experience your website. Collect performance metrics, monitor Core Web Vitals, and analyze user behavior.Initialize the client
Site info
Manage RUM sites.Create a site
Create a new RUM site configuration.Account identifier
Hostname to monitor
Associated zone identifier
Site identifier
Monitored hostname
When the site was created
Update a site
Update an existing RUM site.List sites
List all RUM sites in an account.Get a site
Get details of a specific RUM site.Delete a site
Delete a RUM site.Rules
Manage RUM sampling and collection rules.Create a rule
Create a new RUM rule.Account identifier
Site identifier
Update a rule
Update an existing RUM rule.List rules
List all RUM rules.Delete a rule
Delete a RUM rule.Bulk create rules
Create multiple RUM rules at once.Types
Site
RUM site configuration.Site identifier
Monitored hostname
Associated zone ID
Whether RUM is auto-installed
Creation timestamp
RUMRule
RUM sampling and collection rule.Rule identifier
Associated site ID
Whether the rule is active
Rule priority
Use cases
RUM is useful for:- Performance monitoring: Track Core Web Vitals (LCP, FID, CLS)
- User experience: Understand real-world performance across devices and locations
- Debugging: Identify slow pages and performance bottlenecks
- Business insights: Correlate performance with business metrics
- Optimization: Make data-driven decisions to improve site speed