-
Notifications
You must be signed in to change notification settings - Fork 121
[POS Orders] Add analytics for point of sale order filtering #15890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
|
👋 There is no rush to wrap this one before 22.8, it can wait till next week. |
jaclync
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
non-blocking: I was wondering how we differentiate the lack of the new event property because it's not available (release version, WC version) vs. the filter set to "Any." This can make it tricky to answer the analytics question like the % of stores set the sales channel filter to POS, since the base number includes stores not seeing the filter. If this is something we want to know, we can track the "any" option for the event property whenever the event is tracked.
| } | ||
| } | ||
|
|
||
| var analyticsDescription: String? { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this could be an extension of FilterOrderListViewModel.SalesChannelFilter in the analytics file, could be fileprivate as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good suggestion, updated on 26e679b
|
Thanks for the review!
Very good point, at the moment |

Closes WOOMOB-705
Description
This PR adds analytics when filtering orders by POS. We add
sales_channel: posto the existingorders_list_filterevent if POS as sales channel has been selected for filtering orders.Screen.Recording.2025-07-10.at.17.07.03.mov
Testing information
Show Orders. Observe the propertysales_channel: posis trackedAny, tapShow Orders. Observe the propertysales_channelis not trackedPoint of saleis an active filter, it should be tracked.