Closed Bug 1969155 Opened 1 year ago Closed 1 year ago

Send suggest ping over ohttp and add client's country to data

Categories

(Firefox for Android :: Search, task)

All
Android
task

Tracking

()

VERIFIED FIXED
141 Branch
Tracking Status
firefox140 --- verified
firefox141 --- verified

People

(Reporter: amoya, Assigned: petru)

References

Details

(Whiteboard: [fxdroid][group3])

Attachments

(2 files, 1 obsolete file)

Send the glean ping for suggest impressions over OHTTP.

Reference for the desktop changes here: https://phabricator.services.mozilla.com/D250888
Fenix ping: https://dictionary.telemetry.mozilla.org/apps/fenix/pings/fx-suggest

Please uplift these changes to Beta v140, too.

Whiteboard: [fxdroid][group3]
Assignee: nobody → petru
Status: NEW → ASSIGNED
Attached file bug 1969155 - data review request.txt (obsolete) —
Attachment #9491478 - Flags: data-review?(royang)

Comment on attachment 9491478 [details]
bug 1969155 - data review request.txt

No need for the review since we are already collecting this kind of data through Glean's metadata.

Attachment #9491478 - Attachment is obsolete: true
Attachment #9491478 - Flags: data-review?(royang)
Pushed by plingurar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/64b366ffaca6 part 1 - Send the fx-suggest ping over ohttp r=android-reviewers,Roger https://hg.mozilla.org/integration/autoland/rev/352fe204efcd part 2 - Also send the country determining regional search suggestions in the fx-suggest ping r=android-reviewers,Roger,skhan
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch

@QA Please help test using the steps from here that the fx-suggest ping now contains also a country value.

Flags: qe-verify+
See Also: → 1858542

Verified as implemented on the latest Firefox for Android Nightly 141.0a1 from 6/5.
Tested with Samsung galaxy S24 (Android 15) following the steps provided by Petru above.

fx_suggest.ping_type	"fxsuggest-impression"
fx_suggest.iab_category	"22 - Shopping"
fx_suggest.advertiser	"macy's"
fx_suggest.country	"RO"

The Glean dashboard can be seen here.

Flags: qe-verify+

Comment on attachment 9491467 [details]
Bug 1969155 - part 1 - Send the fx-suggest ping over ohttp r=#android-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: Need this to increase the usefulness of search suggestions.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Use the steps from here - https://bugzilla.mozilla.org/show_bug.cgi?id=1858542#c6 to verify that the fx-suggest ping now contains also a country value.
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Small targetted change already verified by QA.
  • String changes made/needed:
  • Is Android affected?: Yes
Attachment #9491467 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9491468 [details]
Bug 1969155 - part 2 - Also send the country determining regional search suggestions in the fx-suggest ping r=#android-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: Need this to increase the usefulness of search suggestions.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Use the steps from here - https://bugzilla.mozilla.org/show_bug.cgi?id=1858542#c6 to confirm that the fx-suggest ping now contains also a country value.
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Small targetted change already verified by QA.
  • String changes made/needed:
  • Is Android affected?: Yes
Attachment #9491468 - Flags: approval-mozilla-beta?

Comment on attachment 9491467 [details]
Bug 1969155 - part 1 - Send the fx-suggest ping over ohttp r=#android-reviewers

Approved for 140.0b6

Attachment #9491467 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Comment on attachment 9491468 [details]
Bug 1969155 - part 2 - Also send the country determining regional search suggestions in the fx-suggest ping r=#android-reviewers

Approved for 140.0b6

Attachment #9491468 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified as fixed on the Firefox for Android Beta 140.0v7 with an Oppo Find N2 Flip (Android 15).
Both fxsuggest-impression and fxsuggest-click pings contain also the country value.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: