Closed Bug 815233 Opened 12 years ago Closed 12 years ago

Implement Google Analytics on https://blog.mozilla.org/

Categories

(Websites :: Web Analytics, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mlavine, Assigned: craigcook)

References

()

Details

(Whiteboard: [u=admin c=google-analytics p=2])

Full website address
The Mozilla Blog: https://blog.mozilla.org/

Explain the goal and use-case of having web analytics on this website.
- We'd like a better idea of how readers get to the site and how many people see each post
- Use Case: Over the course of several releases, we could see how popular each release announcement post was (measured in # of people who land on that announcement page)

Do you have requirements to track user interactions on your website?
What we'd like to track:
- a measure of how many people land on each page
- a measure of how they get there (who links to the page?)
- Heatmaps - which sections of the page garner the most attention (measured in time and clicks)

Define the people who should have access to the reports.
Mark LaVine (mlavine@mozilla.com)
Valerie Ponell (vponell@mozilla.com)
Leslie Nakajima (lnakajima@mozilla.com)
Erica Jostedt (ejostedt@mozilla.com)
Mike Manning (mmanning@mozilla.com)
can you also provide access to the following people (now cc'd on the bug too):

Shannon Prior: sprior@mozilla.com
Paul Jarratt: pjarratt@mozilla.com
Barbara Hueppe: bhueppe@mozilla.com
Mardi Douglass: mdouglass@mozilla.com
Eric Eitel: eeitel@mozilla.com
Karolina Shaw: kshaw@mozilla.com
Please also grant access to Laura Forrest (lforrest@mozilla.com) and Sam Mott (smott@mozilla.com)
Whiteboard: [u=admin c=google-analytics p=2]
Blocks: 809354
Blocks: 815232
All blogs hosted at blog.mozilla.org should be using the following code that needs to be inserted into the Wordpress template just before the closing </head>:

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-36116321-4']);
  _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>
Google has been emailed to enable this account as premium. We will have one web property for all of blog.mozilla.org and then a separate profile and filter for each wordpress instance.

Each blog instances will need the code from comment 3 and then the following steps will need to be done for each specific blog instance:

https://intranet.mozilla.org/Webanalytics/Google_Analytics#Creating_Profiles_for_sub-sites_within_a_domain

A few blog instances have been created as profiles and you should check to see if the profile is already created before creating a new one. All of the instances will use the exact same code and the only difference will be the filtering on Google Analytics side.
Premium is enabled for this account.
Assignee: nobody → craigcook.bugz
I've added the GA code in r111545, just need IT to push to production.
Blocks: 820928
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
All users have been added to Google Analytics, it is pushed to all of the blogs, and we are set! Thanks, Craig and everyone else. Please log into www.google.com/analytics with your @mozilla.com email. If your password doesn't work, submit a mozilla.service-new.com request under "other user requests" asking to have your @mozilla.com Google Apps account password reset.
You need to log in before you can comment on or make changes to this bug.