Skip to content

Commit

Permalink
Start tracking PNs analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloercoli committed Nov 25, 2015
1 parent 29b755f commit 33f06ba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Expand Up @@ -98,6 +98,8 @@ public enum Stat {
PERFORMED_JETPACK_SIGN_IN_FROM_STATS_SCREEN,
STATS_SELECTED_INSTALL_JETPACK,
PUSH_NOTIFICATION_RECEIVED,
PUSH_NOTIFICATION_TAPPED, // Same of opened
PUSH_NOTIFICATION_DISMISSED,
SUPPORT_OPENED_HELPSHIFT_SCREEN,
SUPPORT_SENT_REPLY_TO_SUPPORT_MESSAGE,
LOGIN_FAILED,
Expand Down
Expand Up @@ -303,6 +303,12 @@ public void track(AnalyticsTracker.Stat stat, Map<String, ?> properties) {
case PUSH_NOTIFICATION_RECEIVED:
eventName = "push_notification_received";
break;
case PUSH_NOTIFICATION_TAPPED:
eventName = "push_notification_tapped";
break;
case PUSH_NOTIFICATION_DISMISSED:
eventName = "push_notification_dismissed";
break;
case SUPPORT_OPENED_HELPSHIFT_SCREEN:
eventName = "support_helpshift_screen_opened";
break;
Expand Down

0 comments on commit 33f06ba

Please sign in to comment.