feat(admin): unify conversion dashboard with membership tracking#490
Merged
Conversation
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.
Deploying website with
|
| 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 |
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/admin/dropped-conversionsto/admin/conversionswith a 301 redirect from the old URLTest plan
/admin/conversions?token=<token>and verify the dashboard loads with all three goal types/admin/dropped-conversionsredirects to/admin/conversionson Cloudflare Pages/membershippage appear in the dashboard