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

Zendesk Analytics #7902

Open oguzkocer opened 6 years ago

oguzkocer commented 6 years ago

We'd like to implement some analytics events for Zendesk, however the current sdk we use doesn't have callbacks for events: https://developer.zendesk.com/embeddables/docs/android-support-sdk/nutshell whereas the v1 of the same SDK did: https://developer.zendesk.com/embeddables/docs/android/handle_events. We contacted Zendesk about this and waiting for a reply from them.

We discussed the situation with @aerych and we decided to only implement one event for now (PR incoming) support_help_center_viewed which fortunately doesn't need the callback functionality. For the other events listed below, we decided to wait for it as we can't implement the failed versions right now and not all the success versions can be tracked correctly. For example, the user could go to the Help Center and then create a ticket and the only way we can know about that is through a callback.

The events that still needs to be implemented:

SUPPORT_HELP_CENTER_USER_SEARCHED,
SUPPORT_NEW_REQUEST_CREATED,
SUPPORT_NEW_REQUEST_FAILED,
SUPPORT_NEW_REQUEST_FILE_ATTACHED,
SUPPORT_NEW_REQUEST_FILE_ATTACHMENT_FAILED,
SUPPORT_NEW_REQUEST_VIEWED,
SUPPORT_TICKET_LIST_VIEW_FAILED,
SUPPORT_TICKET_LIST_VIEWED,
SUPPORT_TICKET_USER_REPLIED,
SUPPORT_TICKET_USER_REPLY_FAILED,
SUPPORT_TICKET_USER_VIEWED,
SUPPORT_TICKET_VIEW_FAILED,
oguzkocer commented 6 years ago

I forgot to mention that this is the Android counterpart of the iOS issue here: https://github.com/wordpress-mobile/WordPress-iOS/issues/9394

stale[bot] commented 4 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 (cc @designsimply).

designsimply commented 4 years ago

Can we have a new check on this and an update in the next Groundskeeping Android rotation?

oguzkocer commented 4 years ago

@designsimply I had a look at their documentation again and I still don't see callbacks for events. The last time we corresponded with them, we were told that it was in their roadmap. Looks like the SDK has seen some changes, but not about the event handling, unless I am missing it of course.

designsimply commented 4 years ago

@oguzkocer thank you for checking in on it! I appreciate it. I'll move this out of the Groundkeeping maintenance project board for now since it has a blocker and let it come back up again from stalebot (unless we get back 'round to it sooner). 👍