Closed Bug 809622 Opened 12 years ago Closed 11 years ago

Implement Google Analytics on www.mozilla.org

Categories

(Websites :: Web Analytics, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cmore, Unassigned)

References

Details

URL: www.mozilla.org
Here are the instructions for implementing Google Analytics on our website.

For more information, see http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html

Copy the following code, then paste it onto every page you want to track immediately before the closing </head> tag.

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-36116321-1']);
  _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>
This will only be implemented on the new State of Mozilla sub-site directory within www.mozilla.org. We will use advanced segments to filter down all reports to the SOM section.
Premium has been enabled.
Blocks: 793287
No longer blocks: 793287
Depends on: 818195
Blocks: 793287
Note: We will keeping WebTrends on www.mozilla.org until at least the end of Q1 2013 or until we have a 1:1 with the reporting. All@mozilla will be notified before WebTrends is removed from www.mozilla.org given the amount of people who use the data. For now, we are keeping both WT and GA on the website.
All: Basic Google Analytics was pushed to www.mozilla.org today and all existing WT tracking has been kept in place.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.