From 0b33e8066f2dd1279ed2c90f065be25b662fd254 Mon Sep 17 00:00:00 2001 From: Ajesh R Pai Date: Tue, 5 Sep 2023 14:38:19 +0530 Subject: [PATCH] - Removes: analytics for quick actions --- .../android/analytics/AnalyticsTracker.java | 4 ---- .../analytics/AnalyticsTrackerNosara.java | 17 ----------------- 2 files changed, 21 deletions(-) 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 88c1ec9e6323..18e0622633f3 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 @@ -725,10 +725,6 @@ public enum Stat { DOMAINS_REGISTRATION_FORM_SUBMITTED, DOMAINS_PURCHASE_WEBVIEW_VIEWED, DOMAINS_PURCHASE_DOMAIN_SUCCESS, - QUICK_ACTION_STATS_TAPPED, - QUICK_ACTION_PAGES_TAPPED, - QUICK_ACTION_POSTS_TAPPED, - QUICK_ACTION_MEDIA_TAPPED, QUICK_LINK_RIBBON_PAGES_TAPPED, QUICK_LINK_RIBBON_POSTS_TAPPED, QUICK_LINK_RIBBON_MEDIA_TAPPED, 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 56aee6292855..6feea39cc5fe 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 @@ -419,18 +419,6 @@ public void track(AnalyticsTracker.Stat stat, Map properties) { case APP_REVIEWS_EVENT_INCREMENTED_BY_OPENING_READER_POST: predefinedEventProperties.put("source", "opening_reader_post"); break; - case QUICK_ACTION_STATS_TAPPED: - predefinedEventProperties.put("button", "stats"); - break; - case QUICK_ACTION_PAGES_TAPPED: - predefinedEventProperties.put("button", "pages"); - break; - case QUICK_ACTION_POSTS_TAPPED: - predefinedEventProperties.put("button", "posts"); - break; - case QUICK_ACTION_MEDIA_TAPPED: - predefinedEventProperties.put("button", "media"); - break; case QUICK_LINK_RIBBON_PAGES_TAPPED: predefinedEventProperties.put("button", "pages"); break; @@ -1953,11 +1941,6 @@ public static String getEventNameForStat(AnalyticsTracker.Stat stat) { return "domains_purchase_webview_viewed"; case DOMAINS_PURCHASE_DOMAIN_SUCCESS: return "domains_purchase_domain_success"; - case QUICK_ACTION_STATS_TAPPED: - case QUICK_ACTION_PAGES_TAPPED: - case QUICK_ACTION_POSTS_TAPPED: - case QUICK_ACTION_MEDIA_TAPPED: - return "quick_action_tapped"; case QUICK_LINK_RIBBON_PAGES_TAPPED: case QUICK_LINK_RIBBON_POSTS_TAPPED: case QUICK_LINK_RIBBON_MEDIA_TAPPED: