Add Glean metrics for sponsored Firefox Suggestion clicks in Fenix
Categories
(Firefox for Android :: Search, enhancement)
Tracking
()
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.
Comment 1•2 years ago
|
||
Reporter | ||
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Authored by https://github.com/tiftran
https://github.com/mozilla-mobile/firefox-android/commit/117c86253fbe2a2f370d2bbdeb896c04fffaa271
[main] Bug 1857092 - Add metrics for clicks on Firefox Suggestions in Fenix
Comment 3•2 years ago
|
||
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!
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 4•2 years ago
|
||
(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 thequantity
section."fx_suggest.is_clicked"
in a newboolean
section.
Updated•2 years ago
|
Comment 5•2 years ago
|
||
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
}
}
}
Description
•