Closed Bug 1857092 Opened 2 years ago Closed 2 years ago

Add Glean metrics for sponsored Firefox Suggestion clicks in Fenix

Categories

(Firefox for Android :: Search, enhancement)

All
Android
enhancement

Tracking

()

VERIFIED FIXED
120 Branch
Tracking Status
firefox119 --- wontfix
firefox120 --- verified
firefox121 --- verified

People

(Reporter: lina, Assigned: ttran, Mentored)

References

(Blocks 1 open bug)

Details

(Whiteboard: [disco])

Attachments

(1 file)

Let's add an initial round of metrics for the new Firefox Suggest suggestions, starting with clicks.

Mentor: lina
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Flags: qe-verify+
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch

Hello,
The following ping was generated after tapping on a sponsored search result:

    "string": {
      "fx_suggest.advertiser": "amazon",
      "fx_suggest.iab_category": "22 - Shopping",
      "fx_suggest.ping_type": "fxsuggest-click"
    }

Is there anything else the QA team should verify regarding this ticket?

Thanks!

Flags: needinfo?(lina)
Flags: needinfo?(lina)
Summary: Add Glean metrics for clicks on Firefox Suggestions in Fenix → Add Glean metrics for sponsored Firefox Suggestion clicks in Fenix

(In reply to Andrei Mocirean from comment #3)

Hello,
The following ping was generated after tapping on a sponsored search result:

Thanks for verifying, Andrei! There are a few more fields in different sections—here's the complete set:

{
   "metrics": {
      "quantity": {
         "fx_suggest.block_id": 4345
      },
      "url": {
         "fx_suggest.reporting_url": "https://mozillacla.ampxdirect.com/officedepot?sub1=officedepot&sub2=us&custom-data=4345&ctag=319135919us43452023102322"
      },
      "uuid": {
         "fx_suggest.context_id": "576e32ff-87ac-4318-8959-d102a8d37da5"
      },
      "string": {
         "fx_suggest.iab_category": "22 - Shopping",
         "fx_suggest.advertiser": "office depot",
         "fx_suggest.ping_type": "fxsuggest-click"
      }
   }
}

Bug 1858542 added two more fields; if you're testing with today's Nightly, you might also see:

  • "fx_suggest.position" in the quantity section.
  • "fx_suggest.is_clicked" in a new boolean section.
Status: RESOLVED → VERIFIED

Hello,
Verified as fixed on Nightly 121.0a1 from 10/27 with Assus Zenfone 9 ( Android 12). The following ping was generated after tapping on a sponsored search result:

"metrics": {

"string": {

  "fx_suggest.iab_category": "22 - Shopping",

  "fx_suggest.ping_type": "fxsuggest-click",

  "fx_suggest.advertiser": "1-800 contacts"

},

"uuid": {

  "fx_suggest.context_id": "6f62e884-a38b-42e5-b773-31232d21af2b"

},

"url": {

  "fx_suggest.reporting_url": "https://mozillacla.ampxdirect.com/1800contacts?sub1=1800contacts&sub2=us&custom-data=1277&ctag=319093351us12772023110311"

},

"quantity": {

  "fx_suggest.position": 6,

  "fx_suggest.block_id": 1277

},

"boolean": {

  "fx_suggest.is_clicked": true

}

}

}

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: