Skip to content
This repository was archived by the owner on Jun 23, 2022. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,15 @@ public enum Stat {
NOTIFICATION_UNLIKED,
NOTIFICATION_TRASHED,
NOTIFICATION_FLAGGED_AS_SPAM,
OPENED_ACCOUNT_SETTINGS,
OPENED_POSTS,
OPENED_PAGES,
OPENED_COMMENTS,
OPENED_VIEW_SITE,
OPENED_VIEW_ADMIN,
OPENED_MEDIA_LIBRARY,
OPENED_SETTINGS,
OPENED_MY_PROFILE,
OPENED_SITE_SETTINGS,
CREATED_ACCOUNT,
SHARED_ITEM,
ADDED_SELF_HOSTED_SITE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -522,9 +522,17 @@ private AnalyticsTrackerMixpanelInstructionsForStat instructionsForStat(
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
mixpanelInstructionsForEventName("Site Menu - Opened Media Library");
break;
case OPENED_SETTINGS:
case OPENED_SITE_SETTINGS:
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
mixpanelInstructionsForEventName("Site Menu - Opened Settings");
mixpanelInstructionsForEventName("Site Menu - Opened Site Settings");
break;
case OPENED_MY_PROFILE:
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
mixpanelInstructionsForEventName("Me - Opened My Profile");
break;
case OPENED_ACCOUNT_SETTINGS:
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
mixpanelInstructionsForEventName("Me - Opened Account Settings");
break;
case CREATED_ACCOUNT:
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,14 @@ public void track(AnalyticsTracker.Stat stat, Map<String, ?> properties) {
case OPENED_MEDIA_LIBRARY:
eventName = "site_menu_opened_media_library";
break;
case OPENED_SETTINGS:
eventName = "site_menu_opened_settings";
case OPENED_SITE_SETTINGS:
eventName = "site_menu_opened_site_settings";
break;
case OPENED_MY_PROFILE:
eventName = "me_opened_my_profile";
break;
case OPENED_ACCOUNT_SETTINGS:
eventName = "me_opened_account_settings";
break;
case CREATED_ACCOUNT:
eventName = "created_account";
Expand Down