-
Notifications
You must be signed in to change notification settings - Fork 120
Labels
category: tracksRelated to analytics, including Tracks Events.Related to analytics, including Tracks Events.type: taskAn internally driven task.An internally driven task.
Description
Support for #8149
Summary
The orders analytics card should be able to display two types of information: Total orders and Average Order Value. Both can be properly acquired directly from the Woo Core stats API.
Changes
We already have support to request this data in OrderStatsRemoteV4, mapping to the OrderStatsV4 model. This model already includes the Total orders data. However, we aren't parsing Average Order Value from this response.
We need to add the following support for getting and storing that data:
- Networking: Add
avg_order_valueto theOrderStatsV4Totalsmodel. - Storage: Add a new Core Data model with the average order value attribute added to the
OrderStatsV4Totalsstorage entity.
Metadata
Metadata
Assignees
Labels
category: tracksRelated to analytics, including Tracks Events.Related to analytics, including Tracks Events.type: taskAn internally driven task.An internally driven task.