Closed Bug 1843186 Opened 1 year ago Closed 1 year ago

Append UTM parameters to Pocket Collection URLs

Categories

(Firefox :: Address Bar, task)

task

Tracking

()

VERIFIED FIXED
117 Branch
Tracking Status
firefox117 --- verified

People

(Reporter: daisuke, Assigned: daisuke)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

No description provided.
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8885be86d0e9 Append UTM parameter to Pocket suggestions r=dao
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch

STR for QA

  1. Set browser.urlbar.pocket.featureGate = true to enable Pocket suggestions and browser.urlbar.bestMatch.enabled = true to enable best match
  2. Type "breakfast" to trigger a low confidence (non-top-pick) Pocket suggestion (title starts with "Cat Cora")
  3. Click the suggestion
  4. Verify a Pocket page loads. The URL should contain the following parameters:
    utm_medium=firefox-desktop
    utm_source=firefox-suggest
    utm_campaign=pocket-collections-in-the-address-bar
    utm_content=treatment
    
    The full URL should be: https://getpocket.com/collections/cat-cora-my-favorite-holiday-recipes?utm_medium=firefox-desktop&utm_source=firefox-suggest&utm_campaign=pocket-collections-in-the-address-bar&utm_content=treatment
  5. Type "breakfast paninis" to trigger a high confidence (top pick) Pocket suggestion (title starts with "Your new favorite breakfast")
  6. Click it
  7. Verify a Pocket page loads with the same parameters as before. The full URL should be: https://getpocket.com/collections/breakfast-sandwich-recipes?utm_medium=firefox-desktop&utm_source=firefox-suggest&utm_campaign=pocket-collections-in-the-address-bar&utm_content=treatment
Flags: qe-verify+
Flags: in-testsuite+

We verified this issue on the latest Firefox Nightly 117.0a1 (Build ID: 20230717160307) on Windows 10 x64, macOS 12.6.1, and Ubuntu 20.04 x64.

  • We confirm that the following ULR parameters are displayed in the URLs of both high and low-confidence Pocket results:
    utm_medium=firefox-desktop
    utm_source=firefox-suggest
    utm_campaign=pocket-collections-in-the-address-bar
    utm_content=treatment
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: