woocommerce-android
woocommerce-android copied to clipboard
Issue/7053 track linked products
This PR partly addresses #7053 by adding missing tracking of linked products.
The reason for the missed tracking was that the tracking was being done on the grouped product list screen, which is bypassed when there are no linked products yet. I checked on iOS and it shows the grouped product list with a "No products yet" empty view in this situation, so I chose to match iOS.
To test:
- Open product detail for a product that has no linked products
- Tap "Add more details"
- Tap "Linked products"
- Tap "Add products"
- Verify the grouped product list is shown with an empty view
- Tap "Add product" and verify that
connected_products_listis tracked withaction: add_tapped - Select a product and verify that
connected_products_listis tracked with `action: added
Android empty linked product list:

iOS empty linked product list:

- [x] I have considered if this change warrants user-facing release notes and have added them to
RELEASE-NOTES.txtif necessary.
You can test the changes on this Pull Request by downloading an installable build, or scanning this QR code:
@rachelmcr Pinging you before requesting a reviewer to verify this is tracking the same as iOS.
@nbradbury I tested and verified this works as expected, matching the iOS tracking. Thank you! (And sorry for the delay; I missed this notification yesterday.)