chromium/ios/chrome/browser/ui/content_suggestions/content_suggestions_metrics_constants.mm

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_metrics_constants.h"

#pragma mark - Actions

const char kShowBookmarksAction[] = "MobileNTPShowBookmarks";
const char kShowReadingListAction[] = "MobileNTPShowReadingList";
const char kShowRecentTabsAction[] = "MobileNTPShowRecentTabs";
const char kShowHistoryAction[] = "MobileNTPShowHistory";
const char kShowWhatsNewAction[] = "MobileNTPShowWhatsNew";
const char kShowMostVisitedAction[] = "MobileNTPShowMostVisited";
const char kMostVisitedAction[] = "MobileNTPMostVisited";
const char kMostVisitedUrlBlacklistedAction[] = "MostVisited_UrlBlacklisted";
const char kShowReturnToRecentTabTileAction[] =
    "IOS.StartSurface.ShowReturnToRecentTabTile";
const char kOpenMostRecentTabAction[] = "IOS.StartSurface.OpenMostRecentTab";
const char kContentNotificationSnackbarAction[] =
    "ContentNotifications.Promo.Snackbar.ActionButtonTapped";

#pragma mark - Histograms

const char kTrendingQueriesHistogram[] = "IOS.TrendingQueries";
const char kMagicStackModuleEngagementHistogram[] =
    "IOS.MagicStack.Module.Click";
const char kMagicStackModuleEngagementMostVisitedIndexHistogram[] =
    "IOS.MagicStack.Module.Click.MostVisited";
const char kMagicStackModuleEngagementShortcutsIndexHistogram[] =
    "IOS.MagicStack.Module.Click.Shortcuts";
const char kMagicStackModuleEngagementSetUpListIndexHistogram[] =
    "IOS.MagicStack.Module.Click.SetUpList";
const char kMagicStackModuleEngagementTabResumptionIndexHistogram[] =
    "IOS.MagicStack.Module.Click.TabResumption";
const char kMagicStackModuleEngagementSafetyCheckIndexHistogram[] =
    "IOS.MagicStack.Module.Click.SafetyCheck";
const char kMagicStackModuleEngagementParcelTrackingIndexHistogram[] =
    "IOS.MagicStack.Module.Click.ParcelTracking";
const char kMagicStackModuleEngagementPriceTrackingPromoIndexHistogram[] =
    "IOS.MagicStack.Module.Click.PriceTrackingPromo";
const char kMagicStackModuleDisabledHistogram[] =
    "IOS.MagicStack.Module.Disabled";
const char kContentNotificationSnackbarEventHistogram[] =
    "ContentNotifications.Promo.Snackbar.Event";
const char kIOSSafetyCheckMagicStackHiddenReason[] =
    "IOS.SafetyCheck.MagicStack.HiddenReason";

const char kMagicStackStartSegmentationRankingFetchTimeHistogram[] =
    "IOS.MagicStack.Start.SegmentationRankingFetchTime";
const char kMagicStackNTPSegmentationRankingFetchTimeHistogram[] =
    "IOS.MagicStack.NTP.SegmentationRankingFetchTime";