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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
|
Firefox Suggest Telemetry
=========================
This document describes the telemetry that Firefox records for the Firefox
Suggest feature. That is, it describes Firefox Suggest telemetry recorded on the
client. It also discusses the data that Firefox sends to the Merino service.
For information on other telemetry related to the address bar, see the general
address bar :doc:`telemetry` document. For information on all telemetry in
Firefox, see the toolkit :doc:`/toolkit/components/telemetry/index` document.
.. contents::
:depth: 2
Histograms
----------
The following histograms are recorded for Firefox Suggest. For general
information on histogram telemetry in Firefox, see the
:doc:`/toolkit/components/telemetry/collection/histograms` document.
FX_URLBAR_MERINO_LATENCY_MS
~~~~~~~~~~~~~~~~~~~~~~~~~~~
This histogram records the latency in milliseconds of the Merino source for
suggestions, or in other words, the time from Firefox's request to the Merino
server to the time Firefox receives a response. It is an exponential histogram
with 50 buckets and values between 0 and 30000 (0s and 30s).
Changelog
Firefox 93.0
Introduced. [Bug 1727799_]
.. _1727799: https://bugzilla.mozilla.org/show_bug.cgi?id=1727799
FX_URLBAR_MERINO_LATENCY_WEATHER_MS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This histogram records the latency in milliseconds of weather suggestions from
Merino. It is updated in addition to ``FX_URLBAR_MERINO_LATENCY_MS`` and has the
same properties. It is an exponential histogram with 50 buckets and values
between 0 and 30000 (0s and 30s).
Changelog
Firefox 110.0
Introduced. [Bug 1804536_]
.. _1804536: https://bugzilla.mozilla.org/show_bug.cgi?id=1804536
FX_URLBAR_MERINO_RESPONSE
~~~~~~~~~~~~~~~~~~~~~~~~~
This categorical histogram records a summary of each fetch from the Merino
server. It has the following categories:
:0 "success":
The fetch completed without any error before the timeout elapsed and it
included at least one suggestion. (Before Firefox 110.0, this category meant
simply that the fetch completed without any error before the timeout elapsed
regardless of whether it included any suggestions.)
:1 "timeout":
The timeout elapsed before the fetch completed or otherwise failed.
:2 "network_error":
The fetch failed due to a network error before the timeout elapsed. e.g., the
user's network or the Merino server was down.
:3 "http_error":
The fetch completed before the timeout elapsed but the server returned an
error.
:4 "no_suggestion":
The fetch completed without any error before the timeout elapsed and it did
not include any suggestions.
Changelog
Firefox 94.0.2
Introduced. [Bug 1737923_]
Firefox 110.0
Added the ``no_suggestion`` category. The meaning of the ``success``
category was changed from "The fetch completed without any error before the
timeout elapsed" to "The fetch completed without any error before the
timeout elapsed and it included at least one suggestion." [Bug 1804536_]
.. _1737923: https://bugzilla.mozilla.org/show_bug.cgi?id=1737923
.. _1804536: https://bugzilla.mozilla.org/show_bug.cgi?id=1804536
FX_URLBAR_MERINO_RESPONSE_WEATHER
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This categorical histogram records a summary of each fetch for weather
suggestions from the Merino server. It is updated in addition to
``FX_URLBAR_MERINO_RESPONSE`` and has the same categories.
:0 "success":
The fetch completed without any error before the timeout elapsed and it
included at least one suggestion.
:1 "timeout":
The timeout elapsed before the fetch completed or otherwise failed.
:2 "network_error":
The fetch failed due to a network error before the timeout elapsed. e.g., the
user's network or the Merino server was down.
:3 "http_error":
The fetch completed before the timeout elapsed but the server returned an
error.
:4 "no_suggestion":
The fetch completed without any error before the timeout elapsed and it did
not include any suggestions.
Changelog
Firefox 110.0
Introduced. [Bug 1804536_]
.. _1804536: https://bugzilla.mozilla.org/show_bug.cgi?id=1804536
FX_URLBAR_QUICK_SUGGEST_REMOTE_SETTINGS_LATENCY_MS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This histogram records the latency in milliseconds of the remote settings source
for suggestions, or in other words, the time from when Firefox starts fetching a
suggestion from remote settings to the time the suggestion is retrieved. It is
an exponential histogram with 50 buckets and values between 0 and 30000 (0s and
30s).
Note that unlike Merino, fetches from remote settings happen entirely on the
client, so remote settings latencies are expected to be much smaller than Merino
latencies.
Changelog
Firefox 94.0.2
Introduced. [Bug 1737651_]
.. _1737651: https://bugzilla.mozilla.org/show_bug.cgi?id=1737651
Scalars
-------
The following scalars are recorded for Firefox Suggest. For general information
on scalar telemetry in Firefox, see the
:doc:`/toolkit/components/telemetry/collection/scalars` document.
browser.ui.interaction.preferences_panePrivacy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user clicks a Firefox Suggest
checkbox or toggle switch in the preferences UI. Keys are the following:
:firefoxSuggestBestMatch:
This key is incremented when the "Top pick" checkbox is clicked. In 120 this
UI was removed, so this key is no longer recorded.
:firefoxSuggestBestMatchLearnMore:
This key is incremented when opening the learn more link for best match. In
120 this UI was removed, so this key is no longer recorded.
:firefoxSuggestDataCollectionToggle:
This key is incremented when the toggle switch for data collection
is clicked.
:firefoxSuggestNonsponsoredToggle:
This key is incremented when the toggle switch for non-sponsored suggestions
is clicked.
:firefoxSuggestSponsoredToggle:
This key is incremented when the toggle switch for sponsored suggestions
is clicked.
Changelog
Firefox 94.0.2
Introduced ``firefoxSuggestDataCollectionToggle``,
``firefoxSuggestNonsponsoredToggle`` and ``firefoxSuggestSponsoredToggle``.
[Bug 1735976_]
Firefox 99.0
Introduced ``firefoxSuggestBestMatch``. [Bug 1755100_]
Introduced ``firefoxSuggestBestMatchLearnMore``. [Bug 1756917_]
Firefox 120.0
Removed ``firefoxSuggestBestMatch`` and
``firefoxSuggestBestMatchLearnMore``. [Bug 1857391_]
.. _1735976: https://bugzilla.mozilla.org/show_bug.cgi?id=1735976
.. _1755100: https://bugzilla.mozilla.org/show_bug.cgi?id=1755100
.. _1756917: https://bugzilla.mozilla.org/show_bug.cgi?id=1756917
.. _1857391: https://bugzilla.mozilla.org/show_bug.cgi?id=1857391
contextual.services.quicksuggest.block_dynamic_wikipedia
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user dismisses ("blocks") a
dynamic wikipedia suggestion. Each key is the index at which a suggestion
appeared in the results (1-based), and the corresponding value is the number
of dismissals at that index.
Changelog
Firefox 109.0
Introduced. [Bug 1800993_]
.. _1800993: https://bugzilla.mozilla.org/show_bug.cgi?id=1800993
contextual.services.quicksuggest.block_nonsponsored
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user dismisses ("blocks") a
non-sponsored suggestion, including both best matches and the usual
non-best-match suggestions. Each key is the index at which a suggestion appeared
in the results (1-based), and the corresponding value is the number of
dismissals at that index.
Changelog
Firefox 101.0
Introduced. [Bug 1761059_]
.. _1761059: https://bugzilla.mozilla.org/show_bug.cgi?id=1761059
contextual.services.quicksuggest.block_nonsponsored_bestmatch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar was removed in Firefox 120. Prior to that, it is incremented
each time the user dismisses ("blocks") a non-sponsored best match. Each key is
the index at which a suggestion appeared in the results (1-based), and the
corresponding value is the number of dismissals at that index.
Changelog
Firefox 101.0
Introduced. [Bug 1761059_]
Firefox 120.0
Removed. [Bug 1857391_]
.. _1761059: https://bugzilla.mozilla.org/show_bug.cgi?id=1761059
.. _1857391: https://bugzilla.mozilla.org/show_bug.cgi?id=1857391
contextual.services.quicksuggest.block_sponsored
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user dismisses ("blocks") a
sponsored suggestion, including both best matches and the usual non-best-match
suggestions. Each key is the index at which a suggestion appeared in the results
(1-based), and the corresponding value is the number of dismissals at that
index.
Changelog
Firefox 101.0
Introduced. [Bug 1761059_]
.. _1761059: https://bugzilla.mozilla.org/show_bug.cgi?id=1761059
contextual.services.quicksuggest.block_sponsored_bestmatch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar was removed in Firefox 120. Prior to that, it is incremented
each time the user dismisses ("blocks") a sponsored best match. Each key is the
index at which a suggestion appeared in the results (1-based), and the
corresponding value is the number of dismissals at that index.
Changelog
Firefox 101.0
Introduced. [Bug 1761059_]
Firefox 120.0
Removed. [Bug 1857391_]
.. _1761059: https://bugzilla.mozilla.org/show_bug.cgi?id=1761059
.. _1857391: https://bugzilla.mozilla.org/show_bug.cgi?id=1857391
contextual.services.quicksuggest.block_weather
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user dismisses ("blocks") a
Firefox Suggest weather suggestion. Each key is the index at which a suggestion
appeared in the results (1-based), and the corresponding value is the number of
dismissals at that index.
Changelog
Firefox 110.0
Introduced. [Bug 1804536_]
.. _1804536: https://bugzilla.mozilla.org/show_bug.cgi?id=1804536
contextual.services.quicksuggest.click
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user picks a suggestion. Each key
is the index at which a suggestion appeared in the results (1-based), and the
corresponding value is the number of clicks at that index.
Changelog
Firefox 87.0
Introduced. [Bug 1693927_]
Firefox 109.0
Removed. [Bug 1800993_]
.. _1693927: https://bugzilla.mozilla.org/show_bug.cgi?id=1693927
.. _1800993: https://bugzilla.mozilla.org/show_bug.cgi?id=1800993
contextual.services.quicksuggest.click_dynamic_wikipedia
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user picks a dynamic
wikipedia suggestion. Each key is the index at which a suggestion appeared
in the results (1-based), and the corresponding value is the number of
clicks at that index.
Changelog
Firefox 109.0
Introduced. [Bug 1800993_]
.. _1800993: https://bugzilla.mozilla.org/show_bug.cgi?id=1800993
contextual.services.quicksuggest.click_nav_notmatched
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar records how many times a heuristic result was clicked while a
navigational suggestion was absent. It is recorded only when the Nimbus variable
``recordNavigationalSuggestionTelemetry`` is true. (The variable is false by
default.)
Each key is the type of heuristic result that was clicked. Key names are the
same as the heuristic result type names recorded in Glean telemetry.
Changelog
Firefox 112.0
Introduced. [Bug 1819797_]
.. _1819797: https://bugzilla.mozilla.org/show_bug.cgi?id=1819797
contextual.services.quicksuggest.click_nav_shown_heuristic
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar records how many times a heuristic result was clicked while a
navigational suggestion was present. It is recorded only when the Nimbus
variable ``recordNavigationalSuggestionTelemetry`` is true. (The variable is
false by default.)
Each key is the type of heuristic result that was clicked. Key names are the
same as the heuristic result type names recorded in Glean telemetry.
Changelog
Firefox 112.0
Introduced. [Bug 1819797_]
.. _1819797: https://bugzilla.mozilla.org/show_bug.cgi?id=1819797
contextual.services.quicksuggest.click_nav_shown_nav
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar records how many times a navigational suggestion was clicked.
It is recorded only when the Nimbus variable
``recordNavigationalSuggestionTelemetry`` is true. (The variable is false by
default.)
Each key is the type of heuristic result that was present at the time of the
engagement. Key names are the same as the heuristic result type names recorded
in Glean telemetry.
Changelog
Firefox 112.0
Introduced. [Bug 1819797_]
.. _1819797: https://bugzilla.mozilla.org/show_bug.cgi?id=1819797
contextual.services.quicksuggest.click_nav_superceded
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar records how many times a heuristic result was clicked when a
navigational suggestion was matched but superseded by the heuristic. It is
recorded only when the Nimbus variable ``recordNavigationalSuggestionTelemetry``
is true. (The variable is false by default.)
Each key is the type of heuristic result that was clicked. Key names are the
same as the heuristic result type names recorded in Glean telemetry.
Changelog
Firefox 112.0
Introduced. [Bug 1819797_]
.. _1819797: https://bugzilla.mozilla.org/show_bug.cgi?id=1819797
contextual.services.quicksuggest.click_nonsponsored
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user picks a non-sponsored
suggestion. Each key is the index at which a suggestion appeared in the
results (1-based), and the corresponding value is the number of clicks at
that index.
Changelog
Firefox 109.0
Introduced. [Bug 1800993_]
.. _1800993: https://bugzilla.mozilla.org/show_bug.cgi?id=1800993
contextual.services.quicksuggest.click_nonsponsored_bestmatch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar was removed in Firefox 120. Prior to that, it is incremented
each time the user picks a non-sponsored best match. Each key is the index at
which a suggestion appeared in the results (1-based), and the corresponding
value is the number of clicks at that index.
Changelog
Firefox 99.0
Introduced. [Bug 1752953_]
Firefox 120.0
Removed. [Bug 1857391_]
.. _1752953: https://bugzilla.mozilla.org/show_bug.cgi?id=1752953
.. _1857391: https://bugzilla.mozilla.org/show_bug.cgi?id=1857391
contextual.services.quicksuggest.click_sponsored
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user picks a sponsored suggestion.
Each key is the index at which a suggestion appeared in the results (1-based),
and the corresponding value is the number of clicks at that index.
Changelog
Firefox 109.0
Introduced. [Bug 1800993_]
.. _1800993: https://bugzilla.mozilla.org/show_bug.cgi?id=1800993
contextual.services.quicksuggest.click_sponsored_bestmatch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar was removed in Firefox 120. Prior to that, it is incremented
each time the user picks a sponsored best match. Each key is the index at which
a suggestion appeared in the results (1-based), and the corresponding value is
the number of clicks at that index.
Changelog
Firefox 99.0
Introduced. [Bug 1752953_]
Firefox 120.0
Removed. [Bug 1857391_]
.. _1752953: https://bugzilla.mozilla.org/show_bug.cgi?id=1752953
.. _1857391: https://bugzilla.mozilla.org/show_bug.cgi?id=1857391
contextual.services.quicksuggest.click_weather
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user picks a weather suggestion.
Each key is the index at which a suggestion appeared in the results (1-based),
and the corresponding value is the number of clicks at that index.
Changelog
Firefox 110.0
Introduced. [Bug 1804536_]
.. _1804536: https://bugzilla.mozilla.org/show_bug.cgi?id=1804536
contextual.services.quicksuggest.exposure_weather
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar records weather suggestion exposures. It is incremented each
time the user is shown a weather suggestion. It can be compared to the
``urlbar.zeroprefix.exposure`` scalar (see :doc:`telemetry`) to determine the
percentage of zero-prefix exposures that included weather suggestions.
Each key is the index at which a suggestion appeared in the results (1-based),
and the corresponding value is the number of exposures at that index.
Changelog
Firefox 110.0
Introduced. [Bug 1806765_]
Firefox 114.0
Removed since the weather suggestion is no longer triggered on zero prefix.
[Bug 1831971_]
.. _1806765: https://bugzilla.mozilla.org/show_bug.cgi?id=1806765
.. _1831971: https://bugzilla.mozilla.org/show_bug.cgi?id=1831971
contextual.services.quicksuggest.help
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user picks the help button in a
suggestion. Each key is the index at which a suggestion appeared in the results
(1-based), and the corresponding value is the number of help button clicks at
that index.
Changelog
Firefox 87.0
Introduced. [Bug 1693927_]
Firefox 109.0
Removed. [Bug 1800993_]
.. _1693927: https://bugzilla.mozilla.org/show_bug.cgi?id=1693927
.. _1800993: https://bugzilla.mozilla.org/show_bug.cgi?id=1800993
contextual.services.quicksuggest.help_dynamic_wikipedia
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user picks the help button in a
dynamic wikipedia suggestion. Each key is the index at which a suggestion
appeared in the results (1-based), and the corresponding value is the number
of help button clicks at that index.
Changelog
Firefox 109.0
Introduced. [Bug 1800993_]
.. _1800993: https://bugzilla.mozilla.org/show_bug.cgi?id=1800993
contextual.services.quicksuggest.help_nonsponsored
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user picks the help button in a
non-sponsored suggestion. Each key is the index at which a suggestion appeared in the
results (1-based), and the corresponding value is the number of help button clicks
at that index.
Changelog
Firefox 109.0
Introduced. [Bug 1800993_]
.. _1800993: https://bugzilla.mozilla.org/show_bug.cgi?id=1800993
contextual.services.quicksuggest.help_nonsponsored_bestmatch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar was removed in Firefox 120. Prior to that, it is incremented
each time the user picks the help button in a non-sponsored best match. Each key
is the index at which a suggestion appeared in the results (1-based), and the
corresponding value is the number of help button clicks at that index.
Changelog
Firefox 99.0
Introduced. [Bug 1752953_]
Firefox 120.0
Removed. [Bug 1857391_]
.. _1752953: https://bugzilla.mozilla.org/show_bug.cgi?id=1752953
.. _1857391: https://bugzilla.mozilla.org/show_bug.cgi?id=1857391
contextual.services.quicksuggest.help_sponsored
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user picks the help button in a
sponsored suggestion. Each key is the index at which a suggestion appeared in the
results (1-based), and the corresponding value is the number of help button clicks
at that index.
Changelog
Firefox 109.0
Introduced. [Bug 1800993_]
.. _1800993: https://bugzilla.mozilla.org/show_bug.cgi?id=1800993
contextual.services.quicksuggest.help_sponsored_bestmatch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar was removed in Firefox 120. Prior to that, it is incremented
each time the user picks the help button in a sponsored best match. Each key is
the index at which a suggestion appeared in the results (1-based), and the
corresponding value is the number of help button clicks at that index.
Changelog
Firefox 99.0
Introduced. [Bug 1752953_]
Firefox 120.0
Removed. [Bug 1857391_]
.. _1752953: https://bugzilla.mozilla.org/show_bug.cgi?id=1752953
.. _1857391: https://bugzilla.mozilla.org/show_bug.cgi?id=1857391
contextual.services.quicksuggest.help_weather
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar is incremented each time the user picks the help button in a
weather suggestion. Each key is the index at which a suggestion appeared in the
results (1-based), and the corresponding value is the number of help button
clicks at that index.
Changelog
Firefox 110.0
Introduced. [Bug 1804536_]
.. _1804536: https://bugzilla.mozilla.org/show_bug.cgi?id=1804536
contextual.services.quicksuggest.impression
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar records suggestion impressions. It is incremented each time
the user is shown a suggestion and the following two conditions hold:
- The user has completed an engagement with the address bar by picking a result
in it or by pressing the Enter key.
- At the time the user completed the engagement, a suggestion was present in the
results.
Each key is the index at which a suggestion appeared in the results (1-based),
and the corresponding value is the number of impressions at that index.
Changelog
Firefox 87.0
Introduced. [Bug 1693927_]
Firefox 109.0
Removed. [Bug 1800993_]
.. _1693927: https://bugzilla.mozilla.org/show_bug.cgi?id=1693927
.. _1800993: https://bugzilla.mozilla.org/show_bug.cgi?id=1800993
contextual.services.quicksuggest.impression_dynamic_wikipedia
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar records dynamic wikipedia impressions. It is incremented
each time the user is shown a dynamic wikipedia suggestion and the following
two conditions hold:
- The user has completed an engagement with the address bar by picking a result
in it or by pressing the Enter key.
- At the time the user completed the engagement, a dynamic wikipedia suggestion
was present in the results.
Each key is the index at which a suggestion appeared in the results (1-based),
and the corresponding value is the number of impressions at that index.
Changelog
Firefox 109.0
Introduced. [Bug 1800993_]
.. _1800993: https://bugzilla.mozilla.org/show_bug.cgi?id=1800993
contextual.services.quicksuggest.impression_nav_notmatched
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar records how many times a urlbar engagement occurred while a
navigational suggestion was absent. It is recorded only when the Nimbus variable
``recordNavigationalSuggestionTelemetry`` is true. (The variable is false by
default.)
Each key is the type of heuristic result that was present at the time of the
engagement. Key names are the same as the heuristic result type names recorded
in Glean telemetry.
Changelog
Firefox 112.0
Introduced. [Bug 1819797_]
.. _1819797: https://bugzilla.mozilla.org/show_bug.cgi?id=1819797
contextual.services.quicksuggest.impression_nav_shown
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar records how many times a urlbar engagement occurred while a
navigational suggestion was present. It is recorded only when the Nimbus
variable ``recordNavigationalSuggestionTelemetry`` is true. (The variable is
false by default.)
Each key is the type of heuristic result that was present at the time of the
engagement. Key names are the same as the heuristic result type names recorded
in Glean telemetry.
Changelog
Firefox 112.0
Introduced. [Bug 1819797_]
.. _1819797: https://bugzilla.mozilla.org/show_bug.cgi?id=1819797
contextual.services.quicksuggest.impression_nav_superceded
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar records how many times a urlbar engagement occurred when a
navigational suggestion was matched but superseded by a heuristic result. It is
recorded only when the Nimbus variable ``recordNavigationalSuggestionTelemetry``
is true. (The variable is false by default.)
Each key is the type of heuristic result that was present at the time of the
engagement. Key names are the same as the heuristic result type names recorded
in Glean telemetry.
Changelog
Firefox 112.0
Introduced. [Bug 1819797_]
.. _1819797: https://bugzilla.mozilla.org/show_bug.cgi?id=1819797
contextual.services.quicksuggest.impression_nonsponsored
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar records suggestion impressions. It is incremented each time
the user is shown a non-sponsored suggestion and the following two conditions hold:
- The user has completed an engagement with the address bar by picking a result
in it or by pressing the Enter key.
- At the time the user completed the engagement, a suggestion was present in the
results.
Each key is the index at which a suggestion appeared in the results (1-based),
and the corresponding value is the number of impressions at that index.
Changelog
Firefox 109.0
Introduced. [Bug 1800993_]
.. _1800993: https://bugzilla.mozilla.org/show_bug.cgi?id=1800993
contextual.services.quicksuggest.impression_nonsponsored_bestmatch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar was removed in Firefox 120. Prior to that, it records
non-sponsored best match impressions. It is incremented each time the user is
shown a non-sponsored best match and the following two conditions hold:
- The user has completed an engagement with the address bar by picking a result
in it or by pressing the Enter key.
- At the time the user completed the engagement, a non-sponsored best match was
present in the results.
Each key is the index at which a suggestion appeared in the results (1-based),
and the corresponding value is the number of impressions at that index.
Changelog
Firefox 99.0
Introduced. [Bug 1752953_]
Firefox 120.0
Removed. [Bug 1857391_]
.. _1752953: https://bugzilla.mozilla.org/show_bug.cgi?id=1752953
.. _1857391: https://bugzilla.mozilla.org/show_bug.cgi?id=1857391
contextual.services.quicksuggest.impression_sponsored
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar records suggestion impressions. It is incremented each time
the user is shown a sponsored suggestion and the following two conditions hold:
- The user has completed an engagement with the address bar by picking a result
in it or by pressing the Enter key.
- At the time the user completed the engagement, a suggestion was present in the
results.
Each key is the index at which a suggestion appeared in the results (1-based),
and the corresponding value is the number of impressions at that index.
Changelog
Firefox 109.0
Introduced. [Bug 1800993_]
.. _1800993: https://bugzilla.mozilla.org/show_bug.cgi?id=1800993
contextual.services.quicksuggest.impression_sponsored_bestmatch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar was removed in Firefox 120. Prior to that, it records
sponsored best match impressions. It is incremented each time the user is shown
a sponsored best match and the following two conditions hold:
- The user has completed an engagement with the address bar by picking a result
in it or by pressing the Enter key.
- At the time the user completed the engagement, a sponsored best match was
present in the results.
Each key is the index at which a suggestion appeared in the results (1-based),
and the corresponding value is the number of impressions at that index.
Changelog
Firefox 99.0
Introduced. [Bug 1752953_]
Firefox 120.0
Removed. [Bug 1857391_]
.. _1752953: https://bugzilla.mozilla.org/show_bug.cgi?id=1752953
.. _1857391: https://bugzilla.mozilla.org/show_bug.cgi?id=1857391
contextual.services.quicksuggest.impression_weather
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This keyed scalar records weather suggestion impressions. It is incremented each
time the user is shown a weather suggestion and the following two conditions
hold:
- The user has completed an engagement with the address bar by picking a result
in it or by pressing the Enter key.
- At the time the user completed the engagement, a weather suggestion was
present in the results.
Each key is the index at which a suggestion appeared in the results (1-based),
and the corresponding value is the number of impressions at that index.
Changelog
Firefox 110.0
Introduced. [Bug 1804536_]
.. _1804536: https://bugzilla.mozilla.org/show_bug.cgi?id=1804536
Events
------
The following Firefox Suggest events are recorded in the
``contextservices.quicksuggest`` category. For general information on event
telemetry in Firefox, see the
:doc:`/toolkit/components/telemetry/collection/events` document.
contextservices.quicksuggest.data_collect_toggled
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This event is recorded when the
``browser.urlbar.quicksuggest.dataCollection.enabled`` pref is toggled. The pref
can be toggled in the following ways:
- The user can toggle it in the preferences UI.
- The user can toggle it in about:config.
The event is also recorded when the user opts in to the online modal dialog,
with one exception: If the user has already enabled data collection using the
preferences UI or about:config, then the pref's user value is already
true. Opting in doesn't change the user value, so no event is recorded.
The event's objects are the following:
:enabled:
Recorded when the pref is flipped from false to true.
:disabled:
Recorded when the pref is flipped from true to false.
Changelog
Firefox 94.0.2
Introduced. [Bug 1735976_]
.. _1735976: https://bugzilla.mozilla.org/show_bug.cgi?id=1735976
contextservices.quicksuggest.enable_toggled
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This event is recorded when the
``browser.urlbar.suggest.quicksuggest.nonsponsored`` pref is toggled. The pref
can be toggled in the following ways:
- The user can toggle it in the preferences UI.
- The user can toggle it in about:config.
The event's objects are the following:
:enabled:
Recorded when the pref is flipped from false to true.
:disabled:
Recorded when the pref is flipped from true to false.
Changelog
Firefox 87.0:
Introduced. The event corresponds to the
``browser.urlbar.suggest.quicksuggest`` pref. [Bug 1693126_]
Firefox 94.0.2:
``browser.urlbar.suggest.quicksuggest`` is replaced with
``browser.urlbar.suggest.quicksuggest.nonsponsored``, and this event now
corresponds to the latter pref. [Bug 1735976_]
Firefox 96.0:
The event is no longer recorded when the user interacts with the online
modal dialog since the ``browser.urlbar.suggest.quicksuggest.nonsponsored``
pref is no longer set when the user opts in or out. [Bug 1740965_]
.. _1693126: https://bugzilla.mozilla.org/show_bug.cgi?id=1693126
.. _1735976: https://bugzilla.mozilla.org/show_bug.cgi?id=1735976
.. _1740965: https://bugzilla.mozilla.org/show_bug.cgi?id=1740965
contextservices.quicksuggest.engagement
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This event is recorded when an engagement occurs in the address bar while a
Firefox Suggest suggestion is present. In other words, it is recorded in two
cases:
- The user picks a Firefox Suggest suggestion or a related UI element like its
help button.
- While a Firefox Suggest suggestion is present in the address bar, the user
picks some other row.
The event's objects are the following possible values:
:block:
The user dismissed ("blocked") the suggestion.
:click:
The user picked the suggestion.
:help:
The user picked the suggestion's help button.
:impression_only:
The user picked some other row.
:other:
The user engaged with the suggestion in some other way, for example by picking
a command in the result menu. This is a catch-all category and going forward
Glean telemetry should be preferred.
The event's ``extra`` contains the following properties:
:match_type:
"best-match" if the suggestion was a best match or "firefox-suggest" if it was
a non-best-match suggestion.
:position:
The index of the suggestion in the list of results (1-based).
:suggestion_type:
The type of suggestion, one of: "sponsored", "nonsponsored",
"dynamic-wikipedia", "navigational"
:source:
The source of suggestion, one of: "remote-settings", "merino"
Changelog
Firefox 101.0
Introduced. [Bug 1761059_]
Firefox 109.0
``source`` is added. [Bug 1800993_]
``dynamic-wikipedia`` is added as a value of ``suggestion_type``. [Bug 1800993_]
Firefox 112.0
``navigational`` is added as a value of ``suggestion_type``. [Bug 1819797_]
Firefox 114.0
``other`` is added as a value of the event object. [Bug 1827943_]
.. _1761059: https://bugzilla.mozilla.org/show_bug.cgi?id=1761059
.. _1800993: https://bugzilla.mozilla.org/show_bug.cgi?id=1800993
.. _1819797: https://bugzilla.mozilla.org/show_bug.cgi?id=1819797
.. _1827943: https://bugzilla.mozilla.org/show_bug.cgi?id=1827943
contextservices.quicksuggest.impression_cap
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This event is recorded when an event related to an impression cap occurs. The
event's objects are the following possible values:
:hit:
Recorded when an impression cap is hit.
:reset:
Recorded when a cap's counter is reset because its interval period has
elapsed. The implementation may batch multiple consecutive reset events for a
cap in a single telemetry event; see the ``eventCount`` discussion below.
Reset events are reported only when a cap's interval period elapses while
Firefox is running.
The event's ``extra`` contains the following properties:
:count:
The number of impressions during the cap's interval period.
:eventCount:
The number of impression cap events reported in the telemetry event. This is
necessary because the implementation may batch multiple consecutive "reset"
events for a cap in a single telemetry event. When that occurs, this value
will be greater than 1, ``startDate`` will be the timestamp at which the
first event's interval period started, ``eventDate`` will be the timestamp at
which the last event's interval period ended, and ``count`` will be the number
of impressions during the first event's interval period. (The implementation
guarantees that reset events are batched only when the number of impressions
for all subsequent interval periods is zero.) For "hit" events,
``eventCount`` will always be 1.
:eventDate:
The event's timestamp, in number of milliseconds since Unix epoch. For "reset"
events, this is the timestamp at which the cap's interval period ended. If
``eventCount`` is greater than 1, it's the timestamp at which the last
interval period ended. For "hit" events, this is the timestamp at which the
cap was hit.
:impressionDate:
The timestamp of the most recent impression, in number of milliseconds since
Unix epoch.
:intervalSeconds:
The number of seconds in the cap's interval period. For lifetime caps, this
value will be "Infinity".
:maxCount:
The maximum number of impressions allowed in the cap's interval period.
:startDate:
The timestamp at which the cap's interval period started, in number of
milliseconds since Unix epoch.
:type:
The type of cap, one of: "sponsored", "nonsponsored"
Changelog
Firefox 101.0
Introduced. [Bug 1761058_, 1765881_]
.. _1761058: https://bugzilla.mozilla.org/show_bug.cgi?id=1761058
.. _1765881: https://bugzilla.mozilla.org/show_bug.cgi?id=1765881
contextservices.quicksuggest.opt_in_dialog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This event is recorded when the user interacts with the online modal dialog.
The event's objects are the following:
:accept:
The user accepted the dialog and opted in. This object was removed in Firefox
96.0.2.
:accept_2:
The user accepted the dialog and opted in.
:close_1:
The user clicked close button or something similar link on the introduction
section. The user remains opted out in this case.
:dismiss_1:
The user dismissed the dialog by pressing the Escape key or some unknown way
on the introduction section. The user remains opted out in this case.
:dismiss_2:
The user dismissed the dialog by pressing the Escape key or some unknown way
on main section. The user remains opted out in this case.
:dismissed_escape_key:
The user dismissed the dialog by pressing the Escape key. The user remains
opted out in this case. This object was removed in Firefox 96.0.2.
:dismissed_other:
The dialog was dismissed in some unknown way. One case where this can happen
is when the dialog is replaced with another higher priority dialog like the
one shown when quitting the app. The user remains opted out in this case.
This object was removed in Firefox 96.0.2.
:learn_more:
The user clicked "Learn more". The user remains opted out in this case. This
object was removed in Firefox 96.0.2.
:learn_more_1:
The user clicked "Learn more" on the introduction section. The user remains
opted out in this case.
:learn_more_2:
The user clicked "Learn more" on the main section. The user remains opted out
in this case.
:not_now:
The dialog was dismissed in some way without opting in. This object was
removed in Firefox 94.0.
:not_now_2:
The user clicked "Not now" link on main section. The user remains opted out in
this case.
:not_now_link:
The user clicked "Not now". The user remains opted out in this case. This
object was removed in Firefox 96.0.2.
:reject_2:
The user rejected the dialog and opted out.
:settings:
The user clicked the "Customize" button. The user remains opted out in this
case. This object was removed in Firefox 96.0.2.
Changelog
Firefox 92.0.1
Introduced. Objects are: ``accept``, ``settings``, ``learn_more``, and
``not_now``. ``not_now`` is recorded when the dialog is dismissed in any
manner not covered by the other objects. [Bug 1723860_]
Firefox 94.0
Objects changed to: ``accept``, ``dismissed_escape_key``,
``dismissed_other``, ``learn_more``, ``not_now_link``, and ``settings``.
[Bug 1733687_]
Firefox 96.0.2
Objects changed to: ``accept_2``, ``reject_2``, ``learn_more_2``,
``close_1``, ``not_now_2``, ``dismiss_1`` and ``dismiss_2``.
[Bug 1745026_]
Firefox 100.0
Objects changed to: ``accept_2``, ``reject_2``, ``learn_more_1``,
``learn_more_2``, ``close_1``, ``not_now_2``, ``dismiss_1`` and
``dismiss_2``.
[Bug 1761171_]
.. _1723860: https://bugzilla.mozilla.org/show_bug.cgi?id=1723860
.. _1733687: https://bugzilla.mozilla.org/show_bug.cgi?id=1733687
.. _1745026: https://bugzilla.mozilla.org/show_bug.cgi?id=1745026
.. _1761171: https://bugzilla.mozilla.org/show_bug.cgi?id=1761171
contextservices.quicksuggest.sponsored_toggled
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This event is recorded when the
``browser.urlbar.suggest.quicksuggest.sponsored`` pref is toggled. The pref can
be toggled in the following ways:
- The user can toggle it in the preferences UI.
- The user can toggle it in about:config.
The event's objects are the following:
:enabled:
Recorded when the pref is flipped from false to true.
:disabled:
Recorded when the pref is flipped from true to false.
Changelog
Firefox 92.0.1
Introduced. [Bug 1728430_]
Firefox 96.0:
The event is no longer recorded when the user interacts with the online
modal dialog since the ``browser.urlbar.suggest.quicksuggest.sponsored``
pref is no longer set when the user opts in or out. [Bug 1740965_]
.. _1728430: https://bugzilla.mozilla.org/show_bug.cgi?id=1728430
.. _1740965: https://bugzilla.mozilla.org/show_bug.cgi?id=1740965
Environment
-----------
The following preferences are recorded in telemetry environment data. For
general information on telemetry environment data in Firefox, see the
:doc:`/toolkit/components/telemetry/data/environment` document.
browser.urlbar.quicksuggest.onboardingDialogChoice
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This pref records the user's choice in the online modal dialog. If the dialog
was shown multiple times, it records the user's most recent choice. It is a
string-valued pref with the following possible values:
:<empty string>:
The user has not made a choice (e.g., because the dialog hasn't been shown).
:accept:
The user accepted the dialog and opted in. This object was removed in Firefox
96.0.2.
:accept_2:
The user accepted the dialog and opted in.
:close_1:
The user clicked close button or something similar link on the introduction
section. The user remains opted out in this case.
:dismiss_1:
The user dismissed the dialog by pressing the Escape key or some unknown way
on the introduction section. The user remains opted out in this case.
:dismiss_2:
The user dismissed the dialog by pressing the Escape key or some unknown way
on main section. The user remains opted out in this case.
:dismissed_escape_key:
The user dismissed the dialog by pressing the Escape key. The user remains
opted out in this case. This object was removed in Firefox 96.0.2.
:dismissed_other:
The dialog was dismissed in some unknown way. One case where this can happen
is when the dialog is replaced with another higher priority dialog like the
one shown when quitting the app. The user remains opted out in this case. This
object was removed in Firefox 96.0.2.
:learn_more:
The user clicked "Learn more". The user remains opted out in this case. This
object was removed in Firefox 96.0.2.
:learn_more_1:
The user clicked "Learn more" on the introduction section. The user remains
opted out in this case.
:learn_more_2:
The user clicked "Learn more" on the main section. The user remains opted out
in this case.
:not_now_2:
The user clicked "Not now" link on main section. The user remains opted out in
this case.
:not_now_link:
The user clicked "Not now". The user remains opted out in this case. This
object was removed in Firefox 96.0.2.
:reject_2:
The user rejected the dialog and opted out.
:settings:
The user clicked the "Customize" button. The user remains opted out in this
case. This object was removed in Firefox 96.0.2.
Changelog
Firefox 94.0
Introduced. [Bug 1734447_]
Firefox 96.0.2
Added ``accept_2``, ``reject_2``, ``learn_more_2``, ``close_1``,
``not_now_2``, ``dismiss_1``, ``dismiss_2`` and removed ``accept``,
``dismissed_escape_key``, ``dismissed_other``, ``learn_more``,
``not_now_link``, ``settings``. [Bug 1745026_]
Firefox 100.0
Added ``learn_more_1``. [Bug 1761171_]
.. _1734447: https://bugzilla.mozilla.org/show_bug.cgi?id=1734447
.. _1745026: https://bugzilla.mozilla.org/show_bug.cgi?id=1745026
.. _1761171: https://bugzilla.mozilla.org/show_bug.cgi?id=1761171
browser.urlbar.quicksuggest.dataCollection.enabled
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This boolean pref records whether the user has opted in to data collection for
Firefox Suggest. It is false by default. It is set to true when the user opts in
to the online modal dialog. The user can also toggle it in the preferences UI
and about:config.
Changelog
Firefox 94.0.2
Introduced. [Bug 1735976_]
.. _1735976: https://bugzilla.mozilla.org/show_bug.cgi?id=1735976
browser.urlbar.suggest.quicksuggest
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This pref no longer exists and is not recorded. It was replaced with
``browser.urlbar.suggest.quicksuggest.nonsponsored`` in Firefox 94.0.2. Prior to
94.0.2, this boolean pref recorded whether suggestions in general were enabled.
Changelog
Firefox 92.0.1
Introduced. [Bug 1730721_]
Firefox 94.0.2
Replaced with ``browser.urlbar.suggest.quicksuggest.nonsponsored``. [Bug
1735976_]
.. _1730721: https://bugzilla.mozilla.org/show_bug.cgi?id=1730721
.. _1735976: https://bugzilla.mozilla.org/show_bug.cgi?id=1735976
browser.urlbar.suggest.quicksuggest.nonsponsored
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This boolean pref records whether non-sponsored suggestions are enabled. In both
the offline and online scenarios it is true by default. The user can also toggle
it in the preferences UI and about:config.
Changelog
Firefox 94.0.2
Introduced. It replaces ``browser.urlbar.suggest.quicksuggest``. [Bug
1735976_]
Firefox 96.0:
The pref is now true by default in the online scenario. Previously it was
false by default in online. For users who were enrolled in the online
scenario in older versions and who did not opt in or otherwise enable
non-sponsored suggestions, the pref will remain false when upgrading. For
all other users, it will default to true when/if they are enrolled in
online. [Bug 1740965_]
.. _1735976: https://bugzilla.mozilla.org/show_bug.cgi?id=1735976
.. _1740965: https://bugzilla.mozilla.org/show_bug.cgi?id=1740965
browser.urlbar.suggest.quicksuggest.sponsored
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This boolean pref records whether sponsored suggestions are enabled. In both the
offline and online scenarios it is true by default. The user can also toggle it
in the preferences UI and about:config.
Changelog
Firefox 92.0.1
Introduced. [Bug 1730721_]
Firefox 96.0:
The pref is now true by default in the online scenario. Previously it was
false by default in online. For users who were enrolled in the online
scenario in older versions and who did not opt in or otherwise enable
sponsored suggestions, the pref will remain false when upgrading. For all
other users, it will default to true when/if they are enrolled in
online. [Bug 1740965_]
.. _1730721: https://bugzilla.mozilla.org/show_bug.cgi?id=1730721
.. _1740965: https://bugzilla.mozilla.org/show_bug.cgi?id=1740965
The "quick-suggest" Ping
------------------------
Firefox Suggest suggestions record telemetry via the `"quick-suggest" ping`_,
which is detailed in the linked Glean Dictionary page.
.. _"quick-suggest" ping: https://dictionary.telemetry.mozilla.org/apps/firefox_desktop/pings/quick-suggest
Changelog
Firefox 116.0
Introduced. [Bug 1836283_]
Firefox 122.0
PingCentre-sent custom pings removed. [Bug `1868580`_]
.. _1836283: https://bugzilla.mozilla.org/show_bug.cgi?id=1836283
.. _1868580: https://bugzilla.mozilla.org/show_bug.cgi?id=1868580
Nimbus Exposure Event
---------------------
A `Nimbus exposure event`_ is recorded once per app session when the user first
encounters the UI of an experiment in which they're enrolled. The timing of the
event depends on the experiment and branch.
There are two Nimbus variables that determine the timing of the event:
``experimentType`` and the deprecated ``isBestMatchExperiment``. To determine
when the exposure event is recorded for a specific experiment and branch,
examine the experiment's recipe and look for one of these variables.
Listed below are the supported values of ``experimentType`` and
``isBestMatchExperiment`` along with details on when their corresponding
exposure events are recorded.
:experimentType = "best-match":
If the user is in a treatment branch and they did not disable best match, the
event is recorded the first time they trigger a best match; if the user is in
a treatment branch and they did disable best match, the event is not recorded
at all. If the user is in the control branch, the event is recorded the first
time they would have triggered a best match. (Users in the control branch
cannot "disable" best match since the feature is totally hidden from them.)
NOTE: The "Top pick" checkbox, which allowed the user to disable best batch,
was removed in 120.
:experimentType = "modal":
If the user is in a treatment branch, the event is recorded when they are
shown an opt-in modal. If the user is in the control branch, the event is
recorded every time they would have been shown a modal, which is on every
startup where another non-Suggest modal does not appear.
NOTE: This has been removed in Firefox 124.
:isBestMatchExperiment = true:
This is a deprecated version of ``experimentType == "best-match"``.
:All other experiments:
For all other experiments not listed above, the event is recorded the first
time the user triggers a Firefox Suggest suggestion.
Changelog
Firefox 92.0
Introduced. The event is always recorded the first time the user triggers
a Firefox Suggest suggestion regardless of the experiment they are enrolled
in. [Bug 1724076_, 1727392_]
Firefox 99.0
The ``isBestMatchExperiment = true`` case is added. [Bug 1752953_]
Firefox 100.0
The ``experimentType = "modal"`` case is added.
``isBestMatchExperiment = true`` is deprecated in favor of
``experimentType = "best-match"``. [Bug 1760596_]
Firefox 124.0
The ``experimentType = "modal"`` case is removed.
.. _Nimbus exposure event: https://experimenter.info/jetstream/jetstream/#enrollment-vs-exposure
.. _1724076: https://bugzilla.mozilla.org/show_bug.cgi?id=1724076
.. _1727392: https://bugzilla.mozilla.org/show_bug.cgi?id=1727392
.. _1752953: https://bugzilla.mozilla.org/show_bug.cgi?id=1752953
.. _1760596: https://bugzilla.mozilla.org/show_bug.cgi?id=1760596
Merino Search Queries
---------------------
Merino is a Mozilla service that provides Firefox Suggest suggestions. Along
with remote settings on the client, it is one of two possible sources for
Firefox Suggest. When Merino integration is enabled on the client and the user
has opted in to Firefox Suggest data collection, Firefox sends everything the
user types in the address bar to the Merino server. In response, Merino finds
relevant search results from its search providers and sends them to Firefox,
where they are shown to the user in the address bar.
The user opts in to Firefox Suggest data collection when they either opt in to
the online modal dialog or they enable Firefox Suggest data collection in the
preferences UI.
Merino queries are not telemetry per se but we include them in this document
since they necessarily involve data collection.
Merino API
~~~~~~~~~~
Data that Firefox sends to the Merino server is summarized below. When Merino
integration is enabled on the client and the user has opted in to Firefox
Suggest data collection, this data is sent with every user keystroke in the
address bar.
For details on the Merino API, see the `Merino documentation`_.
.. _Merino documentation: https://mozilla-services.github.io/merino/api.html#suggest
Search Query
The user's search query typed in the address bar.
API parameter name: ``q``
Session ID
A UUID that identifies the user's current search session in the address bar.
This ID is unique per search session. A search session ends when the focus
leaves the address bar or a timeout of 5 minutes elapses, whichever comes
first.
API parameter name: ``sid``
Sequence Number
A zero-based integer that is incremented after a response is received from
Merino. It is reset at the end of each search session along with the session
ID.
API parameter name: ``seq``
Client Variants
Optional. A list of experiments or rollouts that are affecting the Firefox
Suggest user experience. If Merino recognizes any of them, it will modify its
behavior accordingly.
API parameter name: ``client_variants``
Providers
Optional. A list of providers to use for this request. If specified, only
suggestions from the listed providers will be returned. Otherwise Merino will
use a default set of providers.
API parameter name: ``providers``
|