Closed
Description
The goal of this issue is to ensure that we have all necessary tracks events in the new or changed UI for payment activity widget.
E.g. consider and add/confirm tracks events for:
- View payment activity widget, i.e. overview screen
wcadmin_page_view path: payments_overview
- Woo core, generic event- registered here https://github.com/Automattic/tracks-events-registration/blob/40d233ca0d11d069b70bc394a14c93b01c7c74e1/events/wcadmin_page_view.event.json
- Clicks on payment activity widget
- Clicks on tiles ⇒ list views
wadmin_wcpay_overview_payment_activity_click
source: total_payment_volume
source: charges
source: refunds
source: disputes
source: fees
MISSING!- added in Add missing tracks
source
for clicks onFees
tile link #8921 - though if the tile is not clickable, don't need event ?? TBC - Maybe good to have the event, then we can get data on any clicks 🤔
- added in Add missing tracks
- check registered
- Added registration in https://github.com/Automattic/tracks-events-registration/pull/2467
- Any other clickable / interactive elements
- Clicks on tiles ⇒ list views
- List views (transactions, disputes), linked from tiles
wcadmin_page_view path: payments_transactions
for all tiles- except
Fees
tile which is not clickable
- except
- registered https://github.com/Automattic/tracks-events-registration/blob/40d233ca0d11d069b70bc394a14c93b01c7c74e1/events/wcadmin_page_view.event.json
- Changes to view settings for payment activity widget TODO
- Deposit currency change:
wcpay_overview_currency_select_change
- Change date range, via presets or custom range (calendar picker) in future. Proposed event and props:
- Event name: wcadmin_wcpay_overview_payment_activity_period_change
- Event props:
preset_name
(optional) sent if a preset was selected by merchant, could be key/slug or UI string. This will allow us to observe popularity of different presets.- exact dates are sent for all changes
start_date: yyyy-mm-dd
consistent format with other woo events e.g.wcadmin_orders_edit_status_change
end date_date: yyyy-mm-dd
- Deposit currency change:
- Emoji survey
- Assuming we don't need any tracks events for survey, confirming in comments/internal discussion
- Click an emoji icon
- Dismiss or cancel the survey form
- Submit the survey form
questions
- Do we need any tracks events for emoji survey? assuming no
- Do we want any tracks events for tooltips?assuming no
- Fees tile does not link anywhere – is this all good, will merchants be confused, tbc
Activity