Skip to content

Commit

Permalink
Merge pull request #8336 from wordpress-mobile/issue/8335-missing-event
Browse files Browse the repository at this point in the history
Add the missing event string
  • Loading branch information
hypest authored Sep 18, 2018
2 parents a1c36a7 + 69fb52b commit df1574f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public static void viewPageParentForResult(@NonNull Fragment fragment, @NonNull
intent.putExtra(EXTRA_PAGE_REMOTE_ID_KEY, page.getRemoteId());
fragment.startActivityForResult(intent, RequestCodes.PAGE_PARENT);

AnalyticsUtils.trackWithSiteDetails(Stat.OPENED_PAGE_PARENT, page.getSite());
AnalyticsUtils.trackWithSiteDetails(AnalyticsTracker.Stat.OPENED_PAGE_PARENT, page.getSite());
}

public static void viewCurrentBlogComments(Context context, SiteModel site) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1252,6 +1252,8 @@ public static String getEventNameForStat(AnalyticsTracker.Stat stat) {
return "quick_start_request_dialog_button_tapped";
case INSTALLATION_REFERRER_OBTAINED:
return "installation_referrer_obtained";
case OPENED_PAGE_PARENT:
return "page_parent_opened";
default:
return null;
}
Expand Down

0 comments on commit df1574f

Please sign in to comment.