diff --git a/WordPress/src/main/java/org/wordpress/android/ui/stats/refresh/lists/sections/granular/SelectedDateProvider.kt b/WordPress/src/main/java/org/wordpress/android/ui/stats/refresh/lists/sections/granular/SelectedDateProvider.kt index 45dcfa1d3414..e0760a4f395c 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/stats/refresh/lists/sections/granular/SelectedDateProvider.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/stats/refresh/lists/sections/granular/SelectedDateProvider.kt @@ -8,7 +8,7 @@ import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import kotlinx.parcelize.Parceler import kotlinx.parcelize.Parcelize -import org.wordpress.android.analytics.AnalyticsTracker.Stat.STATS_NEXT_DATE_TAPPED +import org.wordpress.android.analytics.AnalyticsTracker.Stat.STATS_DATE_TAPPED_FORWARD import org.wordpress.android.analytics.AnalyticsTracker.Stat.STATS_DATE_TAPPED_BACKWARD import org.wordpress.android.fluxc.network.utils.StatsGranularity import org.wordpress.android.ui.stats.refresh.utils.StatsDateFormatter @@ -101,7 +101,7 @@ class SelectedDateProvider fun selectNextDate(statsGranularity: StatsGranularity) { val selectedDateState = getSelectedDateState(statsGranularity) if (selectedDateState.hasData()) { - analyticsTrackerWrapper.trackWithGranularity(STATS_NEXT_DATE_TAPPED, statsGranularity) + analyticsTrackerWrapper.trackWithGranularity(STATS_DATE_TAPPED_FORWARD, statsGranularity) updateSelectedDate(selectedDateState.copy(dateValue = selectedDateState.getNextDate()), statsGranularity) } } diff --git a/libs/analytics/src/main/java/org/wordpress/android/analytics/AnalyticsTracker.java b/libs/analytics/src/main/java/org/wordpress/android/analytics/AnalyticsTracker.java index e1f2c4ae4b5b..0fe9a77f7d2e 100644 --- a/libs/analytics/src/main/java/org/wordpress/android/analytics/AnalyticsTracker.java +++ b/libs/analytics/src/main/java/org/wordpress/android/analytics/AnalyticsTracker.java @@ -100,8 +100,8 @@ public enum Stat { STATS_PERIOD_MONTHS_ACCESSED, STATS_PERIOD_YEARS_ACCESSED, STATS_VIEW_ALL_ACCESSED, - STATS_NEXT_DATE_TAPPED, STATS_DATE_TAPPED_BACKWARD, + STATS_DATE_TAPPED_FORWARD, STATS_INSIGHTS_TOTAL_LIKES_GUIDE_TAPPED, STATS_INSIGHTS_ACTION_BLOGGING_REMINDERS_CONFIRMED, STATS_INSIGHTS_ACTION_BLOGGING_REMINDERS_DISMISSED, diff --git a/libs/analytics/src/main/java/org/wordpress/android/analytics/AnalyticsTrackerNosara.java b/libs/analytics/src/main/java/org/wordpress/android/analytics/AnalyticsTrackerNosara.java index 6261eb2aec4c..2f946200e424 100644 --- a/libs/analytics/src/main/java/org/wordpress/android/analytics/AnalyticsTrackerNosara.java +++ b/libs/analytics/src/main/java/org/wordpress/android/analytics/AnalyticsTrackerNosara.java @@ -1109,10 +1109,10 @@ public static String getEventNameForStat(AnalyticsTracker.Stat stat) { return "stats_period_accessed"; case STATS_VIEW_ALL_ACCESSED: return "stats_view_all_accessed"; - case STATS_NEXT_DATE_TAPPED: - return "stats_next_date_tapped"; case STATS_DATE_TAPPED_BACKWARD: return "stats_date_tapped_backward"; + case STATS_DATE_TAPPED_FORWARD: + return "stats_date_tapped_forward"; case STATS_INSIGHTS_TOTAL_LIKES_GUIDE_TAPPED: return "stats_insights_total_likes_guide_tapped"; case STATS_INSIGHTS_ACTION_BLOGGING_REMINDERS_CONFIRMED: