Closed
Bug 685278
Opened 15 years ago
Closed 15 years ago
[WT] Standardize webtrends tracking js across all main sites
Categories
(Websites :: Web Analytics, task)
Websites
Web Analytics
Tracking
(Not tracked)
RESOLVED
FIXED
4.3
People
(Reporter: lforrest, Assigned: sgarrity)
References
Details
(Whiteboard: r=96293,96629 b=trunk)
Attachments
(2 files)
Standardize the java script used on the following sites/profiles:
Mozilla.org
Mozilla.org/firefox
Mozilla.org Product Pages
| Reporter | ||
Updated•15 years ago
|
Target Milestone: --- → 3.11
| Reporter | ||
Comment 1•15 years ago
|
||
Note that we want to keep the current sampling in place. 50% for Mozilla.org/firefox, 5% for Product Pages.
| Reporter | ||
Comment 2•15 years ago
|
||
Hey Brad - what are the next steps here? If you have any questions please update this bug with them and we can go from there. Thanks!
| Reporter | ||
Updated•15 years ago
|
Target Milestone: 3.11 → 4.0
Comment 3•15 years ago
|
||
I've consolidated the Webtrends tag for Mozilla. Prior, there were two main tags being used, one for www.mozilla.org and one for the original www.mozilla.com sites. After the .com to .org transition, the 'new' .org pages (http://www.mozilla.org/en-US/firefox/) still refer to the original .com javascript they were using prior to the transition.
The purpose of this bug is to consolidate both versions. That being said, each version has a distinct piece of functionality that will be combined into the final version.
The original .org JS has an implementation of automatic link tracking that the .com sites didn't have. In addition, the original .com sites had some sampling code to limit traffic to our data collection servers. Both of these pieces of functionality have been combined in the attached JS_CONSOLIDATED.js (I 'deminified' portions of this code for debugging).
***Prior to rolling this out on prod, please set up a staging env externally accessible (by me), so I can test. This is the core portion of the Webtrends data collection JavaScript.***
In regard to rolling this out there are a couple of options:
1. Update the js reference in the inline script on all .org pages to point to the same directory that contains the consolidated js
2. update the js file at the current directories referenced in the inline script to the new consolidated version (this way you don't have to make any page updates)
Either way should work.
Comment 4•15 years ago
|
||
| Reporter | ||
Comment 5•15 years ago
|
||
Hi Steven - Can you take a look at the above? Standardizing this tracking code will really help us when making changes moving forward. This affects both .org, and the site formerly known as .com. ;)
Brad gives two implementation methods; either is fine with me.
Assignee: brad.gross → steven
Target Milestone: 4.0 → 4.2
| Assignee | ||
Comment 6•15 years ago
|
||
Thanks for the explanation Brad. I've replaced the webtrends.js file in trunk of the mozilla.com repository. You can test it out on the /firefox/ pages on http://www-dev.allizom.org/en-US/firefox/
Staging/testing the main mozilla.org pages will prove tricky as we don't have a staged copy of the .org site available for testing (shocking, I know). To confirm, though, what needs to be done for the .org pages is to include this same webtrends.js file, correct?
Also, I see the /thunderbird/ pages have their own /thunderbird/js/webtrends.js file - do you know if this should be replaced with this new file as well?
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: r=96293, b=trunk
| Reporter | ||
Updated•15 years ago
|
Assignee: steven → brad.gross
| Reporter | ||
Comment 7•15 years ago
|
||
Next Steps: Brad please take a look and QA. When you're ready, pass back to steven for final implementation.
| Reporter | ||
Comment 8•15 years ago
|
||
We'd like to start using Automatic Link Tracking on the following pages/profiles. Please make those changes within this standard JS.
Pages/Profiles to apply this to:
-- Within the Mozilla.org/Firefox 50% Sample Profile --
http://www.mozilla.org/en-US/firefox/fx/
http://www.mozilla.org/en-US/mobile/
http://www.mozilla.org/en-US/firefox/features/
http://www.mozilla.org/en-US/firefox/channel/
http://www.mozilla.org/en-US/firefox/connect/
http://www.mozilla.org/en-US/firefox/video/
http://www.mozilla.org/en-US/firefox/about/
-- Within the "Product Pages 5% Sample" Profile --
http://www.mozilla.org/en-US/firefox/7.0/whatsnew/ - NOTE "7.0" changes with version number. Every What's New page should get this.
http://www.mozilla.org/en-US/firefox/7.0/firstrun/ - SAME as above
Please also apply this to video clicks.
Brad - additional reporting will need to be added to handle this. Please open a separate bug for that, then link it to this as a dependency within Bugzilla.
Comment 9•15 years ago
|
||
This latest version of the core javascript will result in defaulting all autolinktracking to off - even for the original .org pages. To turn it back on (prior to pushing this script live), _tag.trackevents=true will need to be explicitly set either in the 'options' list of the webtrends object constructor or after the object has been created by resetting the trackevents variable.
Updated•15 years ago
|
Attachment #567797 -
Attachment description: trackevents=false → Core data collection JS
trackevents=false
Updated•15 years ago
|
Attachment #567797 -
Attachment description: Core data collection JS
trackevents=false → Webtrends core data collection JavaScript: trackevents=false
| Reporter | ||
Comment 10•15 years ago
|
||
(In reply to Bradley Gross from comment #9)
> Created attachment 567797 [details]
> Webtrends core data collection JavaScript: trackevents=false
>
> This latest version of the core javascript will result in defaulting all
> autolinktracking to off - even for the original .org pages. To turn it back
> on (prior to pushing this script live), _tag.trackevents=true will need to
> be explicitly set either in the 'options' list of the webtrends object
> constructor or after the object has been created by resetting the
> trackevents variable.
Can they be pushed at the same time?
Comment 11•15 years ago
|
||
pushed to production r96550
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 12•15 years ago
|
||
James, I'm not sure this was ready to be pushed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 13•15 years ago
|
||
Laura specifically asked me to, I'll double check with her though.
| Assignee | ||
Comment 14•15 years ago
|
||
Ok, thanks for checking. Do note that Brad's latest attachment isn't what was in trunk (yet).
| Reporter | ||
Comment 15•15 years ago
|
||
(In reply to Steven Garrity from comment #14)
> Ok, thanks for checking. Do note that Brad's latest attachment isn't what
> was in trunk (yet).
Ah - I see. Then in that case let's pull it out. Sorry to jump the gun here - I saw the whiteboard status and assumed it was ready.
Comment 16•15 years ago
|
||
reverted in r96553
| Reporter | ||
Comment 17•15 years ago
|
||
This code has been QA-ed on Brads local machine. We will also monitor once it goes live.
Steven - in your court again to implement most current file.
Assignee: brad.gross → steven
| Assignee | ||
Comment 18•15 years ago
|
||
This latest version has been added in trunk for the .org/firefox site (r96629). After it goes live, we can update the rest of the .org site to start including it.
Whiteboard: r=96293, b=trunk → r=96293,96629 b=trunk
Target Milestone: 4.2 → 4.3
Comment 19•15 years ago
|
||
pushed to production r96640
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 20•15 years ago
|
||
As of r96761 in mozilla.org trunk, the rest of the mozilla.org site is using the same mozilla.org/js/webtrends.js file. Let's keep a close eye on it.
Updated•13 years ago
|
Component: Webtrends → Web Analytics
You need to log in
before you can comment on or make changes to this bug.
Description
•