Closed
Bug 858251
Opened 11 years ago
Closed 11 years ago
Add "Apps Added by Payment type"
Categories
(Marketplace Graveyard :: Statistics, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
2013-11-12
People
(Reporter: clouserw, Assigned: spasovski)
References
Details
Change the nav menu to add a sub-graph to Apps Added, eg:
> Apps Added
> -> by Price
When people click on "by Price", draw our standard x/y plot but draw 4 lines: Paid apps, in-app payments, Free apps, and Total. It would be nice to be able to toggle them on/off so total doesn't wash out the rest of the graph.
This should be filterable by date *and region*
This graph is publicly available.
Assignee | ||
Comment 1•11 years ago
|
||
I need more clarification here. It seems like we're trying to show the number of apps added by price...so I am guessing each price point ($.99, $1.99, etc) would be the separate lines. Paid apps/in-app payments/free/total then don't make sense to me.
Reporter | ||
Comment 2•11 years ago
|
||
"by Price" might be poor wording, "by payment type" might be better. I think what David is after is a y-axis of number of apps, and an x-axis of time. So, in chart form:
> Date | Paid | In-app | Free | Total
> 2013-01-01 | 40 | 25 | 60 | 125
> 2013-01-02 | 50 | 5 | 60 | 105
> 2013-01-03 | 40 | 65 | 60 | 165
> ...
By price point is a cool idea too, but that's not this bug.
Updated•11 years ago
|
Summary: Add "Apps Added by Price" → Add "Apps Added by Payment type"
Comment 3•11 years ago
|
||
We have 5 payment types defined: ADDON_FREE: _('Free'), ADDON_PREMIUM: _('Premium'), ADDON_PREMIUM_INAPP: _('Premium with in-app payments'), ADDON_FREE_INAPP: _('Free with in-app payments'), ADDON_OTHER_INAPP: _("I'll use my own system for in-app payments") Would we count an app that is ADDON_PREMIUM_INAPP in both the "Paid" and "In-app" columns? Likewise for ADDON_FREE_INAPP? Where does ADDON_OTHER_INAPP fall?
Reporter | ||
Comment 4•11 years ago
|
||
Good call. We should just graph based on those then. So, 6 lines (including Total)
Comment 5•11 years ago
|
||
PR: https://github.com/mozilla/zamboni/pull/985
Updated•11 years ago
|
Assignee: nobody → robhudson.mozbugs
Comment 6•11 years ago
|
||
https://github.com/mozilla/zamboni/commit/641e717 Next: Need to add to the Monolith pulling code.
Comment 7•11 years ago
|
||
Updated the prior commit to use monolith dimensions: https://github.com/mozilla/zamboni/commit/13eaff41 Updated monolith.client to handle multiple dimensions: https://github.com/mozilla/monolith-client/commit/076f9a59 Added metrics to stats API: https://github.com/mozilla/zamboni/commit/5761699 You can query the metrics from the API at the following URLs: /api/v1/stats/global/apps_added_by_premium/?start=<start>&end=<end>&interval=<interval>&premium_type=<free|premium|...>®ion=<region>&_user=<user_token> The options for the "premium_type" query string are one of the keys in the ADDON_PREMIUM_API constant: https://github.com/mozilla/zamboni/blob/master/apps/constants/base.py#L289-L295 This one could definitely benefit from the ability to query multiple facets per client call since there are 5 options. I filed bug 908287 for that. Passing to Davor for hooking up to charts.
Assignee: robhudson.mozbugs → dspasovski
Assignee | ||
Comment 8•11 years ago
|
||
This has been implemented but not quite with the nav structure discussed above. Since the global stats dash will be linking to all the stats details pages I am not sure if that's still necessary but we can figure out logical stats groupings in a separate bug if we still want them. This was part of the initial commit: https://github.com/mozilla/marketplace-stats/commit/572ef94
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-11-12
Comment 9•11 years ago
|
||
Verified as fixed : http://screencast.com/t/ChvqaDhqEcq
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•