Skip to content

Include visitors in A/B goals chart - #27

Merged
guitavano merged 1 commit into
mainfrom
guitavano/funnel-chart-visitors
Jul 8, 2026
Merged

Include visitors in A/B goals chart#27
guitavano merged 1 commit into
mainfrom
guitavano/funnel-chart-visitors

Conversation

@guitavano

@guitavano guitavano commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

What

The "Goals" bar chart excluded the visitors baseline. Include it so the chart matches the Funnel/By-Goal tables and the admin screen.

barData now maps every goal in sortedGoals (no longer filtering out visitors).

Note

visitors renders at 100% for both variants, which rescales the chart's Y axis — the other (low-percentage) conversion goals will appear as short bars. This matches the admin behavior.

Test plan

  • bun run build:web
  • Lint clean

🤖 Generated with Claude Code


Summary by cubic

Included the visitors baseline in the Goals bar chart so it matches the Funnel/By Goal tables and the admin view. Visitors shows as 100% for both variants, which rescales the Y-axis and makes other low-percentage goals appear shorter, matching admin behavior.

Written for commit 8c25333. Summary will update on new commits.

Review in cubic

The goal bar chart excluded the visitors baseline; include it so the chart
matches the funnel tables and the admin screen.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 8, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
admin-mcp 8c25333 Commit Preview URL

Branch Preview URL
Jul 08 2026, 03:25 AM

@guitavano
guitavano merged commit 40e8d8f into main Jul 8, 2026
1 of 4 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