wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.93k stars 1.31k forks source link

Improve Zendesk Tracks events #10540

Open frosty opened 4 years ago

frosty commented 4 years ago

It seems as though our Tracks events for the WP Android Zendesk integration don't have parity with the events we send on iOS.

The full set of events covered on iOS that I don't think are used on Android are:

support_help_center_user_searched
support_help_center_viewed
support_new_request_viewed
support_ticket_list_viewed
support_new_request_created
support_new_request_failed
support_new_request_file_attached
support_new_request_file_attachment_failed
support_ticket_user_replied
support_ticket_user_reply_failed
support_ticket_list_view_failed
support_ticket_user_viewed
support_ticket_view_failed

Most of these are implemented by listening to a notification coming from the Zendesk SDK, which you can see here: https://github.com/wordpress-mobile/WordPress-iOS/blob/develop/WordPress/Classes/Utility/ZendeskUtils.swift#L885

We should try and ensure both platforms are sending the same events for the same situations.

planarvoid commented 4 years ago

I'm reopening this issue since some of the events cannot be tracked with the current version of the Zendesk library on Android. We can come back to it once it supports the same hooks as the iOS library.

stale[bot] commented 3 years ago

This issue has been marked as stale because:

Please comment with an update if you believe this issue is still valid or if it can be closed. This issue will also be reviewed for validity and priority during regularly scheduled triage sessions.