Page MenuHomePhabricator

Add basic instrumentation to YiR screens
Closed, ResolvedPublic

Description

This task adds the following:

  1. Bread crumbing instrumentation.
  2. DonorExperienceEvent logging.

Expected Behavior

Bread crumbing: When the donate button is clicked, the click event will be logged as a breadcrumb.
Donation Experience Event : When the donate button is clicked, a donor experience event will be logged"

Events:
app_donor_experience
donate_start_click_yir

Event Timeline

LPetty-WMF renamed this task from Add basic instrumentation (breadcrumbs) and branching logic for login state to Add basic instrumentation, branching logic for login state and addition YiR screens.May 7 2025, 11:29 PM
LPetty-WMF renamed this task from Add basic instrumentation, branching logic for login state and addition YiR screens to Add basic instrumentation, branching logic for login state and additional YiR screens.
LPetty-WMF updated the task description. (Show Details)
LPetty-WMF renamed this task from Add basic instrumentation, branching logic for login state and additional YiR screens to Add basic instrumentation to YiR screens.May 12 2025, 3:46 PM
LPetty-WMF updated the task description. (Show Details)
ABorbaWMF subscribed.

Testing on 2.7.50539-beta-2025-07-08

With YIR enabled in developer settings. Testing against the events stream URL. I do not see events from app_donor_experience. This event, donate_start_click_yir, does not appear to be available in the events streams.

I do not see events from app_donor_experience. This event, donate_start_click_yir, does not appear to be available in the events streams.

The EventStreams interface should be working now. You can select the app_donor_experience stream, and then look for an event that contains "action":"donate_start_click_yir".

image.png (1,253×1,217 px, 125 KB)

Removing inactive assignee account @LPetty-WMF - please do so as part of offboarding checklists.

Unable to test this one. The events site is not working for me with the app_donor_experience eventstream. I am not seeing any events. For the donate_start_click_yir eventstream, I am not seeing it in the search field.

https://stream.wikimedia.beta.wmcloud.org/v2/ui/#/?streams=app_donor_experience

Unable to test this one. The events site is not working for me with the app_donor_experience eventstream. I am not seeing any events. For the donate_start_click_yir eventstream, I am not seeing it in the search field.

https://stream.wikimedia.beta.wmcloud.org/v2/ui/#/?streams=app_donor_experience

Just to make sure:

  • The EventStreams interface on the Beta cluster works only with the Alpha and Dev versions of the app. (It does not work with the Prod or Beta versions of the app, both of which send their events to the production analytics gateway.) Therefore, please make sure to test these types of things with the Alpha app. (sorry this hasn't been clear before.)
  • The app_donor_experience stream should be the one to select. The string donate_start_click_yir will appear in the events themselves, and is not a different stream.
Dbrant claimed this task.