Skip to content

feat(admin): combine amount and variant in conversion detail table#491

Merged
mohanadft merged 10 commits into
mainfrom
feat/conversion-detail-table
Jun 20, 2026
Merged

feat(admin): combine amount and variant in conversion detail table#491
mohanadft merged 10 commits into
mainfrom
feat/conversion-detail-table

Conversation

@mohanadft

Copy link
Copy Markdown
Collaborator

Summary

  • Membership-complete table now shows Amount, Variant (Calculator/No Calculator), and Count in a single table
  • Donation goal tables (One-time, Monthly) continue to show Amount + Count only
  • Plausible is queried with both dimensions together so amount-variant pairs are correctly associated
  • Dropped events from KV also contribute their props to the same table

Test plan

  • Visit /admin/conversions and verify Membership table shows both Amount and Variant columns
  • Verify One-time and Monthly tables show Amount + Count only (no Variant column)
  • Confirm totals match the summary cards

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.
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.
Query Plausible with both amount and membership_variant dimensions
together for Membership-complete, so each row shows the amount
alongside its calculator variant. Donation goals show amount only.
@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: 17203e2
Status: ✅  Deploy successful!
Preview URL: https://6914de6a.website-aun.pages.dev
Branch Preview URL: https://feat-conversion-detail-table.website-aun.pages.dev

View logs

@mohanadft mohanadft merged commit 8feea2d into main Jun 20, 2026
5 checks passed
@mohanadft mohanadft deleted the feat/conversion-detail-table branch June 20, 2026 09:51
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