Closed Bug 1051069 Opened 10 years ago Closed 10 years ago

Add Optimizely to careers.mozilla.org to allow for optimization and testing

Categories

(Websites :: careers.mozilla.org, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rberenbaum, Unassigned)

References

()

Details

Hello! I am working with Gareth Cull and Chris More on A/B Testing Job Descriptions on our Mozilla Careers website. We need to integrate the Optimizely platform to our Careers website as a starting place. Please reach out to Chris More for questions on linking execution. Thanks!
Gareth: Can you general the JS tag to add Optimizely to the base templates and place it here? We'll need to create optimizely accounts for Rachel and Mat Caldwell.
Flags: needinfo?(garethcull.bugs)
We need to add the optimizely script just above the GA tag here: https://github.com/mozilla/lumbergh/blob/master/careers/base/templates/base.html#L34
Given that the JS for optimizely is simply: <script src="//cdn.optimizely.com/js/[some id].js"></script> We can either add that script tag directly to the base template or we can add the ID to django settings. It may be easier to just add it to the template instead of abstracting a single string.
Summary: AB Testing Job Descriptions → Add Optimizely to careers.mozilla.org to allow for optimization and testing
Hey Chris, I created a new Project in Optimizely where all the careers testing can be completed. Here's the JS script for that project: <script src="//cdn.optimizely.com/js/1719030594.js"></script> Gareth
Flags: needinfo?(garethcull.bugs)
Commit pushed to master at https://github.com/mozilla/lumbergh https://github.com/mozilla/lumbergh/commit/7456b6bd41dcfd2f393a293b8ca117cf93d8b4e9 Bug 1051069: Add optimizely to the careers website Added the JS tag directly into the base template given it is a single line.
I've added the code to the base template: https://github.com/mozilla/lumbergh/commit/7456b6bd41dcfd2f393a293b8ca117cf93d8b4e9 It should be here in the next 15 minutes if dev auto updates from Master. https://careers-dev.allizom.org/en-US/ Gareth: Can you check tomorrow if the tag is on dev and if you can do a test experiment?
Flags: needinfo?(garethcull.bugs)
Hey Chris, I created the a link to the test below. It's just a simple change to the gradient color of the job openings button. https://www.optimizely.com/edit?experiment_id=1762870041 However, it doesn't look like the snippet has been added to the dev site? Can you please double check this? Thanks.
Flags: needinfo?(garethcull.bugs)
Filed bug 1053790 to ask about why careers-dev isn't auto-deploying. The change cmore made looks good to me so I don't think it's a code issue.
Depends on: 1053790
Gareth: Dev should be updated with the optimizely script now.
Flags: needinfo?(garethcull.bugs)
Thanks Osmose. cmore: the demo test is live on dev now and working.
Flags: needinfo?(garethcull.bugs)
(In reply to Gareth Cull [:garethc] from comment #10) > Thanks Osmose. > > cmore: the demo test is live on dev now and working. Ok, cool. Then we should be good to go to move push this commit to stage/prod. Osmose: push away!
Flags: needinfo?(mkelly)
Django upgrade = push time! This has landed on prod and is showing up. Whether it's working correctly or not is to be checked by gareth when he gets back. :P
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(mkelly) → needinfo?(garethcull.bugs)
Resolution: --- → FIXED
Looks good Osmose. Thanks!
Flags: needinfo?(garethcull.bugs)
Verified as per comment 13.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.