Closed Bug 961267 Opened 10 years ago Closed 10 years ago

Implement Google Analytics on telemetry.mozilla.org

Categories

(Websites :: Web Analytics, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jonasfj, Unassigned)

Details

Website: http://telemetry.mozilla.org

Goal:
To know how many people are using the telemetry dashboard (and various sub-dashboard that maybe added in the future), mostly this will be mozilla developers, but trends of how they use the data will help us present it better.
Specifically, it would be nice to know which histograms people are looking at, this can be done trivial with javascript events on Google Analytics:
https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiEventTracking
This information would also be helpful when retiring old telemetry probes.

People with report access:
Telemetry developers (performance team) at the moment I know that the following @mozilla.com address would be interested:
mreid, jojensen, tglek, vdjeric

Note, don't worry about technical parts, if we have a tracking code and login, then we can do the event tracking.
Please place this snippet before the closing </head> tag:

<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-49796218-2', 'mozilla.org');
  ga('send', 'pageview');

</script>

Once you have done this, I'll verify that I can see the data come into the account. I'll also enable this as a Premium property.

Gareth
I've added mreid, jojensen, tglek, vdjeric to the telemetry GA account and have enabled the property as Premium.
I added the above snippet to telemetry.mozilla.org (and deployed the change):
https://github.com/mozilla/telemetry-dashboard/pull/29

How do I access the telemetry GA account?
Login to http://www.google.com/analytics with your Google apps account. You should have received an email from Google inviting you to the account as well.

Let me know if you have any problems. Thanks!
I've verified that we are now starting to see data come into the GA telemetry property via the real-time reporting.
Yep, I see it now. Thanks!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.