Skip to content

Commit b4088f5

Browse files
committed
Merge pull request #3498 from wordpress-mobile/issue/3470-remove-stats-web-analytics
Remove Stats Opened Web Version from Analytics
2 parents f1c6835 + 2aa0303 commit b4088f5

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ public enum Stat {
2525
READER_ARTICLE_COMMENTED_ON,
2626
READER_ARTICLE_LIKED,
2727
READER_ARTICLE_OPENED,
28-
READER_ARTICLE_REBLOGGED,
2928
READER_ARTICLE_UNLIKED,
3029
READER_BLOG_BLOCKED,
3130
READER_BLOG_FOLLOWED,
@@ -50,7 +49,6 @@ public enum Stat {
5049
STATS_PERIOD_YEARS_ACCESSED,
5150
STATS_VIEW_ALL_ACCESSED,
5251
STATS_SINGLE_POST_ACCESSED,
53-
STATS_OPENED_WEB_VERSION,
5452
STATS_TAPPED_BAR_CHART,
5553
STATS_SCROLLED_TO_BOTTOM,
5654
STATS_WIDGET_ADDED,

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -299,12 +299,6 @@ private AnalyticsTrackerMixpanelInstructionsForStat instructionsForStat(
299299
instructions.setSuperPropertyAndPeoplePropertyToIncrement("number_of_times_opened_article");
300300
instructions.setCurrentDateForPeopleProperty("last_time_opened_reader_article");
301301
break;
302-
case READER_ARTICLE_REBLOGGED:
303-
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
304-
mixpanelInstructionsForEventName("Reader - Reblogged Article");
305-
instructions.setSuperPropertyAndPeoplePropertyToIncrement("number_of_times_reblogged_article");
306-
instructions.setCurrentDateForPeopleProperty("last_time_reblogged_article");
307-
break;
308302
case READER_ARTICLE_UNLIKED:
309303
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
310304
mixpanelInstructionsForEventName("Reader - Unliked Article");
@@ -661,12 +655,6 @@ private AnalyticsTrackerMixpanelInstructionsForStat instructionsForStat(
661655
instructions.setSuperPropertyAndPeoplePropertyToIncrement("number_of_times_accessed_single_post_screen_stats");
662656
instructions.setCurrentDateForPeopleProperty("last_time_accessed_single_post_screen_stats");
663657
break;
664-
case STATS_OPENED_WEB_VERSION:
665-
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
666-
mixpanelInstructionsForEventName("Stats - Opened Web Version");
667-
instructions.setSuperPropertyAndPeoplePropertyToIncrement("number_of_times_accessed_web_version_of_stats");
668-
instructions.setCurrentDateForPeopleProperty("last_time_accessed_web_version_of_stats");
669-
break;
670658
case STATS_TAPPED_BAR_CHART:
671659
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
672660
mixpanelInstructionsForEventName("Stats - Tapped Bar Chart");

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ public void track(AnalyticsTracker.Stat stat, Map<String, ?> properties) {
6969
case READER_ARTICLE_OPENED:
7070
eventName = "reader_article_opened";
7171
break;
72-
case READER_ARTICLE_REBLOGGED:
73-
eventName = "reader_article_reblogged";
74-
break;
7572
case READER_ARTICLE_UNLIKED:
7673
eventName = "reader_article_unliked";
7774
break;
@@ -288,9 +285,6 @@ public void track(AnalyticsTracker.Stat stat, Map<String, ?> properties) {
288285
case STATS_SINGLE_POST_ACCESSED:
289286
eventName = "stats_single_post_accessed";
290287
break;
291-
case STATS_OPENED_WEB_VERSION:
292-
eventName = "stats_web_version_accessed";
293-
break;
294288
case STATS_TAPPED_BAR_CHART:
295289
eventName = "stats_bar_chart_tapped";
296290
break;

0 commit comments

Comments
 (0)