Skip to content

Commit

Permalink
Rename OPENED_SETTINGS to OPENED_BLOG_SETTINGS
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloercoli committed Jul 28, 2015
1 parent 4bca430 commit 88020dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Expand Up @@ -84,7 +84,7 @@ public enum Stat {
OPENED_VIEW_SITE,
OPENED_VIEW_ADMIN,
OPENED_MEDIA_LIBRARY,
OPENED_SETTINGS,
OPENED_BLOG_SETTINGS,
CREATED_ACCOUNT,
SHARED_ITEM,
ADDED_SELF_HOSTED_SITE,
Expand Down
Expand Up @@ -17,7 +17,6 @@

import java.util.EnumMap;
import java.util.Iterator;
import java.util.Locale;
import java.util.Map;

public class AnalyticsTrackerMixpanel implements AnalyticsTracker.Tracker {
Expand Down Expand Up @@ -525,7 +524,7 @@ private AnalyticsTrackerMixpanelInstructionsForStat instructionsForStat(
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
mixpanelInstructionsForEventName("Site Menu - Opened Media Library");
break;
case OPENED_SETTINGS:
case OPENED_BLOG_SETTINGS:
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
mixpanelInstructionsForEventName("Site Menu - Opened Settings");
break;
Expand Down
Expand Up @@ -237,7 +237,7 @@ public void track(AnalyticsTracker.Stat stat, Map<String, ?> properties) {
eventName = "site_menu_opened";
predefinedEventProperties.put("menu_item", "media_library");
break;
case OPENED_SETTINGS:
case OPENED_BLOG_SETTINGS:
eventName = "site_menu_opened";
predefinedEventProperties.put("menu_item", "settings");
break;
Expand Down

0 comments on commit 88020dc

Please sign in to comment.