-
Notifications
You must be signed in to change notification settings - Fork 131
[Woo POS][Product Search] Analytics #13992
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
base: trunk
Are you sure you want to change the base?
[Woo POS][Product Search] Analytics #13992
Conversation
Generated by 🚫 Danger |
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
Track ItemClicked event in variations screen with real source (products, search)
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## trunk #13992 +/- ##
============================================
+ Coverage 38.29% 38.32% +0.03%
- Complexity 9496 9500 +4
============================================
Files 2118 2118
Lines 116434 116512 +78
Branches 14937 14940 +3
============================================
+ Hits 44583 44657 +74
- Misses 67774 67775 +1
- Partials 4077 4080 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
.map { it is SearchState.Visible && it.state is WooPosSearchInputState.Open } | ||
.distinctUntilChanged() | ||
.filter { it } | ||
.onEach { |
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.
onEach is invoked only when WooPosSearchInputState changes from Closed
to Open
.
Closes: WOOPRD-465
Description
Specs
This PR adds tracking for the following events:
search_button_tapped
withitem_list_type parameter: products
item_added_to_cart
to addsource
parameter:list | search_result
pre_search_recent_term_tapped
event, withitem_list_type parameter: products
items_next_page_loaded
event withitem_list_type and search: bool parameters
Steps to reproduce
N/A
Testing information
Verify in logcat that the above events are tracked.
The tests that have been performed
Verified that the events are tracked.
Images/gif
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.Reviewer (or Author, in the case of optional code reviews):
Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement: