From 9b7a5dec475bb6470b0d8cbb5f1815f979cd01b8 Mon Sep 17 00:00:00 2001 From: Renan Lukas <14964993+RenanLukas@users.noreply.github.com> Date: Tue, 9 Jan 2024 20:14:42 -0300 Subject: [PATCH] Add reader dropdown menu opened analytics event key to AnalyticsTracker --- .../java/org/wordpress/android/analytics/AnalyticsTracker.java | 3 ++- .../wordpress/android/analytics/AnalyticsTrackerNosara.java | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 28c466bd1e75..b48df30637d1 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 @@ -1099,7 +1099,8 @@ public enum Stat { DYNAMIC_DASHBOARD_CARD_TAPPED, DYNAMIC_DASHBOARD_CARD_CTA_TAPPED, DYNAMIC_DASHBOARD_CARD_HIDE_TAPPED, - DEEP_LINK_FAILED + DEEP_LINK_FAILED, + READER_DROPDOWN_MENU_OPENED } private static final List TRACKERS = new ArrayList<>(); 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 8d863c39dfd6..d9ca1287569d 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 @@ -2693,6 +2693,8 @@ public static String getEventNameForStat(AnalyticsTracker.Stat stat) { return "dynamic_dashboard_card_hide_tapped"; case DEEP_LINK_FAILED: return "deep_link_failed"; + case READER_DROPDOWN_MENU_OPENED: + return "reader_dropdown_menu_opened"; } return null; }