Phase One First Run Testing: Coding and GA

RESOLVED FIXED

Status

www.mozilla.org
Pages & Content
P3
normal
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: jbertsch, Assigned: jpetto)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
Hi Jon and Gareth-

Jon will be coding the pages for the Phase One First Run testing.

Gareth - please work with him to provide the info for setting up the GA testing.

Gareth - could you also please advise Jon as to what URLs we should put these pages at?

Thx,
Jen
Gareth, 
This is what we drew on the whiteboard in Toronto to illustrate the page style and copy variations. 

http://cl.ly/image/0R390L1w0k0X
Thanks guys. I'm just putting the testing requirements together (goals, success metrics, how we will implement, etc). Can we jump on a quick vidyo call so we can align on this? 

Jon, when are you planning on having the two versions of the page completed by?
(Assignee)

Comment 3

5 years ago
I'm hoping we can review and discuss the new pages late next week. As long as I can stay focused primarily on this task, I think 5/2 or 5/3 is reasonable.
(Assignee)

Updated

5 years ago
Assignee: nobody → jon

Comment 4

5 years ago
Commit pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/6db76695017105b8271a7ea6c1123bfee44c38da
Firefox /firstrun A/B tests. Bug 865433.

- Abstracted simple footer from /firefox/new/

- Added L10n strings block to templates/base.html

- Fixed L10n comment case typo on /firefox/partners/index.html

- First crack at general modal JS (media/js/mozilla-modal.js)
Jon,

Can you please place the following GA Experiements code after the opening <head> tag in the original first run url. I believe we wanted to make sure the GA code doesn't get propogated to other versions of the firstrun page. This test should only touch en-US/firefox/21.0/firstrun pages and no other versions. Can you please confirm this is the case? Thanks. 

First Run Original URL: https://www.mozilla.org/en-US/firefox/21.0/firstrun/

GA Experiments Code:

<!-- Google Analytics Content Experiment code -->
<script>function utmx_section(){}function utmx(){}(function(){var
k='71153379-20',d=document,l=d.location,c=d.cookie;
if(l.search.indexOf('utm_expid='+k)>0)return;
function f(n){if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.
indexOf(';',i);return escape(c.substring(i+n.length+1,j<0?c.
length:j))}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;d.write(
'<sc'+'ript src="'+'http'+(l.protocol=='https:'?'s://ssl':
'://www')+'.google-analytics.com/ga_exp.js?'+'utmxkey='+k+
'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='+new Date().
valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
'" type="text/javascript" charset="utf-8"><\/sc'+'ript>')})();
</script><script>utmx('url','A/B');</script>
<!-- End of Google Analytics Content Experiment code -->

Comment 6

5 years ago
Commits pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/4aa88f3dc9c8231893ef40aef0580a1b5f5ce27e
Video tracking tweak, GA experiment added. Bug 865433.

- Avoid pause tracking when video ends.

- GA experiment code added to base /firstrun page.

https://github.com/mozilla/bedrock/commit/d54c084838f7f2ef60fa561cd8611fb1cdf49765
Merge pull request #868 from mozilla/bug-865433-firstrun-updates

Video tracking tweak, GA experiment added. Bug 865433.
Jon: Are there any specific reasons why you have chosen to save the images as png's?

I did a small test and made a jpg of the theme image and the size was reduced by ~73% to 68Kb [1] instead of 254Kb [2]

[1] http://icaaq.se/sandbox/themes-win.jpg
[2] https://mozorg.cdn.mozilla.net/media/img/firefox/firstrun/themes-win.png
(Assignee)

Comment 8

5 years ago
Uh, no, there isn't a good reason the images are still png's. I was initially testing different responsive views (against the gradient bg), but since responsiveness was decided not required, I should have switched to a better format.

I'll get on converting these.

Thanks for the catch!

Comment 9

5 years ago
Commits pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/0db10b53ad98626566681558c8e5b5fee613141d
Convert big png's to smaller jpg's. Bug 865433.

https://github.com/mozilla/bedrock/commit/a9941971c5cf29f8f673c417e4dccfb914c2bbcf
Merge pull request #871 from jpetto/bug-865433-firstrun-optim

Convert big png's to smaller jpg's. Bug 865433.

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.