Skip to content

Commit 5201e74

Browse files
committed
new events and renamed s/Closed Post/Closed/
1 parent 027e8f6 commit 5201e74

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

WordPressAnalytics/src/main/java/org/wordpress/android/analytics/AnalyticsTracker.java

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,33 @@ public enum Stat {
5555
STATS_WIDGET_TAPPED,
5656
EDITOR_CREATED_POST,
5757
EDITOR_ADDED_PHOTO_VIA_LOCAL_LIBRARY,
58+
EDITOR_ADDED_VIDEO_VIA_LOCAL_LIBRARY,
5859
EDITOR_ADDED_PHOTO_VIA_WP_MEDIA_LIBRARY,
60+
EDITOR_ADDED_VIDEO_VIA_WP_MEDIA_LIBRARY,
5961
EDITOR_UPDATED_POST,
6062
EDITOR_SCHEDULED_POST,
61-
EDITOR_CLOSED_POST,
63+
EDITOR_CLOSED,
6264
EDITOR_PUBLISHED_POST,
6365
EDITOR_SAVED_DRAFT,
66+
EDITOR_DISCARDED_CHANGES, // Visual editor only
67+
EDITOR_EDITED_IMAGE, // Visual editor only
68+
EDITOR_ENABLED_NEW_VERSION, // Visual editor only
69+
EDITOR_TOGGLED_OFF, // Visual editor only
70+
EDITOR_TOGGLED_ON, // Visual editor only
71+
EDITOR_UPDLOAD_MEDIA_FAILED, // Visual editor only
72+
EDITOR_UPDLOAD_MEDIA_RETRIED, // Visual editor only
6473
EDITOR_TAPPED_BLOCKQUOTE,
6574
EDITOR_TAPPED_BOLD,
75+
EDITOR_TAPPED_HTML, // Visual editor only
6676
EDITOR_TAPPED_IMAGE,
6777
EDITOR_TAPPED_ITALIC,
6878
EDITOR_TAPPED_LINK,
6979
EDITOR_TAPPED_MORE,
7080
EDITOR_TAPPED_STRIKETHROUGH,
7181
EDITOR_TAPPED_UNDERLINE,
82+
EDITOR_TAPPED_ORDERED_LIST, // Visual editor only
83+
EDITOR_TAPPED_UNLINK, // Visual editor only
84+
EDITOR_TAPPED_UNORDERED_LIST, // Visual editor only
7285
ME_ACCESSED,
7386
MY_SITE_ACCESSED,
7487
NOTIFICATIONS_ACCESSED,

WordPressAnalytics/src/main/java/org/wordpress/android/analytics/AnalyticsTrackerMixpanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ private AnalyticsTrackerMixpanelInstructionsForStat instructionsForStat(
403403
instructions.setSuperPropertyAndPeoplePropertyToIncrement("number_of_times_editor_saved_draft");
404404
instructions.setCurrentDateForPeopleProperty("last_time_saved_draft");
405405
break;
406-
case EDITOR_CLOSED_POST:
406+
case EDITOR_CLOSED:
407407
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
408408
mixpanelInstructionsForEventName("Editor - Closed");
409409
instructions.setSuperPropertyAndPeoplePropertyToIncrement("number_of_times_editor_closed");

WordPressAnalytics/src/main/java/org/wordpress/android/analytics/AnalyticsTrackerNosara.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void track(AnalyticsTracker.Stat stat, Map<String, ?> properties) {
120120
case EDITOR_SAVED_DRAFT:
121121
eventName = "editor_draft_saved";
122122
break;
123-
case EDITOR_CLOSED_POST:
123+
case EDITOR_CLOSED:
124124
eventName = "editor_closed";
125125
break;
126126
case EDITOR_ADDED_PHOTO_VIA_LOCAL_LIBRARY:

0 commit comments

Comments
 (0)