Closed Bug 1225608 Opened 9 years ago Closed 9 years ago

Analytics for serviceworke.rs

Categories

(Websites :: Web Analytics, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Harald, Unassigned)

References

()

Details

Cookbook was just "announced" by David Bryant: https://blog.mozilla.org/futurereleases/2015/07/02/mozilla-games-technology-roadmap/

We need analytics on it to track usage and referrers. We are working to get serviceworke.rs up for hosting.
Cory, ni? as you helped last time :)
Flags: needinfo?(cprice)
Passing this request on to :garethc.

Gareth, will you please create a GA account for serviceworke.rs, and reply with the GA snippet?

I'm guessing `Mozilla (additional websites)` is a fine place to put it.

:digitarald - I'm getting an SSL error when visiting this site domain FYI.
Flags: needinfo?(cprice) → needinfo?(garethcull.bugs)
That's what we were in the process of fixing.

… Fixed!
Pardon the rush. We hope to get this out today and having metrics from the start would be splendid.
Garethc will get to this today.
Here is the GA snippet for serviceworke.rs:

<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-37', 'auto');
  ga('send', 'pageview');

</script>

Please place in the <head> and let me know when its live so we can test it.
Flags: needinfo?(garethcull.bugs)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
This has been added -- please confirm something is coming across.
Looks good. I can see the data coming through in real-time.

Who needs access to this GA account? Let me know and I'll add them. Thanks.
please add (all @mozilla.com): bwalker, hkirschner, dwalsh, bdahl, tabraldes and mcastelluccio
Flags: needinfo?(garethcull.bugs)
I've added everyone in Comment 9. You should all receive an email from Google inviting you to the GA view. Any questions, let me know. Thanks.
Flags: needinfo?(garethcull.bugs)
Can I get added as well? (In reply to Gareth Cull [:garethc] from comment #10)
> I've added everyone in Comment 9. You should all receive an email from
> Google inviting you to the GA view. Any questions, let me know. Thanks.
ni? gareth to bump this to his inbox. Please also add salva@m.c.
Flags: needinfo?(garethcull.bugs)
Added salva@mozilla.com.
Flags: needinfo?(garethcull.bugs)
You need to log in before you can comment on or make changes to this bug.