Closed
Bug 809115
Opened 13 years ago
Closed 12 years ago
Implement Google Analytics on https://developer.mozilla.org
Categories
(Websites :: Web Analytics, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: aspivak, Assigned: groovecoder)
References
()
Details
https://developer.mozilla.org
We need the general suite of GA metrics (traffic, locales,languages, referring pages) - as we work on the site redesign we will likely add additional things we want to track - Jean-Yves can add additional needs to this bug if i've missed something.
MDN team (Ali Spivak, Jean-Yves Perrier, Luke Crouch) should have access to the reports.
aspivak@mozilla.com
Comment 2•13 years ago
|
||
\o/
Comment 3•13 years ago
|
||
Do you want the code now to add out-of-the-box metrics or do you want to wait for the MDN redesign to be further along?
Assignee | ||
Comment 4•13 years ago
|
||
I vote for now so we can more easily see before/after metrics.
Comment 5•13 years ago
|
||
Here is the code that should be placed before the </head> in the MDN template:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-36116321-5']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
Comment 6•13 years ago
|
||
Google has been emailed to enable this account for premium. I've added this to the Mozilla "big websites" account because the change of this site having multiple profiles is pretty high.
Comment 7•13 years ago
|
||
Premium has been enabled for this account.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → lcrouch
Comment 8•13 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/bbf04b1491dcac78fa99de6e9708deceefb22fa5
fix bug 809115 - add google analytics tracking
https://github.com/mozilla/kuma/commit/d80a04822c2fe88e215469cc91470a9ad5b6694f
Merge pull request #752 from groovecoder/google-analytics-809115
fix bug 809115 - add google analytics tracking
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 10•13 years ago
|
||
I've added everyone in the CC field with @mozilla.com emails to have access to this profile. You must log into Google Analytics with your @mozilla.com email. If you cannot gain access, you must file a mozilla.service-now.com request under "other user requests" to have your Google Apps password reset.
Comment 11•12 years ago
|
||
Ali: Will you need an export of historical MDN Webtrends data before the legacy WT service is disabled on March 21st?
Also, do you have any need for WT on the site now? Since it has both GA and WT on the site, I would assume you have no need to keep WT on it any longer.
Updated•12 years ago
|
Flags: needinfo?(aspivak)
Comment 13•12 years ago
|
||
Ali is on PTO for the next couple of days. I will forward this to her when she gets back.
Reporter | ||
Comment 14•12 years ago
|
||
I'd love to get an export of the historical data from Webtrends so we can crunch some of the numbers if needed.
We no longer need the WT code on the pages and it would be great to make it gone.
Comment 15•12 years ago
|
||
(In reply to ali spivak from comment #14)
> I'd love to get an export of the historical data from Webtrends so we can
> crunch some of the numbers if needed.
>
> We no longer need the WT code on the pages and it would be great to make it
> gone.
Just so you know, it is not raw logs or raw data. Basically, whatever you see in Webtrends now at an aggregate level is included in the CSV. If the reports in WT are useful now, you or anyone else can export them. You just go up to the top right of any report to export a CSV. You have to do this on a report-by-report basis and there is no master location for exporting.
Openjck/Ali: Do you want to do some exports yourself and see if the data is useful? You will probably want to change the time frame to be the past year.
Reporter | ||
Comment 16•12 years ago
|
||
Will do this today and see how it goes :-)
Assignee | ||
Comment 17•12 years ago
|
||
Please add:
jbennett@mozilla.com
jleidel@mozilla.com
lorchard@mozilla.com
mfogels@mozilla.com
To the Google Analytics profile for MDN.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 18•12 years ago
|
||
(In reply to Luke Crouch [:groovecoder] from comment #17)
> Please add:
>
> jbennett@mozilla.com
> jleidel@mozilla.com
> lorchard@mozilla.com
> mfogels@mozilla.com
>
> To the Google Analytics profile for MDN.
I've added these bug mfogels@mozilla.com does not appear in our Google Apps account. Can you talk to the service desk and see why Maris is not there yet?
Comment 19•12 years ago
|
||
Chris, the mfogels@ account should appear now.
Flags: needinfo?(chrismore.bugzilla)
Comment 20•12 years ago
|
||
(In reply to John Karahalis [:openjck] from comment #19)
> Chris, the mfogels@ account should appear now.
done!
Status: REOPENED → RESOLVED
Closed: 13 years ago → 12 years ago
Flags: needinfo?(chrismore.bugzilla)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•