Skip to content

feat(admin): unify conversion dashboard with membership tracking#490

Merged
mohanadft merged 8 commits into
mainfrom
feat/unified-conversion-dashboard
Jun 20, 2026
Merged

feat(admin): unify conversion dashboard with membership tracking#490
mohanadft merged 8 commits into
mainfrom
feat/unified-conversion-dashboard

Conversation

@mohanadft

Copy link
Copy Markdown
Collaborator

Summary

  • Add Membership goal tracking alongside One-time and Monthly donations in the admin conversion dashboard
  • Merge tracked and dropped conversions into a single unified count per goal (no more red/green distinction)
  • Add goal filter dropdown to view all goals or filter by One-time Donation, Monthly Donation, or Membership individually
  • Each goal type gets a distinct color in the chart (green for one-time, blue for monthly, purple for membership)
  • Rename route from /admin/dropped-conversions to /admin/conversions with a 301 redirect from the old URL
  • Also track Membership events in the Plausible pipe for KV storage of dropped events

Test plan

  • Visit /admin/conversions?token=<token> and verify the dashboard loads with all three goal types
  • Verify the goal filter dropdown filters the chart and summary cards correctly
  • Verify /admin/dropped-conversions redirects to /admin/conversions on Cloudflare Pages
  • Confirm the chart shows stacked bars by goal type with correct colors
  • Check that Membership conversion events from /membership page appear in the dashboard

Add Membership goal alongside One-time and Monthly donations.
Merge tracked and dropped conversions into a single count per goal.
Add goal filter dropdown to view all or individual conversion types.
Rename route from /admin/dropped-conversions to /admin/conversions.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 20, 2026

Copy link
Copy Markdown

Deploying website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 95c9709
Status: ✅  Deploy successful!
Preview URL: https://c39d5d21.website-aun.pages.dev
Branch Preview URL: https://feat-unified-conversion-dash.website-aun.pages.dev

View logs

Goals that don't exist in Plausible (like Membership) would cause the
entire API query to fail. Query each goal separately and skip any that
return errors.
Avoids collision with the existing Membership pageview goal.
The event already sends amount and membership_variant props.
Query Plausible for custom property breakdowns per goal.
Display total donation amounts per goal type and Calculator vs
No Calculator split for membership conversions.
Replace single total with a table showing each donation amount and
how many times it occurred, sorted by amount descending.
Dropped events stored in KV have amount and other props that were
not included in the property breakdowns. Extract and merge them
so all conversions show in the amount tables.
@mohanadft mohanadft merged commit 6090f49 into main Jun 20, 2026
5 checks passed
@mohanadft mohanadft deleted the feat/unified-conversion-dashboard branch June 20, 2026 09:29
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