Bug 1424292 - Pocket referrer only sent when story has HTTPS URL r=Mardak a=gchang
authorChristian Sadilek <csadilek@mozilla.com>
Fri, 08 Dec 2017 12:34:45 -0500
changeset 445317 f8ae2687ccc18da13270339d5a0c19fb41c72cb0
parent 445316 23dd8e97b482d748b5c5ebea0a1d9d679bd66866
child 445318 96355d26b932219a8081bfe21ee80048e12ce274
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMardak, gchang
bugs1424292
milestone58.0
Bug 1424292 - Pocket referrer only sent when story has HTTPS URL r=Mardak a=gchang MozReview-Commit-ID: 5u18oc0GiNx
browser/extensions/activity-stream/lib/ActivityStream.jsm
--- a/browser/extensions/activity-stream/lib/ActivityStream.jsm
+++ b/browser/extensions/activity-stream/lib/ActivityStream.jsm
@@ -57,17 +57,17 @@ const PREFS_CONFIG = new Map([
       // Use the opposite value as what default value the feed would have used
       hidden: !PREFS_CONFIG.get("feeds.section.topstories").getValue(args),
       provider_header: "pocket_feedback_header",
       provider_description: "pocket_description",
       provider_icon: "pocket",
       provider_name: "Pocket",
       read_more_endpoint: "https://getpocket.com/explore/trending?src=fx_new_tab",
       stories_endpoint: `https://getpocket.cdn.mozilla.net/v3/firefox/global-recs?version=2&consumer_key=$apiKey&locale_lang=${args.locale}`,
-      stories_referrer: "https://getpocket.com/recommendations",
+      stories_referrer: "http://getpocket.com/recommendations",
       info_link: "https://www.mozilla.org/privacy/firefox/#pocketstories",
       disclaimer_link: "https://getpocket.cdn.mozilla.net/firefox/new_tab_learn_more",
       topics_endpoint: `https://getpocket.cdn.mozilla.net/v3/firefox/trending-topics?version=2&consumer_key=$apiKey&locale_lang=${args.locale}`,
       show_spocs: false,
       personalized: true
     })
   }],
   ["showSponsored", {