Closed Bug 498920 Opened 15 years ago Closed 15 years ago

Allow tracking of people coming to inproduct help by pressing keyboard shortcut (F1)

Categories

(support.mozilla.org :: General, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: djst, Assigned: paulc)

References

Details

(Whiteboard: sumo_only)

Attachments

(1 file, 3 obsolete files)

Now that Firefox (3.5) is requesting different URLs depending on if you selected Firefox Help from the Help menu or just pressed F1 (or Cmd+Shift+? on the Mac), we would like to see how the different access points affect things like bounce rate.

We need to make sure that, for Firefox 3.5 and en-US ONLY, the inproduct traffic is sent to three unique addresses:

firefox-help   -> http://support.mozilla.com/en-US/kb/Firefox+Help+1
firefox-f1     -> http://support.mozilla.com/en-US/kb/Firefox+Help+2
firefox-osxkey -> http://support.mozilla.com/en-US/kb/Firefox+Help+3

For other versions of Firefox, or locales, it should keep pointing to http://support.mozilla.com/%LOCALE%/kb/Firefox+Help
Depends on: 498921
Sounds like a quick htaccess patch.
Assignee: nobody → paul.craciunoiu
Attached patch patch, v1 (obsolete) — Splinter Review
This should do it.
Attachment #385925 - Flags: review?(smirkingsisyphus)
Attachment #385925 - Flags: review?(laura)
Priority: -- → P1
Would be really nice to have in 1.2.1 as this is one of those insights that would be good to have sooner rather than later.
Target Milestone: 1.3 → 1.2.1
Comment on attachment 385925 [details] [diff] [review]
patch, v1

If left vanilla, this will interfere with bug 496967, which is the kampyle stuff.

The kampyle code checks for style_mode in the request. This patch omits that param from the URL. Omitting it from the URL also bounces you out of inproduct mode after clicking any link on the page. 

A setting came with the kampyle patch to allow multiple pages. It can be found under Admin->General->Survey Pages. It's a comma-separated list. It will need to be updated if you want kampyle to show up on these pages.
Attachment #385925 - Flags: review?(smirkingsisyphus) → review-
Attachment #385925 - Flags: review?(laura)
Attached patch patch, v2 (obsolete) — Splinter Review
The style_mode parameter is now saved.
Attachment #385925 - Attachment is obsolete: true
Attachment #389760 - Flags: review?(smirkingsisyphus)
Comment on attachment 389760 [details] [diff] [review]
patch, v2

WFM. 

When we push we need to make sure we update the pages in the kampyle config.
Attachment #389760 - Flags: review?(smirkingsisyphus) → review+
r30178 / r30179
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Verified FIXED; tested with:

* shift+command+? (Mac OS X)
* F1 on Windows and Linux
* Firefox Help menu item

I modified app.support.baseURL to be http://support-stage.mozilla.org/1/%APP%/%VERSION%/%OS%/%LOCALE%/.

In all cases, got the Kampyle-featured inproduct start pages.
Status: RESOLVED → VERIFIED
This is NOT fixed. hitting F1 with the keyboard should have redirected to Firefox+Help+2, but I still get to just Firefox+Help.

Also, see comment 0: "We need to make sure that, for __Firefox 3.5 and en-US ONLY__, the inproduct traffic is sent to three unique addresses:"

The patch doesn't look like it applies these special rules for Fx3.5+en-US only. Without that, it'll be impossible to determine the ratio of people coming from the three access points of Firefox.
Severity: normal → critical
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Target Milestone: 1.2.1 → 1.3
Attachment #389760 - Flags: review-
Attachment #389760 - Attachment is obsolete: true
FTR, I just noticed that http://support.mozilla.com/en-US/kb/Firefox+Help+3 doesn't exist.

Also, David, this is a 1.3 bug -- hence it's not on production yet. Marking Fixed. We'll have to mention it in the push bug of course.
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → FIXED
Oops. Nevermind that second part I said :)
Indeed it does not target 3.5 only. Hence we should roll back the changes and fix this for 3.5 only.

The redirects go to +1 +2 +3 articles for me, locally. Just need to enforce the version.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch patch, v2Splinter Review
This redirects Firefox 3.5 en-US ONLY to the help/f1/osxkey articles Firefox+Help+1, +2, and +3 respectively.

Any other Firefox is redirected to Firefox+Help. Sounds good, David?
Attachment #395872 - Flags: review?(laura)
Attachment #395872 - Flags: review?(laura) → review+
r49761 / r49762
Need to run htaccess.sh. I'll file an IT bug. QA: hold off until that bug is fixed (I'll make sure to cc Stephen)
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → FIXED
Also filed bug 512010 to run htaccess.sh on stage.
Whiteboard: sumo_only
(In reply to comment #12)
> Created an attachment (id=395872) [details]
> patch, v2
> 
> This redirects Firefox 3.5 en-US ONLY to the help/f1/osxkey articles
> Firefox+Help+1, +2, and +3 respectively.
> 
> Any other Firefox is redirected to Firefox+Help. Sounds good, David?

Yes -- version 3.5.x on en-US ONLY. (We are trying to figure out the distribution between the three access points, and 3.5.x is the only versions that support the distinction, so including 3.0.x would skew the data.)
Reopening:

[1] Pressing F1 on a Namoroka build with a |app.support.baseURL| set to |http://support-stage.mozilla.org/1/%APP%/%VERSION%/%OS%/%LOCALE%/| yields http://support-stage.mozilla.org/1/firefox/3.6a2pre/WINNT/en-US/firefox-f1, which is a 404.
[2] Ditto for http://support-stage.mozilla.org/1/firefox/3.6a2pre/Darwin/en-US/firefox-osxkey/
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch patch, v3 (obsolete) — Splinter Review
This covers any-other-version of Firefox redirects for firefox-f1,help,osxkey and takes them to Firefox+Help.

That keeps 3.5 only on Firefox+Help+1,2,3

I think this is minor since we're only talking about versions of Firefox that come after 3.5. Previous versions have only one URL help link AFAIK.
Attachment #397736 - Flags: review?(laura)
Target Milestone: 1.3 → 1.4
Attachment #397736 - Attachment is obsolete: true
Attachment #397736 - Flags: review?(laura)
The latter part was taken care of in bug 515711.
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → FIXED
Target Milestone: 1.4 → 1.3
Verified FIXED; Vishal and I tested this pre and post-production.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: