Closed Bug 979979 Opened 10 years ago Closed 10 years ago

Implement Google Analytics on oneanddone.mozilla.org

Categories

(Websites :: Web Analytics, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rbillings, Unassigned)

References

Details

Attachments

(1 file)

We'd like to implement GA on oneanddone.mozilla.org.

Goal for metrics requirements includes tracking:
-Number of unique contributors taking up tasks daily (drill down by area of interest, technical ability, etc.)
-Number of tasks completed daily (drill down by area of interest, difficulty level, etc.)
-Actual time taken to execute a task versus expected
-List of top contributors (sorted by reputation, number of badges)

Initially access to reports should be available to mkelly@mozilla.com and stephend@mozilla.com.
Can you get a profile created for this sub-domain? I deleted an non-used one recently so we may have space in our current account.
Flags: needinfo?(garethcull.bugs)
Blocks: 973068
Hey Guys,

Here's the ga snippet. Please place within the <head> of your pages. 

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-35433268-56', 'mozilla.org');
  ga('send', 'pageview');

</script>

I've added mkelly@mozilla.com and stephend@mozilla.com to the account. Please let me know when this is live and I'll verify the data is coming into GA. I'll also enable Premium for this account. Thanks.

Gareth
Flags: needinfo?(garethcull.bugs)
I'm passing this on to mkelly. Mkelly- if you need a separate bug for this work, please let me know.
Flags: needinfo?(mkelly)
And I shall pass it on to bsilverberg (he's the new dev now that the main development is done)! :D
Assignee: nobody → bob.silverberg
Flags: needinfo?(mkelly)
Looks like here (thx to bsternthal for the pointer): https://github.com/mozilla/oneanddone/blob/master/oneanddone/base/templates/base/base.html#L22
Flags: needinfo?(bob.silverberg)
OS: Mac OS X → All
Hardware: x86 → All
Attachment #8394373 - Flags: review?(mkelly)
Flags: needinfo?(bob.silverberg)
Comment on attachment 8394373 [details] [review]
Link to Github pull-request: https://github.com/mozilla/oneanddone/pull/99

This was r+'d on github already and has been merged and pushed. Yay!
Attachment #8394373 - Flags: review?(mkelly) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Verified GA appears in page source on prod. Thanks :mkelly!
Status: RESOLVED → VERIFIED
Please add the following emails for GA access:
rbillings@mozilla.com
bsilverberg@mozilla.com
lhenry@mozilla.com
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Assignee: bob.silverberg → nobody
done!
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: