Closed Bug 1849236 Opened 1 year ago Closed 1 year ago

Send a shopping component displayed Event

Categories

(Firefox :: Shopping, task)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: perry.mcmanis, Assigned: perry.mcmanis)

References

Details

Attachments

(1 file, 1 obsolete file)

If the Shopping component sidebar is displayed, send an event.

Assignee: nobody → pmcmanis
Component: Telemetry → Shopping
Product: Toolkit → Firefox

Adding some context provided to me by jhirsch:

There are a lot of cases we need to capture

  • polling for data
  • error from the server (could be rate limiting or generic server outage or, I guess, anything else, like fetch timeout due to latency)
  • products either reported deleted, or considered deleted by fakespot but reported as re-activated by the user
  • product doesn't have analysis, we've never seen it before
  • product doesn't have analysis--because there aren't enough reviews (tricky to infer this from the API)
  • product has data but it's stale
  • (note also, not represented in the API response but coming soon: product is an unsupported category like groceries or gift cards)

Bruce, on the product doesn't have analysis, do you anticipate these needing to be separate or would you be ok with them being merged?

Flags: needinfo?(betling)
Blocks: 1851675
No longer blocks: 1851675
Depends on: 1852157
Attachment #9349507 - Attachment is obsolete: true
Flags: needinfo?(betling)
Blocks: 1852562

We will want to capture the states as per comment 3, but we will do that as a followup (see the bug that this one blocks).

(In reply to Perry McManis [:perry.mcmanis] from comment #3)

Adding some context provided to me by jhirsch:

There are a lot of cases we need to capture

  • polling for data
  • error from the server (could be rate limiting or generic server outage or, I guess, anything else, like fetch timeout due to latency)
  • products either reported deleted, or considered deleted by fakespot but reported as re-activated by the user
  • product doesn't have analysis, we've never seen it before
  • product doesn't have analysis--because there aren't enough reviews (tricky to infer this from the API)
  • product has data but it's stale
  • (note also, not represented in the API response but coming soon: product is an unsupported category like groceries or gift cards)

Bruce, on the product doesn't have analysis, do you anticipate these needing to be separate or would you be ok with them being merged?

Perry just following up here on comment 3 and your most recent comment. It sounds right to have a general displayed event ping and then to have as many of the details on the state as extras. Fine to implement those extras as a follow on in my view.

Hey Bruce, currently I have this setup to fire when a session is restored (i.e. someone who has their browser set to bring back up their prior state would send a sideBarDisplayed when they did so). It would NOT send one when a user switches to a different tab, then comes back, as that starts to feel too decoupled from user web navigation.

Does this work for you? If not please lmk what configuration you would like for these two scenarios.

Flags: needinfo?(betling)

That works for me Perry.

Flags: needinfo?(betling)
Pushed by pmcmanis@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9ce363f0e95d Send a shopping component displayed Event r=jhirsch,TravisLong
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
See Also: → 1861294
Blocks: 1868585
See Also: → 1922613
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: