Page MenuHomePhabricator

Extract event tracking into an interface
Closed, ResolvedPublic8 Estimated Story Points

Description

List of events:

DoneEvent schemaaction name / prefixtriggered when...
WMDEBannerEventsmobile-mini-banner-expanded...clicking "Donate now" in the mobile mini banner and displaying the large mobile banner.
clicked-already-donated...clicking "I already donated" in the footer.
upgrade-to-yearly-form-page-shown...displaying the form page asking for a conversion from one-time payments to a yearly payment interval.
upgraded-to-yearly...clicking the button on the 2nd form page after agreeing to change to a yearly payment interval.
not-upgraded-to-yearly...clicking the button on the 2nd form page after disagreeing to change to a yearly payment interval.
custom-amount-form-page-shown...displaying the form page asking for an amount after clicking the "Donate yearly but a different amount" option.
decreased-amount...clicking the button on the custom amount form page after entering an amount that is lower than the initially entered amount.
increased-amount...clicking the button on the custom amount form page after entering an amount that is lower than the initially entered amount.
address-type-form-page-shown...displaying the last form page asking if people want to leave their postal address data.
WMDEBannerSizeIssuenone (actual banner size issue)...displaying the banner would at least partially push the Wikipedia logo out of the viewport.
namespace_tracking...banner is not displayed because the user is viewing a page that is not in the article namespace.
banner-closed...banner was closed by the user (also in the soft close micro banner).
banner-closed-full...the mobile expanded banner was closed by the user.
banner-closed-maybelater...the user clicked the "Maybe later" button in the soft close micro banner.
banner-closed-already-donated...the user clicks the "Enough for this year" button in the "I've already donated" overlay.
banner-closed-already-donated-maybelater...the user clicks the "Maybe later" button in the "I've already donated" overlay.
micro-banner-ignored...the user doesn't interact with the soft close micro banner before it is hidden automatically.
submit-recurring...the user agrees to donate yearly and submits the banner form on the convert to yearly form page.
submit-non-recurring...the user does not agree to donate yearly and submits the banner form on the convert to yearly form page.
submit-different-amount...the user submits the banner form on the custom amount form page.
submit...the user submits the banner form to the Fundraising Application (only applicable if the form's last page asks for the address type).

Related Objects

Event Timeline

kai.nissen set the point value for this task to 8.
Event schemaaction name / prefixtriggered when...
WMDEBannerEventsapplication-of-funds-shown...clicking the link "Where does my donation go?" and displaying the use of funds overlay.
funds-modal-donate-clicked...clicking the "Donate now" button in the use of funds overlay.
mini-banner-expanded...clicking "Open thank you message" (thank you banners only) to expand the banner.
mobile-mini-banner-expanded...clicking "Donate now" in the mobile mini banner and displaying the large mobile banner.
feedback-button-clicked...clicking the feedback button in the soft close micro banner (specific to desktop-de-23).
clicked-already-donated...clicking "I already donated" in the footer.
mobile-banner-amount-button-clicked...clicking the additional amount button in the mobile mini banner (only in the variant of mobile-de-05).
upgrade-to-yearly-form-page-shown...displaying the form page asking for a conversion from one-time payments to a yearly payment interval.
upgraded-to-yearly...clicking the button on the 2nd form page after agreeing to change to a yearly payment interval.
not-upgraded-to-yearly...clicking the button on the 2nd form page after disagreeing to change to a yearly payment interval.
custom-amount-form-page-shown...displaying the form page asking for an amount after clicking the "Donate yearly but a different amount" option.
decreased-amount...clicking the button on the custom amount form page after entering an amount that is lower than the initially entered amount.
increased-amount...clicking the button on the custom amount form page after entering an amount that is lower than the initially entered amount.
address-type-form-page-shown...displaying the last form page asking if people want to leave their postal address data.
submit...clicking the CTA button in the expanded thank you banner.
submit-amount...clicking the alternative CTA button in the expanded thank you banner.
WMDEBannerSizeIssuenone (actual banner size issue)...displaying the banner would at least partially push the Wikipedia logo out of the viewport.
viewport_tracking...a banner is displayed.
namespace_tracking...banner is not displayed because the user is viewing a page that is not in the article namespace.
banner-closed...banner was closed by the user (also in the soft close micro banner).
banner-closed-full...the mobile expanded banner was closed by the user.
banner-closed-maybelater...the user clicked the "Maybe later" button in the soft close micro banner.
banner-closed-already-donated...the user clicks the "Enough for this year" button in the "I've already donated" overlay.
banner-closed-already-donated-maybelater...the user clicks the "Maybe later" button in the "I've already donated" overlay.
banner-closed-maybelater-link...clicks the "read later" link in the banner copy (only in desktop-de-15-var).
micro-banner-ignored...the user doesn't interact with the soft close micro banner before it is hidden automatically.
subscription-form-submitted...the user submitted their email address to receive a reminder.
submit-recurring...the user agrees to donate yearly and submits the banner form on the convert to yearly form page.
submit-non-recurring...the user does not agree to donate yearly and submits the banner form on the convert to yearly form page.
submit-different-amount...the user submits the banner form on the custom amount form page.
submit...the user submits the banner form to the Fundraising Application (only applicable if the form's last page asks for the address type).

@kai.nissen we need some clarification on the difference of

group 1) upgraded-to-yearly, not-upgraded-to-yearly, ...
vs
group 2) submit-recurring, submit-non-recurring, submit-different-amount, ..

because we noticed in our code this is probably often overlapping.

What is the exact difference that should be tested by group1 and group2? When exactly are the events triggered?
Is group1 more for "user has clicked on some radio button" and group2 "user has made a final decision and clicked submit with that"?