Skip to content

Install Vercel Web Analytics - #1

Merged
bshelby88 merged 2 commits into
masterfrom
vercel/install-vercel-web-analytics-09u9bm
Aug 26, 2026
Merged

bshelby88 merged 2 commits into
masterfrom
vercel/install-vercel-web-analytics-09u9bm

Conversation

@vercel

@vercel vercel Bot commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Reconciles the original Vercel Web Analytics intent onto reviewed master at d2f502709f3a3f3dbdf74609c3c73ef347109f7c, with current master as authority.

  • Keeps the existing analytics loader on index.html.
  • Adds the official static HTML queue + /_vercel/insights/script.js loader to checklist.html, thanks.html, nft.html, privacy.html, terms.html, and links.html.
  • Adds a regression gate that scans every deployable root HTML source and every built dist page, requiring exactly one queue loader and exactly one insights script.
  • Preserves the privacy analytics disclosure and exact 90-day affiliate/UTM attribution retention assertions.

TDD evidence

The regression test was added before the page changes. Its RED run produced 12 expected failures: one source and one built-output failure for each of the six missing pages. After the minimal loader additions, the targeted suite passed all 15 analytics assertions.

Verification

  • npm test — 82 passed
  • npm run build — passed
  • npm audit --audit-level=high — 0 vulnerabilities
  • Exact non-cone sparse-checkout simulation matching .github/workflows/quality.yml — 82 passed, build passed, audit clean
  • Candidate provenance — exact commit 10f7cd4e7ae97347a36b45c71c558f3d06b6a4a5
  • Local production probe — all 14 checks passed
  • Vercel-managed analytics asset on the existing live site — HTTP 200
  • YAML parse/lint, pinned-action scan, diff whitespace scan, and added-line security/scope scan — passed

Preserved safeguards

  • No CSP or vercel.json change
  • No workflow change or production-truth-gate weakening
  • No lockfile change
  • No stale domains, checkout, mint, publisher, pricing, or fulfillment claims restored
  • Reviewed waitlist-only/commercial/provenance behavior from PR Disable unverified commercial and mint rails #2 remains authoritative

This PR remains draft and is not merged. No production deploy or publish command was invoked; repository-configured preview checks may run automatically after the branch update.

@vercel

vercel Bot commented Apr 25, 2026

Copy link
Copy Markdown
Contributor Author

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
royal-ruby Ready Ready Preview Aug 26, 2026 7:34pm
royal-ruby-pr2 Ready Ready Preview Aug 26, 2026 7:34pm

Reconcile PR #1 onto reviewed master without changing commercial, provenance, workflow, CSP, or lockfile state. Add source and dist regression coverage for exactly one analytics queue and script per deployable HTML page.
@bshelby88
bshelby88 merged commit 3c49bb8 into master Aug 26, 2026
5 checks passed
@bshelby88
bshelby88 deleted the vercel/install-vercel-web-analytics-09u9bm branch August 26, 2026 19:52

This branch was successfully deployed

3 active (1 outdated) deployments
Preview – royal-ruby eb82f430 Deployed Aug 26, 2026 by vercel[bot]
Preview – royal-ruby-pr2 eb82f430 Deployed Aug 26, 2026 by vercel[bot]
Preview b8e4bb0d Deployed Apr 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant