Closed
Bug 1184364
Opened 11 years ago
Closed 11 years ago
[breakdown] Dynamically update content of /new by referrer
Categories
(www.mozilla.org :: Pages & Content, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: ckprice, Unassigned)
Details
It would be great to modify the headline (and possible add/edit a subhead) of the /new page based on where the user came from.
As we begin to implement multiple referral programs simultaneously, we'd like to modify - at the minimum - the headline to align with the referring message.
E.g. referring message is 'Firefox is super fast! <image>', headline on /new changes to 'Firefox is so fast omg!' for these visits. Referrers could most likely be identified by values in the query string.
Currently this can be done via Optimizely, but it would be beneficial to come to a permanent implementation.
Any thoughts of how this could be accomplished?
Bonus points: although the immediate ask is English only, how would this look if we wanted to localize the message.
Comment 1•11 years ago
|
||
I'd always heard that the point of the download page itself was to be as minimal feeling as possible so that we can drive the one purpose of the page: downloads. The marketing should happen elsewhere IMHO. The page is already far too complex from a code perspective (also IMHO).
From a technical perspective, we'd need some kind of addition to the url to accomplish this. Either a query param (e.g. /new/?type=fast) or a hash (e.g. /new/#fast) such that JS can detect the value and change the page accordingly. Detecting via the "referer" header isn't reliable enough to use (it's often striped out), and would rely on us drastically reducing the cachability of the page due to the server needing to produce different HTML based on the referer header.
Comment 2•11 years ago
|
||
If all strings are decided upon and localized prior to launch, there would be no real localization challenges. All strings would still live inside the template. JS would decide which string(s) to show and hide.
However, if strings come in one at a time and are not fully localized (en-US only to start), logic for the page could get even more hairy. In this scenario, each new string would need to live behind an l10n tag. The JS would read the querystring parameter, decide which string it *should* show, check to make sure that string exists in the template (for the current locale), and then (if available) show it, or (if not available) fall back to an already localized string. This could be mitigated a bit by having a single fallback string for all conditions.
I agree with :pmac that the page is already overly complex (and brittle) from a code perspective.
Comment 3•11 years ago
|
||
I already do headline customizations for people who come to the /firefox/new/ page from Yahoo sources, and it helps bump up the conversion rate. I haven't tried it for other sources or locations.
Cory: can you give some examples that we can test before trying to implement something on an already complex page?
Comment 4•11 years ago
|
||
Does it make any sense to step back and look at totally rewriting the code for the page from scratch based on updated use cases/requirements in an attempt to simplify the code/logic?
Comment 5•11 years ago
|
||
(In reply to Jennifer Bertsch [:jbertsch] from comment #4)
> Does it make any sense to step back and look at totally rewriting the code
> for the page from scratch based on updated use cases/requirements in an
> attempt to simplify the code/logic?
YES.
Even without the change requested here, the page could definitely be simplified, e.g. remove the scene 2 animation/transition and replace with a SUMO link.
| Reporter | ||
Comment 6•11 years ago
|
||
Going to close this as it looks like we don't want to add another layer to /new.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•