Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Stop Paying $10/Month for Vercel Speed Insights – Cloudflare Web Analytics + Free Worker

说明与用途

使用免费的 Cloudflare Web Analytics 和 Cloudflare Worker 收集每页 Core Web Vitals,摆脱每月 $10 的 Vercel 订阅。

问题

A hobby dashboard exceeded Vercel Speed Insights free quota, forcing a $10/month upgrade for continued analytics.

结果

Per‑page Core Web Vitals are captured for $0 using Cloudflare Web Analytics and a free Worker, eliminating the $10/month Vercel subscription.

工作流

  • 1. Add a Cloudflare Worker to the project (free tier, 100k requests/day).
  • 2. Include the provided JavaScript snippet on each page to send web‑vitals via navigator.sendBeacon to the Worker endpoint.
  • 3. In the Worker, accept POST requests, parse JSON, and log the event (name, value, page, timestamp).
  • 4. View logs via Workers Logpush or tail live to see per‑page vitals.
  • 5. Optionally, grep logs weekly to spot regressions.
  • 6. Use Cloudflare Web Analytics dashboard for aggregate metrics; use log data for per‑page analysis.

证据

Cloudflare Web Analytics product is free with no event cap and no per‑project pricing.

来源

Vercel gives you Core Web Vitals per page automatically.

来源

  • 记录日期: 2026-09-21T01:19:05.633Z