Remove scroll tracking from Mozilla.org home page

RESOLVED FIXED

Status

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: agibson, Assigned: agibson)

Tracking

Production

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [kb=1807234])

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
When the 2015 mozilla.org homepage redesign launched, some of the marketing folks we're concerned people would not think to scroll down the spage to view content underneath the full-screen promo area. To get data on this, we added scroll-tracking to the home page when it launched.

The JS required for this tracking to occur weighs in at around 10KB. It may not be all that much, but it's little things that add up to a lot. We've had plenty of time to get enough data on this I think. The inclusion of the tracking doesn't really benefit the user in any meaningful way, other than requiring them to download more JS and also the performance hit of performing the scroll tracking itself.

I'd like to suggest we remove this JS from the home page in our continual effort for performance.

We also have this JS file that was used for a short-term scroll experiment that we can more likely remove:

https://github.com/mozilla/bedrock/blob/master/media/js/mozorg/home/scroll-prompt.js
(Assignee)

Comment 1

3 years ago
Jen, Gareth - any objections to this?
Flags: needinfo?(jbertsch)
Flags: needinfo?(garethcull.bugs)
(Assignee)

Updated

3 years ago
Whiteboard: [kb=1807234]
(Assignee)

Updated

3 years ago
Blocks: 1186605
None from me.  Good call, Alex!
Flags: needinfo?(jbertsch)
(Assignee)

Updated

3 years ago
Assignee: nobody → agibson
Status: NEW → ASSIGNED
Flags: needinfo?(garethcull.bugs)
(Assignee)

Comment 3

3 years ago
Created attachment 8639384 [details] [review]
GitHub pull request
I'm ok with removing this for the time being. Thanks.
(Assignee)

Comment 5

3 years ago
(In reply to Gareth Cull [:garethc] from comment #4)
> I'm ok with removing this for the time being. Thanks.

Thanks, Gareth!

Comment 6

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

https://github.com/mozilla/bedrock/commit/98ebd44fcc05339cc7e9d2951ceca549bf8741b0
[fix bug 1187246] Remove scroll tracking from Mozilla.org home page

https://github.com/mozilla/bedrock/commit/60bdf99626be13e0ba15d659eaa3217f87adea14
Merge pull request #3161 from alexgibson/bug-1187246-remove-scroll-tracking-homepage

[fix bug 1187246] Remove scroll tracking from Mozilla.org home page

Updated

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