Hi Vinny and Slobo,
Can you take a look on this CL?
Thanks
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
selected, filled, and submitted from suggestion dropdown with tabbed pane,```suggestion
selected, filled, and submitted from a suggestion dropdown with a tabbed pane,
```
selected, filled, and submitted from suggestion dropdown with tabbed pane,"... filled, and submitted ..., and when the... " There are two `and`s here. One here, and in the same sentence the line below.
action occurs (suggestion shown, selected, etc.). Each BnplFormEvent metricThis seems to refer to the enum for the event above. Should it be PayLaterFormEvent?
can be recorded once per page load.I'm not sure how this records once per page load and also when the BNPL suggestion is shown, selected, filled, submitted, and tab switched.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
selected, filled, and submitted from suggestion dropdown with tabbed pane,```suggestion
selected, filled, and submitted from a suggestion dropdown with a tabbed pane,
```
description updated
selected, filled, and submitted from suggestion dropdown with tabbed pane,"... filled, and submitted ..., and when the... " There are two `and`s here. One here, and in the same sentence the line below.
Moved the second and part to a new sentence.
action occurs (suggestion shown, selected, etc.). Each BnplFormEvent metricThis seems to refer to the enum for the event above. Should it be PayLaterFormEvent?
Thanks for catching this. enum name updated.
can be recorded once per page load.I'm not sure how this records once per page load and also when the BNPL suggestion is shown, selected, filled, submitted, and tab switched.
Same as old BNPL metrics, we are using [CreditCardFormEventLogger::has_logged_suggestions_shown_on_bnpl_eligible_merchant_](https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/metrics/form_events/credit_card_form_event_logger.cc#:~:text=if%20(!has_logged_suggestions_shown_on_bnpl_eligible_merchant_,%7D) to track if this is the first shown event.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
can be recorded once per page load.Yishui LiuI'm not sure how this records once per page load and also when the BNPL suggestion is shown, selected, filled, submitted, and tab switched.
Same as old BNPL metrics, we are using [CreditCardFormEventLogger::has_logged_suggestions_shown_on_bnpl_eligible_merchant_](https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/metrics/form_events/credit_card_form_event_logger.cc#:~:text=if%20(!has_logged_suggestions_shown_on_bnpl_eligible_merchant_,%7D) to track if this is the first shown event.
BnplFormEvent is logged when shown, selected, filled, submitted. Is the same true for PayLaterFormEvent? It seems to just be on shown.
can be recorded once per page load.Yishui LiuI'm not sure how this records once per page load and also when the BNPL suggestion is shown, selected, filled, submitted, and tab switched.
Slobodan PejicSame as old BNPL metrics, we are using [CreditCardFormEventLogger::has_logged_suggestions_shown_on_bnpl_eligible_merchant_](https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/metrics/form_events/credit_card_form_event_logger.cc#:~:text=if%20(!has_logged_suggestions_shown_on_bnpl_eligible_merchant_,%7D) to track if this is the first shown event.
BnplFormEvent is logged when shown, selected, filled, submitted. Is the same true for PayLaterFormEvent? It seems to just be on shown.
There will be more CLs to add the selected, filled, submitted metrics after this CL, and there are [other bool flags](https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/metrics/form_events/credit_card_form_event_logger.h#:~:text=//%20If%20true%2C%20the%20suggestions,has_logged_form_submitted_with_bnpl_vcn_%20%3D%20false%3B) to make sure those events are only logged once
| Code-Review | +1 |
can be recorded once per page load.Yishui LiuI'm not sure how this records once per page load and also when the BNPL suggestion is shown, selected, filled, submitted, and tab switched.
Slobodan PejicSame as old BNPL metrics, we are using [CreditCardFormEventLogger::has_logged_suggestions_shown_on_bnpl_eligible_merchant_](https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/metrics/form_events/credit_card_form_event_logger.cc#:~:text=if%20(!has_logged_suggestions_shown_on_bnpl_eligible_merchant_,%7D) to track if this is the first shown event.
Yishui LiuBnplFormEvent is logged when shown, selected, filled, submitted. Is the same true for PayLaterFormEvent? It seems to just be on shown.
There will be more CLs to add the selected, filled, submitted metrics after this CL, and there are [other bool flags](https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/metrics/form_events/credit_card_form_event_logger.h#:~:text=//%20If%20true%2C%20the%20suggestions,has_logged_form_submitted_with_bnpl_vcn_%20%3D%20false%3B) to make sure those events are only logged once
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM for enums.xml and histograms.xml
pane. Additionally, Suggstion tab switch events are also tracked. Each event`Suggestion`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
components/autofill/core/browser/metrics/form_events/credit_card_form_event_logger.{cc,h} LGTM
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
pane. Additionally, Suggstion tab switch events are also tracked. Each eventYishui Liu`Suggestion`
typo corrected.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
16 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: tools/metrics/histograms/metadata/autofill/histograms.xml
Insertions: 3, Deletions: 3.
@@ -4213,9 +4213,9 @@
This histogram records events related to Buy Now Pay Later (BNPL)
suggestions in tabbed pane. It tracks when the BNPL suggestion is shown,
selected, filled, and submitted from a suggestion dropdown with a tabbed
- pane. Additionally, Suggstion tab switch events are also tracked. Each event
- log is emitted when the action occurs (suggestion shown, selected, etc.).
- Each PayLaterFormEvent metric can be recorded once per page load.
+ pane. Additionally, suggestion tab switch events are also tracked. Each
+ event log is emitted when the action occurs (suggestion shown, selected,
+ etc.). Each PayLaterFormEvent metric can be recorded once per page load.
</summary>
</histogram>
```
[BNPL][PNPL] Suggestion shown metrics
This CL adds the logging logic for Pay Later tabs when the suggestions
are shown on BNPL eligible websites.
Suggestions shown is always logged as far as the user is on a BNPL
eligible websites.
Suggestions shown with pay later tab is only logged when there is a pay
later tab suggestion.
Screen record:
http://screencast/cast/NTM1NTIxNDAyMTMyODg5NnwzZTU5MzU5Zi04Yw
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |