Skip to content

fix(web): prevent recurring analytics errors#112

Merged
devakone merged 1 commit into
developfrom
codex/fix-sentry-weekly-errors
Jun 22, 2026
Merged

fix(web): prevent recurring analytics errors#112
devakone merged 1 commit into
developfrom
codex/fix-sentry-weekly-errors

Conversation

@devakone

Copy link
Copy Markdown
Owner

Summary

  • make Plausible initialization a browser-global singleton across provider remounts
  • prevent custom analytics events from racing tracker initialization
  • disable automatic browser translation to prevent React DOM reconciliation failures

Sentry evidence

  • VIBE-CODING-PROFILER-C: 5 duplicate Plausible initialization errors
  • VIBE-CODING-PROFILER-A: 2 React removeChild DOM exceptions
  • VIBE-CODING-PROFILER-B: 2 React insertBefore DOM exceptions
  • all events were from one June 15 session on release 42d9704

Validation

  • npm run test
  • npm run type-check
  • npm run lint
  • npm run build --workspace=@vibe-coding-profiler/web

Use one browser-global Plausible initialization promise so remounts and custom events cannot reinitialize or race the tracker. Disable automatic browser translation to protect React-owned DOM nodes from external mutation.

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
vibe-coding-profiler Ready Ready Preview, Comment Jun 22, 2026 2:57am

Request Review

@supabase

supabase Bot commented Jun 22, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project idjewtwnfrufbxoxulmq because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@devakone devakone merged commit e2cc055 into develop Jun 22, 2026
7 checks passed
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