Closed Bug 1881189 Opened 1 year ago Closed 3 months ago

Add pingTypes for each surface that uses the aboutwelcome bundle

Categories

(Firefox :: Messaging System, task, P2)

task
Points:
3

Tracking

()

RESOLVED DUPLICATE of bug 1927849

People

(Reporter: aminomancer, Unassigned)

References

(Blocks 1 open bug)

Details

Right now, all telemetry events coming from aboutwelcome.bundle.js are missing a pingType property, because they aren't coming from TelemetryFeed, which adds the pingType for other surfaces. pingType is useful because it helps us distinguish between events in aggregate on Redash/Looker. So we'll need to add some logic to track where the message is coming from and/or what its template is, so that AboutWelcomeTelemetry can identify the right pingType for the message and add it to the event object.

This includes about:welcome onboarding, spotlights, feature callouts, and shopping onboarding & surveys. Each one should have its own pingType, I think. Complicating matters is that about:welcome and shopping don't actually have template values, as they aren't really messages, strictly speaking. Whereas other messages look like message: { id:, content: {...} }, about:welcome and shopping messages look like content: {...}. In other words, they are just the content property, i.e. missing the top level that messages normally have. But they do send the same telemetry messages send, so they need to have a pingType nonetheless.

One option would be to refactor things so that these special surfaces do have the top level that messages normally have. That might solve other problems in the future. But I think the simplest approach would be to add an identifying property to the return value of AWGetFeatureConfig (which is defined individually by each surface).

Iteration: --- → 125.1 - Feb 19 - Mar 1
Points: --- → 3
Priority: -- → P2
Iteration: 125.1 - Feb 19 - Mar 1 → 125.2 - Mar 4 - Mar 15
Iteration: 125.2 - Mar 4 - Mar 15 → 126.1 - Mar 18 - Mar 29
Iteration: 126.1 - Mar 18 - Mar 29 → 126.2 - Apr 1 - Apr 12
Iteration: 126.2 - Apr 1 - Apr 12 → 127.1 - Apr 15 - Apr 26
Iteration: 127.1 - Apr 15 - Apr 26 → 127.2 - Apr 29 - May 10
Iteration: 127.2 - Apr 29 - May 10 → 128.1 - May 13 - May 24
Iteration: 128.1 - May 13 - May 24 → 128.2 - May 27 - Jun 7
Iteration: 128.2 - May 27 - Jun 7 → 129.1 - Jun 10 - Jun 21
Iteration: 129.1 - Jun 10 - Jun 21 → 129.2 - Jun 24 - Jul 5
Iteration: 129.2 - Jun 24 - Jul 5 → 130.1 - Jul 8 - Jul 19
Iteration: 130.1 - Jul 8 - Jul 19 → 130.2 - Jul 22 - Aug 2
Iteration: 130.2 - Jul 22 - Aug 2 → 131.1 - Aug 5 - Aug 16
Iteration: 131.1 - Aug 5 - Aug 16 → 131.2 - Aug 19 - Aug 30
Iteration: 131.2 - Aug 19 - Aug 30 → 132.1 - Sep 2 - Sep 13
Iteration: 132.1 - Sep 2 - Sep 13 → 132.2 - Sep 16 - Sep 27
Iteration: 132.2 - Sep 16 - Sep 27 → 133.1 - Sep 30 - Oct 11
Iteration: 133.1 - Sep 30 - Oct 11 → 133.2 - Oct 14 - Oct 25
Iteration: 133.2 - Oct 14 - Oct 25 → ---
Status: NEW → RESOLVED
Closed: 3 months ago
Duplicate of bug: 1927849
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.