Optimizely homepage experiment intercepting multiple URLs



Pages & Content
2 years ago
2 years ago


(Reporter: agibson, Assigned: jpetto)



Firefox Tracking Flags

(Not tracked)




2 years ago

1.) Visit https://www.mozilla.org/
2.) See if you get opted into the homepage redesign experiment and get redirected to: https://www.mozilla.org/en-US/?v=a

If so, proceed to step 3, else clear your cookies and try step 1 again

3.) Click on the 'About' link in the main navigation

Expected results:

Navigate to the /about page

Actual results:

You get kicked and redirected back to the home page again.

This seems to happen for multiple URLs, but not every page. I can't seem to visit:


and more .. all seem to redirect back to the home page again.

Comment 1

2 years ago
I've logged into Optimizely and paused the experiment called "[Bug 1275626] Home page design, Concept A". Sorry to have to do this, but I think it's best until we figure out what's not quite right.

Comment 2

2 years ago
I think the problem might be the targeting URL matching and page on the site?


Comment 3

2 years ago
Looking at past experiments, it seems for the homepage a "simple match" has been used as opposed to a regexp:

https://www.mozilla.org/en-US/ (simple match)

Perhaps this is all that's needed (?), but I'll defer to Jon/Craig as I'm not as familiar with Optimizely.

Comment 4

2 years ago
I also noticed that the en-GB page does not show the survey link:


Looking in the code, the survey gets included for en-US only:


I'm not quite sure if this is another issue or intentional (should the experiment should be targeting en-US only?).

Comment 5

2 years ago
The regex was overly aggressive. It would match /en-ANYTHING as long as a / was the last character.

I should have caught this during review, but was hurrying to get things launched yesterday.

Making waste with the haste. :(

Changed the experiment URL to a simple match of https://www.mozilla.org/en-US/.

Comment 6

2 years ago
Previous data has been cleared and experiment has been re-started.

Comment 7

2 years ago
Received variation through experiment and confirmed other links [1] are no longer intercepted.

[1] Tested /about/, /firefox/new/, /firefox/desktop/, /contribute/, and /privacy/.
Assignee: nobody → jon
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.