Goals UI
Today I'll really try and push to finish the Goals feature.
I finalized the CRUD and I now need to set up the data calculation. This is what I'd like to get.
{
"name": "Upgraded From Free Trial",
"conversion": 3.4,
"steps": [
{
"name": "Started Free Trial",
"count": 4531,
"conversion": 100
},
{
"name": "Clicked Upgrade",
"count": 2180,
"conversion": 53
},
{
"name": "Completed Purchase",
"count": 134,
"conversion": 3.4
},
]
}
I'm thinking about whether to calculate these conversions per session or per user. Grouping by session means I calculate conversions per each session, which would leave out anyone landing, leaving, and converting later on. I guess this is a business decision and would probably make sense as a parameter, but let's go with grouping by user for now.
Another question is whether to require these steps to be sequential or not. Having them sequential would probably provide more precise data, but complicates things. For now, I'll rely on the users capturing these in a way where logically this doesn't matter.
Making some progress on the UI, all basic screens are there.
Feels like I did all the hard work before and I'm just zooming now. The UI is starting to resemble my initial drafts.
Pretty happy with this for now. Next steps:
- Calculate simple data on single endpoint for all goals (goal screen)
- Calculate data per day (goal details screen)
- Incorporate edit and delete buttons into new screen (goal details)
- Improve Step editor (new goal screen)