-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathPixelEvent.swift
More file actions
3619 lines (3077 loc) · 205 KB
/
PixelEvent.swift
File metadata and controls
3619 lines (3077 loc) · 205 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//
// PixelEvent.swift
// DuckDuckGo
//
// Copyright © 2022 DuckDuckGo. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
import Foundation
import BrowserServicesKit
import Bookmarks
import Configuration
import ContentBlocking
import DDGSync
import MaliciousSiteProtection
import PixelKit
extension Pixel {
public enum Event {
case appInstall
case appLaunch
/// Fires when the app launches as a result of tapping an http/https link outside the DDG browser.
///
/// For more info check the [Asana Task](https://app.asana.com/0/72649045549333/1209593812414962/f)
case appLaunchFromExternalLink
/// Fires when the app launches as a result of an external app sharing a link with the DDG browser.
///
/// For more info check the [Asana Task](https://app.asana.com/0/72649045549333/1209593812414962/f)
case appLaunchFromShareExtension
case refreshPressed
case pullToRefresh
// https://app.asana.com/1/137249556945/project/392891325557410/task/1210882421460693?focus=true
case widgetReport
case widgetReportFailure
case deviceOrientationLandscape
case keyboardGoWhileOnNTP
case keyboardGoWhileOnWebsite
case keyboardGoWhileOnSERP
case keyboardGoWhileOnAIChat
case keyboardSettingsOnNewTabEnabledDaily
case keyboardSettingsOnAppLaunchEnabledDaily
case keyboardOnAppLaunchUsedDaily
case forgetAllPressedBrowsing
case forgetAllPressedTabSwitching
case forgetAllPressedSettings
case forgetAllExecuted
case forgetAllDataCleared
case forgetAllPressedBrowsingDaily
case forgetAllPressedTabSwitcherDaily
case forgetAllExecutedDaily
// MARK: Single Tab Burn
case singleTabBurnExecuted
case singleTabDataCleared
case privacyDashboardOpened
case privacyDashboardFirstTimeOpenedUnique
case dashboardProtectionAllowlistAdd
case dashboardProtectionAllowlistRemove
case privacyDashboardReportBrokenSite
case tabSwitcherListEnabled
case tabSwitcherGridEnabled
case tabSwitcherNewTab
case tabSwitcherSwitchTabs
case tabSwitcherClickCloseTab
case tabSwitcherSwipeCloseTab
case tabSwitchLongPressNewTab
case tabSwitcherOpenedDaily
case tabManagerSwitchToAITab
case tabManagerSwitchToWebTab
case tabManagerCloseAITab
case tabManagerCloseWebTab
// MARK: KeyValueFiles Store
case keyValueFileStoreSupportDirAccessError
case keyValueFileStoreInitError
// MARK: Tabs Store
case tabsStoreSupportDirAccessError
case tabsStoreInitError
case tabsStoreSaveError
case tabsStoreReadError
// MARK: Tabswitcher improvements
case tabSwitcherEditMenuClicked
case tabSwitcherEditMenuSelectTabs
case tabSwitcherEditMenuSelectTabsDaily
case tabSwitcherEditMenuCloseAllTabs
case tabSwitcherEditMenuCloseAllTabsDaily
case tabSwitcherTabSelected
case tabSwitcherTabDeselected
case tabSwitcherSelectAll
case tabSwitcherSelectAllDaily
case tabSwitcherDeselectAll
case tabSwitcherDeselectAllDaily
case tabSwitcherCloseAll
case tabSwitcherCloseAllDaily
case tabSwitcherConfirmCloseTabs
case tabSwitcherConfirmCloseTabsDaily
case tabSwitcherSelectModeMenuClicked
case tabSwitcherSelectModeMenuShareLinks
case tabSwitcherSelectModeMenuShareLinksDaily
case tabSwitcherSelectModeMenuBookmarkTabs
case tabSwitcherSelectModeMenuBookmarkTabsDaily
case tabSwitcherSelectModeMenuBookmarkAllTabs
case tabSwitcherSelectModeMenuBookmarkAllTabsDaily
case tabSwitcherSelectModeMenuCloseOtherTabs
case tabSwitcherSelectModeMenuCloseOtherTabsDaily
case tabSwitcherLongPress
case tabSwitcherLongPressDaily
case tabSwitcherLongPressShare
case tabSwitcherLongPressBookmarkTabs
case tabSwitcherLongPressBookmarkTabsDaily
case tabSwitcherLongPressSelectTabs
case tabSwitcherLongPressCloseTab
case tabSwitcherLongPressCloseOtherTabs
case tabSwitcherLongPressCloseOtherTabsDaily
case settingsDoNotSellShown
case settingsDoNotSellOn
case settingsDoNotSellOff
case settingsAutoconsentShown
case settingsAutoconsentOn
case settingsAutoconsentOff
case browsingMenuOpened
case browsingMenuOpenedNewTabPage
case browsingMenuOpenedError
case browsingMenuDismissed
case browsingMenuNewTab
case browsingMenuAddToBookmarks
case browsingMenuEditBookmark
case browsingMenuAddToFavorites
case browsingMenuRemoveFromFavorites
case browsingMenuAddToFavoritesAddFavoriteFlow
case browsingMenuToggleBrowsingMode
case browsingMenuShare
case browsingMenuCopy
case browsingMenuPrint
case browsingMenuListPrint
case browsingMenuFindInPage
case browsingMenuZoom
case browsingMenuDisableProtection
case browsingMenuEnableProtection
case browsingMenuReportBrokenSite
case browsingMenuFireproof
case fireproofingETLDPlus1MigrationStart
case fireproofingETLDPlus1MigrationSuccess
case fireproofingETLDPlus1MigrationFailed
case browsingMenuAutofill
case browsingMenuAIChatNewTabPage
case browsingMenuAIChatWebPage
case browsingMenuRefreshPage
case browsingMenuNewDuckAddress
case browsingMenuVPN
case browsingMenuAIChat
case addressBarShare
case addressBarSettings
case addressBarCancelPressedOnNTP
case addressBarCancelPressedOnWebsite
case addressBarCancelPressedOnSERP
case addressBarCancelPressedOnAIChat
case addressBarClickOnNTP
case addressBarClickOnWebsite
case addressBarClickOnSERP
case addressBarClickOnAIChat
case addressBarClearPressedOnNTP
case addressBarClearPressedOnWebsite
case addressBarClearPressedOnSERP
case addressBarClearPressedOnAIChat
case addressBarGestureDismiss
case shareSheetResultSuccess
case shareSheetResultFail
case shareSheetActivityCopy
case shareSheetActivityAddBookmark
case shareSheetActivityAddFavorite
case shareSheetActivityFindInPage
case shareSheetActivityPrint
case shareSheetActivityAddToReadingList
case shareSheetActivityOther
case tabBarBackPressed
case tabBarForwardPressed
case bookmarksButtonPressed
case tabBarBookmarksLongPressed
case tabBarTabSwitcherOpened
case homeScreenShown
case homeScreenEditFavorite
case homeScreenDeleteFavorite
case favoriteLaunchedNTP
case favoriteLaunchedWebsite
case favoriteLaunchedWidget
case autocompleteMessageShown
case autocompleteMessageDismissed
case autocompleteClickPhrase
case autocompleteClickWebsite
case autocompleteClickBookmark
case autocompleteClickFavorite
case autocompleteClickSearchHistory
case autocompleteClickSiteHistory
case autocompleteClickOpenTab
case autocompleteAskAIChatLegacyExperience
case autocompleteAskAIChatExperimentalExperience
case autocompleteDisplayedLocalBookmark
case autocompleteDisplayedLocalFavorite
case autocompleteDisplayedLocalHistory
case autocompleteDisplayedOpenedTab
case autocompleteSwipeToDelete
case autocompleteSwipeToDeleteDaily
case feedbackPositive
case feedbackNegativePrefix(category: String)
case brokenSiteReport
// MARK: - Onboarding
case onboardingIntroShownUnique
case onboardingIntroSkipOnboardingCTAPressed
case onboardingIntroConfirmSkipOnboardingCTAPressed
case onboardingIntroResumeOnboardingCTAPressed
case onboardingIntroComparisonChartShownUnique
case onboardingIntroChooseBrowserCTAPressed
case onboardingIntroChooseAppIconImpressionUnique
case onboardingIntroChooseCustomAppIconColorCTAPressed
case onboardingIntroChooseAddressBarImpressionUnique
case onboardingIntroBottomAddressBarSelected
case onboardingIntroChooseSearchExperienceImpressionUnique
case onboardingIntroAIChatSelected
case onboardingIntroSearchOnlySelected
case onboardingContextualSearchOptionTappedUnique
case onboardingContextualSearchCustomUnique
case onboardingContextualSiteOptionTappedUnique
case onboardingContextualSiteCustomUnique
case onboardingContextualSecondSiteVisitUnique
case onboardingContextualTrySearchUnique
case onboardingContextualTryVisitSiteUnique
case daxDialogsSerpUnique
case daxDialogsWithoutTrackersUnique
case daxDialogsWithoutTrackersFollowUp
case daxDialogsWithTrackersUnique
case daxDialogsSiteIsMajorUnique
case daxDialogsSiteOwnedByMajorUnique
case daxDialogsFireEducationShownUnique
case daxDialogsFireEducationConfirmedUnique
case daxDialogsFireEducationCancelledUnique
case daxDialogsEndOfJourneyTabUnique
case daxDialogsEndOfJourneyNewTabUnique
case daxDialogsEndOfJourneyDismissed
// MARK: - Dismiss Dax Dialog
// [Pixel Triage](https://app.asana.com/0/69071770703008/1209886067589853)
// [Pixels description](https://app.asana.com/0/1206329551987282/1209878560708456/f)
/// Event Trigger: Triggered when the users dismiss the “Try Search” dialog prompted from a new tab.
/// Anomaly Investigation: It is normal for this pixel to spike as the number of installs grows. Ensure that the number of dismiss is not greater than the dialog number of impressions.
case onboardingTrySearchDialogNewTabDismissButtonTapped
/// Event Trigger: Triggered when the users dismiss the "Search Result" dialog upon performing an anonymous search.
/// Anomaly Investigation: It is normal for this pixel to spike as the number of installs grows. Ensure that the number of dismiss is not greater than the dialog number of impressions.
case onboardingSearchResultDialogDismissButtonTapped
/// Event Trigger: Triggered when the users dismiss the "Try Visit Site" dialog prompted from a new tab.
/// Anomaly Investigation: It is normal for this pixel to spike as the number of installs grows. Ensure that the number of dismiss is not greater than the dialog number of impressions.
case onboardingTryVisitSiteDialogNewTabDismissButtonTapped
/// Event Trigger: Triggered when the users dismiss the "Try Visit Site" dialog prompted from in-context navigation.
/// Anomaly Investigation: It is normal for this pixel to spike as the number of installs grows. Ensure that the number of dismiss is not greater than the dialog number of impressions.
case onboardingTryVisitSiteDialogDismissButtonTapped
/// Event Trigger: Triggered when the users dismiss the "Blocked Trackers dialog".
/// Anomaly Investigation: Check that
case onboardingTrackersDialogDismissButtonTapped
/// Event Trigger: Triggered when the users dismiss the "Fire Button" dialog prompted from in-context navigation.
/// Anomaly Investigation: It is normal for this pixel to spike as the number of installs grows. Ensure that the number of dismiss is not greater than the dialog number of impressions.
case onboardingFireDialogDismissButtonTapped
/// Event Trigger: Triggered when the users dismiss the "End of Journey" dialog prompted from a new tab.
/// Anomaly Investigation: It is normal for this pixel to spike as the number of installs grows. Ensure that the number of dismiss is not greater than the dialog number of impressions.
case onboardingEndOfJourneyDialogNewTabDismissButtonTapped
/// Event Trigger: Triggered when the users dismiss the "End of Journey" dialog prompted from in-context navigation.
/// Anomaly Investigation: It is normal for this pixel to spike as the number of installs grows. Ensure that the number of dismiss is not greater than the dialog number of impressions.
case onboardingEndOfJourneyDialogDismissButtonTapped
/// Event Trigger: Triggered when the users dismiss the "Subscription" dialog prompted from a new tab.
/// Anomaly Investigation: It is normal for this pixel to spike as the number of installs grows. Ensure that the number of dismiss is not greater than the dialog number of impressions.
case onboardingSubscriptionDialogDismissButtonTapped
// MARK: - Onboarding Add To Dock
case onboardingAddToDockPromoImpressionsUnique
case onboardingAddToDockPromoShowTutorialCTATapped
case onboardingAddToDockPromoDismissCTATapped
case onboardingAddToDockTutorialDismissCTATapped
// MARK: - Onboarding Add To Dock
case widgetsOnboardingCTAPressed
case widgetsOnboardingDeclineOptionPressed
case widgetsOnboardingMovedToBackground
case emailEnabled
case emailDisabled
case emailUserPressedUseAddress
case emailUserPressedUseAlias
case emailUserCreatedAlias
case emailTooltipDismissed
case voiceSearchSERPDone
case voiceSearchAIChatDone
case openVoiceSearch
case voiceSearchCancelled
case bookmarkLaunchList
case bookmarkLaunchScored
case bookmarkAddFavoriteFromBookmark
case bookmarkRemoveFavoriteFromBookmark
case bookmarkAddFavoriteBySwipe
case bookmarkDeletedFromBookmark
case bookmarkImportSuccess
case bookmarkImportFailure
case bookmarkImportFailureParsingDL
case bookmarkImportFailureParsingBody
case bookmarkImportFailureTransformingSafari
case bookmarkImportFailureSaving
case bookmarkImportFailureUnknown
case bookmarkExportSuccess
case bookmarkExportFailure
case textZoomSettingsChanged
case textZoomChangedOnPage
case textZoomChangedOnPageDaily
case downloadStarted
case downloadStartedDueToUnhandledMIMEType
case downloadTriedToPresentPreviewWithoutTab
case downloadsListOpened
case downloadsListOngoingDownloadCancelled
case downloadsListCompleteDownloadDeleted
case downloadsListAllCompleteDownloadsDeleted
case downloadsListDeleteUndo
case downloadsListSharePressed
case downloadsSharingPredownloadedLocalFile
case jsAlertShown
case featureFlaggingInternalUserAuthenticated
// MARK: Autofill pixels
case autofillLoginsSaveLoginModalDisplayed
case autofillLoginsSaveLoginModalConfirmed
case autofillLoginsSaveLoginModalDismissed
case autofillLoginsSaveLoginModalExcludeSiteConfirmed
case autofillLoginsSaveLoginOnboardingModalDisplayed
case autofillLoginsSaveLoginOnboardingModalConfirmed
case autofillLoginsSaveLoginOnboardingModalDismissed
case autofillLoginsSaveLoginOnboardingModalExcludeSiteConfirmed
case autofillLoginsSavePasswordModalDisplayed
case autofillLoginsSavePasswordModalConfirmed
case autofillLoginsSavePasswordModalDismissed
case autofillLoginsUpdatePasswordModalDisplayed
case autofillLoginsUpdatePasswordModalConfirmed
case autofillLoginsUpdatePasswordModalDismissed
case autofillLoginsUpdateUsernameModalDisplayed
case autofillLoginsUpdateUsernameModalConfirmed
case autofillLoginsUpdateUsernameModalDismissed
case autofillLoginsFillLoginInlineManualDisplayed
case autofillLoginsFillLoginInlineManualConfirmed
case autofillLoginsFillLoginInlineManualDismissed
case autofillLoginsFillLoginInlineAutopromptDisplayed
case autofillLoginsFillLoginInlineAutopromptConfirmed
case autofillLoginsFillLoginInlineAuthenticationDeviceDisplayed
case autofillLoginsFillLoginInlineAuthenticationDeviceAuthAuthenticated
case autofillLoginsFillLoginInlineAuthenticationDeviceAuthFailed
case autofillLoginsFillLoginInlineAuthenticationDeviceAuthUnavailable
case autofillLoginsFillLoginInlineAuthenticationDeviceAuthCancelled
case autofillLoginsAutopromptDismissed
case autofillLoginsFillLoginInlineDisableSnackbarShown
case autofillLoginsFillLoginInlineDisableSnackbarOpenSettings
case autofillLoginsSettingsEnabled
case autofillLoginsSettingsDisabled
case autofillLoginsSettingsResetExcludedDisplayed
case autofillLoginsSettingsResetExcludedConfirmed
case autofillLoginsSettingsResetExcludedDismissed
case autofillLoginsPasswordGenerationPromptDisplayed
case autofillLoginsPasswordGenerationPromptConfirmed
case autofillLoginsPasswordGenerationPromptDismissed
case autofillLoginsLaunchWidgetHome
case autofillLoginsLaunchWidgetLock
case autofillLoginsLaunchAppShortcut
case autofillLoginsImport
case autofillLoginsImportNoPasswords
case autofillLoginsImportGetDesktop
case autofillLoginsImportSync
case autofillLoginsImportNoAction
case autofillLoginsImportSuccess
case autofillLoginsImportFailure
case autofillActiveUser
case autofillEnabledUser
case autofillOnboardedUser
case autofillToggledOn
case autofillToggledOff
case autofillExtensionToggledOn
case autofillExtensionToggledOff
case autofillLoginsStacked
case autofillCreditCardsStacked
case autofillDeviceCapabilityDeviceAuthDisabled
case autofillSettingsOpened
case autofillManagementOpened
case autofillManagementCopyUsername
case autofillManagementCopyPassword
case autofillManagementDeleteLogin
case autofillManagementDeleteAllLogins
case autofillManagementSaveLogin
case autofillManagementUpdateLogin
case autofillLoginsReportFailure
case autofillLoginsReportAvailable
case autofillLoginsReportConfirmationPromptDisplayed
case autofillLoginsReportConfirmationPromptConfirmed
case autofillLoginsReportConfirmationPromptDismissed
case autofillCardsSaveCardInlineDisplayed
case autofillCardsSaveCardInlineConfirmed
case autofillCardsSaveCardInlineDismissed
case autofillCardsFillCardManualInlineDisplayed
case autofillCardsFillCardManualInlineConfirmed
case autofillCardsFillCardManualInlineDismissed
case autofillCardsKeyboardFill
case autofillCardsKeyboardOpenSettings
case autofillCardsSaveDisableSnackbarShown
case autofillCardsSaveDisableSnackbarOpenSettings
case autofillCardsSettingsEnabled
case autofillCardsSettingsDisabled
case autofillCardsManagementOpened
case autofillCardsManagementCopyCardNumber
case autofillCardsManagementDeleteCard
case autofillCardsManagementSaveCard
case autofillCardsManagementUpdateCard
case autofillManagementScreenVisitSurveyAvailable
case getDesktopCopy
case getDesktopShare
case autofillExtensionEnabled
case autofillExtensionDisabled
case autofillExtensionWelcomeDismiss
case autofillExtensionWelcomeLaunchApp
case autofillExtensionQuickTypeConfirmed
case autofillExtensionQuickTypeCancelled
case autofillExtensionPasswordsOpened
case autofillExtensionPasswordsDismissed
case autofillExtensionPasswordSelected
case autofillExtensionPasswordsSearch
case autofillExtensionPasswordsPromoDisplayed
case autofillExtensionPasswordsPromoConfirmed
case autofillExtensionPasswordsPromoDismissed
case autofillExtensionInlinePromoDisplayed
case autofillExtensionInlinePromoConfirmed
case autofillExtensionInlinePromoDismissed
case autofillExtensionInlinePromoDismissedPermanently
case autofillExtensionSettingsTurnOnTapped
case autofillExtensionSettingsTurnOffTapped
case autofillExtensionSettingsTurnOnSuccess
case autofillExtensionSettingsTurnOnThrottled
case autofillExtensionSettingsTurnOnCancelled
case autofillExtensionSettingsTurnOnFailed
case autofillJSPixelFired(_ pixel: AutofillUserScript.JSPixel)
case secureVaultError
case secureVaultInitFailedError
case secureVaultFailedToOpenDatabaseError
case sharedSecureVaultInitFailed
// Replacing secureVaultIsEnabledCheckedWhenEnabledAndBackgrounded with data protection check
case secureVaultIsEnabledCheckedWhenEnabledAndDataProtected
case secureVaultV4Migration
case secureVaultV4MigrationSkipped
case importCredentialsFlowStarted
case importCredentialsFlowCancelled
case importCredentialsFlowHadCredentials
case importCredentialsFlowEnded
case importCredentialsPromptNeverAgainClicked
// MARK: Data Import pixels
case autofillImportPasswordsImportButtonTapped
case autofillImportPasswordsImportButtonShown
case autofillImportPasswordsOverflowMenuTapped
case bookmarksImportButtonTapped
case bookmarksImportButtonShown
case bookmarksImportOverflowMenuTapped
case importInstructionsDisplayed
case importInstructionsFileButtonTapped
case importInstructionsToggled
case importInstructionsFileSelectedZip
case importInstructionsFileSelectedHtml
case importInstructionsFileSelectedCsv
case importInstructionsCancelled
case importPreviewPromptDisplayed
case importPreviewPromptConfirmed
case importPreviewPromptDismissed
case importResultDisplayed
case importResultPasswordsSuccess
case importResultBookmarksSuccess
case importResultCreditCardsSuccess
case importResultSyncButtonShown
case importResultSyncButtonTapped
case importResultPasswordsParsing
case importResultBookmarksParsing
case importResultUnzipping
// MARK: Ad Click Attribution pixels
case adClickAttributionDetected
case adClickAttributionActive
case adClickAttributionPageLoads
// MARK: SERP pixels
case serpRequerySame
case serpRequeryNew
// MARK: Network Protection
case networkProtectionActiveUser
case networkProtectionNewUser
case networkProtectionControllerStartAttempt
case networkProtectionControllerStartSuccess
case networkProtectionControllerStartFailure
case networkProtectionTunnelStartAttempt
case networkProtectionTunnelStartAttemptOnDemandWithoutAccessToken
case networkProtectionTunnelStartSuccess
case networkProtectionTunnelStartFailure
case networkProtectionTunnelStopAttempt
case networkProtectionTunnelStopSuccess
case networkProtectionTunnelStopFailure
case networkProtectionTunnelUpdateAttempt
case networkProtectionTunnelUpdateSuccess
case networkProtectionTunnelUpdateFailure
case networkProtectionTunnelWakeFailure
case networkProtectionEnableAttemptConnecting
case networkProtectionEnableAttemptSuccess
case networkProtectionEnableAttemptFailure
case networkProtectionServerMigrationAttempt
case networkProtectionServerMigrationAttemptSuccess
case networkProtectionServerMigrationAttemptFailure
case networkProtectionConnectionTesterFailureDetected
case networkProtectionConnectionTesterFailureRecovered(failureCount: Int)
case networkProtectionConnectionTesterExtendedFailureDetected
case networkProtectionConnectionTesterExtendedFailureRecovered(failureCount: Int)
case networkProtectionTunnelFailureDetected
case networkProtectionTunnelFailureRecovered
case networkProtectionLatency(quality: String)
case networkProtectionLatencyError
case networkProtectionEnabledOnSearch
case networkProtectionRekeyAttempt
case networkProtectionRekeyFailure
case networkProtectionRekeyCompleted
case networkProtectionTunnelConfigurationNoServerRegistrationInfo
case networkProtectionTunnelConfigurationCouldNotSelectClosestServer
case networkProtectionTunnelConfigurationCouldNotGetPeerPublicKey
case networkProtectionTunnelConfigurationCouldNotGetPeerHostName
case networkProtectionTunnelConfigurationCouldNotGetInterfaceAddressRange
case networkProtectionClientFailedToFetchServerList
case networkProtectionClientFailedToParseServerListResponse
case networkProtectionClientFailedToFetchServerStatus
case networkProtectionClientFailedToParseServerStatusResponse
case networkProtectionClientFailedToEncodeRegisterKeyRequest
case networkProtectionClientFailedToFetchRegisteredServers
case networkProtectionClientFailedToParseRegisteredServersResponse
case networkProtectionClientFailedToFetchLocations
case networkProtectionClientFailedToParseLocationsResponse
case networkProtectionClientInvalidAuthToken
case networkProtectionKeychainErrorFailedToCastKeychainValueToData
case networkProtectionKeychainReadError
case networkProtectionKeychainWriteError
case networkProtectionKeychainUpdateError
case networkProtectionKeychainDeleteError
case networkProtectionWireguardErrorCannotLocateTunnelFileDescriptor
case networkProtectionWireguardErrorInvalidState
case networkProtectionWireguardErrorFailedDNSResolution
case networkProtectionWireguardErrorCannotSetNetworkSettings
case networkProtectionWireguardErrorCannotStartWireguardBackend
case networkProtectionWireguardErrorCannotSetWireguardConfig
case networkProtectionFailedToLoadFromPreferences
case networkProtectionFailedToSaveToPreferences
case networkProtectionActivationRequestFailed
case networkProtectionDisconnected
case networkProtectionNoAccessTokenFoundError
case networkProtectionVPNAccessRevoked
case networkProtectionUnmanagedSubscriptionError
case networkProtectionPixelStorageSetupFailure
case pixelFireSuppressedStorageError
case networkProtectionMemoryWarning
case networkProtectionMemoryCritical
case networkProtectionUnhandledError
case networkProtectionGeoswitchingOpened
case networkProtectionGeoswitchingSetNearest
case networkProtectionGeoswitchingSetCustom
case networkProtectionGeoswitchingNoLocations
case networkProtectionSnoozeEnabledFromStatusMenu
case networkProtectionSnoozeDisabledFromStatusMenu
case networkProtectionSnoozeDisabledFromLiveActivity
case networkProtectionFailureRecoveryStarted
case networkProtectionFailureRecoveryFailed
case networkProtectionFailureRecoveryCompletedHealthy
case networkProtectionFailureRecoveryCompletedUnhealthy
case networkProtectionWidgetConnectAttempt
case networkProtectionWidgetConnectSuccess
case networkProtectionWidgetConnectCancelled
case networkProtectionWidgetConnectFailure
case networkProtectionWidgetDisconnectAttempt
case networkProtectionWidgetDisconnectSuccess
case networkProtectionWidgetDisconnectCancelled
case networkProtectionWidgetDisconnectFailure
case vpnControlCenterConnectAttempt
case vpnControlCenterConnectSuccess
case vpnControlCenterConnectCancelled
case vpnControlCenterConnectFailure
case vpnControlCenterDisconnectAttempt
case vpnControlCenterDisconnectSuccess
case vpnControlCenterDisconnectCancelled
case vpnControlCenterDisconnectFailure
case vpnShortcutConnectAttempt
case vpnShortcutConnectSuccess
case vpnShortcutConnectCancelled
case vpnShortcutConnectFailure
case vpnShortcutDisconnectAttempt
case vpnShortcutDisconnectSuccess
case vpnShortcutDisconnectCancelled
case vpnShortcutDisconnectFailure
case networkProtectionDNSUpdateCustom
case networkProtectionDNSUpdateDefault
case networkProtectionVPNConfigurationRemoved
case networkProtectionVPNConfigurationRemovalFailed
case networkProtectionConfigurationInvalidPayload(configuration: Configuration)
case networkProtectionAdapterEndTemporaryShutdownStateAttemptFailure
case networkProtectionAdapterEndTemporaryShutdownStateRecoverySuccess
case networkProtectionAdapterEndTemporaryShutdownStateRecoveryFailure
// MARK: - VPN Tips
case networkProtectionGeoswitchingTipShown
case networkProtectionGeoswitchingTipActioned
case networkProtectionGeoswitchingTipDismissed
case networkProtectionGeoswitchingTipIgnored
case networkProtectionSnoozeTipShown
case networkProtectionSnoozeTipActioned
case networkProtectionSnoozeTipDismissed
case networkProtectionSnoozeTipIgnored
case networkProtectionWidgetTipShown
case networkProtectionWidgetTipActioned
case networkProtectionWidgetTipDismissed
case networkProtectionWidgetTipIgnored
// MARK: remote messaging pixels
case remoteMessageShown
case remoteMessageShownUnique
case remoteMessageDismissed
case remoteMessageActionClicked
case remoteMessagePrimaryActionClicked
case remoteMessageSecondaryActionClicked
case remoteMessageSheet
case remoteMessageCardShown
case remoteMessageCardClicked
case remoteMessageImageLoadSuccess
case remoteMessageImageLoadFailed
// MARK: debug pixels
case dbCrashDetected(appIdentifier: String?)
case dbCrashDetectedDaily(appIdentifier: String?)
case crashOnCrashHandlersSetUp
case crashReportCRCIDMissing
case crashReportingSubmissionFailed
case dbContainerInitializationError
case dbInitializationError
case dbSaveExcludedHTTPSDomainsError
case dbSaveBloomFilterError
case dbRemoteMessagingSaveConfigError
case dbRemoteMessagingUpdateMessageShownError
case dbRemoteMessagingUpdateMessageStatusError
case dbLocalAuthenticationError
case configurationFetchInfo
case couldNotLoadConfiguration(configuration: Configuration, target: Pixel.BuildTarget)
case couldNotParseConfiguration(configuration: Configuration, target: Pixel.BuildTarget)
case trackerDataReloadFailed
case fileStoreWriteFailed
case fileStoreCoordinatorFailed
case privacyConfigurationReloadFailed
case contentBlockingCompilationFailed(listType: CompileRulesListType,
component: ContentBlockerDebugEvents.Component)
case contentBlockingLookupRulesSucceeded
case contentBlockingFetchLRCSucceeded
case contentBlockingNoMatchInLRC
case contentBlockingLRCMissing
case contentBlockingCompilationTaskPerformance(iterationCount: Int, timeBucketAggregation: CompileTimeBucketAggregation)
case ampBlockingRulesCompilationFailed
case webKitDidTerminate
case webKitTerminationDidReloadCurrentTab
case webKitDidTerminateDuringWarmup
case webKitWarmupUnexpectedDidFinish
case webKitWarmupUnexpectedDidTerminate
case backgroundTaskSubmissionFailed
case blankOverlayNotDismissed
case cookieDeletionTime(_ time: BucketAggregation)
case cookieDeletionLeftovers
case clearDataInDefaultPersistence(_ time: BucketAggregation)
case webkitWarmupStart(appState: String)
case webkitWarmupFinished(appState: String)
case cachedTabPreviewsExceedsTabCount
case cachedTabPreviewRemovalError
case missingDownloadedFile
case compilationResult(result: CompileRulesResult, waitTime: BucketAggregation, appState: AppState)
case emailAutofillKeychainError
case adAttributionGlobalAttributedRulesDoNotExist
case adAttributionCompilationFailedForAttributedRulesList
case adAttributionLogicUnexpectedStateOnInheritedAttribution
case adAttributionLogicUnexpectedStateOnRulesCompiled
case adAttributionLogicUnexpectedStateOnRulesCompilationFailed
case adAttributionDetectionHeuristicsDidNotMatchDomain
case adAttributionDetectionInvalidDomainInParameter
case adAttributionLogicRequestingAttributionTimedOut
case adAttributionLogicWrongVendorOnSuccessfulCompilation
case adAttributionLogicWrongVendorOnFailedCompilation
case debugTabSwitcherDidChangeInvalidState
case debugTabsModelCrossModeMismatch
case debugBookmarksInitialStructureQueryFailed
case debugBookmarksStructureLost
case debugAppDelegateInitToLaunchTime
case debugBookmarksStructureNotRecovered
case debugBookmarksInvalidRoots
case debugBookmarksValidationFailed
case debugBookmarksNoDBSchemeFound
case debugBookmarksUnableToLoadPersistentStores
case debugBookmarksErrorCreatingTopLevelBookmarksFolder
case debugBookmarksErrorCreatingTopLevelFavoritesFolder
case debugBookmarksCouldNotFixBookmarkFolder
case debugBookmarksCouldNotFixFavoriteFolder
case debugBookmarksCouldNotPrepareDBStructure
case debugBookmarksCouldNotWriteToDB
case debugBookmarksCouldNotGetFavoritesOrder
case debugBookmarksCouldNotPrepareDatabase
case debugBookmarksTopFolderSaveFailed
case debugBookmarksPendingDeletionFixed
case debugBookmarksPendingDeletionRepairError
case debugCannotClearObservationsDatabase
case debugWebsiteDataStoresNotClearedMultiple
case debugWebsiteDataStoresNotClearedOne
case debugWebsiteDataStoresCleared
case fireRemoveAllContainersAfterDelaySuccess
case fireRemoveAllContainersAfterDelayFailure
case debugBookmarksMigratedMoreThanOnce
case debugBreakageExperiment
case debugWebViewInVisibleTabHidden
case debugPromptCoordinationFailedToSaveLastPresentationDate
case debugPromptCoordinationFailedToRetrieveLastPresentationDate
// Return user measurement
case debugReturnUserAddATB
case debugReturnUserUpdateATB
// Errors from Bookmarks Module
case bookmarkFolderExpected
case bookmarksListIndexNotMatchingBookmark
case bookmarksListMissingFolder
case editorNewParentMissing
case favoritesListIndexNotMatchingBookmark
case fetchingRootItemFailed(BookmarksModelError.ModelType)
case indexOutOfRange(BookmarksModelError.ModelType)
case saveFailed(BookmarksModelError.ModelType)
case missingParent(BookmarksModelError.ObjectType)
case bookmarksCouldNotLoadDatabase
case bookmarksCouldNotPrepareDatabase
case bookmarksCouldNotMigrateDatabase
case bookmarksMigrationAlreadyPerformed
case bookmarksMigrationFailed
case bookmarksMigrationCouldNotPrepareDatabase
case bookmarksMigrationCouldNotPrepareDatabaseOnFailedMigration
case bookmarksMigrationCouldNotRemoveOldStore
case bookmarksMigrationCouldNotPrepareMultipleFavoriteFolders
case bookmarksOpenFromToolbar
case syncSignupDirect
case syncSignupConnect
case syncLogin
case syncDaily
case syncDisabled
case syncDisabledAndDeleted
case syncDuckAddressOverride
case syncSuccessRateDaily
case syncLocalTimestampResolutionTriggered(Feature)
case syncAiChatActiveDaily
case syncMigratedToFileStore
case syncFailedToMigrateToFileStore
case syncFailedToInitFileStore
case syncFailedToLoadAccount
case syncFailedToSetupEngine
case syncBookmarksObjectLimitExceededDaily
case syncCredentialsObjectLimitExceededDaily
case syncCreditCardsObjectLimitExceededDaily
case syncAiChatsObjectLimitExceededDaily
case syncBookmarksRequestSizeLimitExceededDaily
case syncCredentialsRequestSizeLimitExceededDaily
case syncCreditCardsRequestSizeLimitExceededDaily
case syncAiChatsRequestSizeLimitExceededDaily
case syncBookmarksTooManyRequestsDaily
case syncCredentialsTooManyRequestsDaily
case syncCreditCardsTooManyRequestsDaily
case syncSettingsTooManyRequestsDaily
case syncAiChatsTooManyRequestsDaily
case syncBookmarksValidationErrorDaily
case syncCredentialsValidationErrorDaily
case syncCreditCardsValidationErrorDaily
case syncSettingsValidationErrorDaily
case syncAiChatsValidationErrorDaily
case syncSentUnauthenticatedRequest
case syncMetadataCouldNotLoadDatabase
case syncBookmarksFailed
case syncBookmarksPatchCompressionFailed
case syncCredentialsProviderInitializationFailed
case syncCredentialsFailed
case syncCredentialsPatchCompressionFailed
case syncCreditCardsProviderInitializationFailed
case syncCreditCardsFailed
case syncCreditCardsPatchCompressionFailed
case syncSettingsFailed
case syncSettingsMetadataUpdateFailed
case syncSettingsPatchCompressionFailed
case syncAiChatsFailed
case syncAiChatsPatchCompressionFailed
case syncSignupError
case syncLoginError
case syncLogoutError
case syncUpdateDeviceError
case syncRemoveDeviceError
case syncDeleteAccountError
case syncLoginExistingAccountError
case syncSecureStorageReadError
case syncSecureStorageDecodingError
case syncAccountRemoved(reason: String)
case syncAskUserToSwitchAccount
case syncUserAcceptedSwitchingAccount
case syncUserCancelledSwitchingAccount
case syncUserSwitchedAccount
case syncUserSwitchedLogoutError
case syncUserSwitchedLoginError
case syncGetOtherDevices
case syncGetOtherDevicesCopy
case syncGetOtherDevicesShare
case syncPromoDisplayed
case syncPromoConfirmed
case syncPromoDismissed
case syncRecoveryPromptDisplayed
case syncRecoveryPromptSyncWithAnotherDeviceTapped
case syncRecoveryPromptShowAlternativesTapped
case syncRecoveryPromptDismissed
case syncRecoveryAlternativeDisplayed
case syncRecoveryAlternativeScanRecoveryCodeTapped
case syncRecoveryAlternativeBackupThisDeviceTapped
case syncRecoveryAlternativeDismissed
case syncAutoRestoreOnboardingPromptShownUnique
case syncAutoRestoreOnboardingRestoreTappedUnique
case syncAutoRestoreOnboardingSkipTappedUnique
case syncAutoRestoreToggleShown
case syncAutoRestoreToggleOptedOut