Open
Bug 1130116
Opened 11 years ago
Updated 11 years ago
Requesting access to Google Analytics for games.mozilla.org
Categories
(Websites :: Web Analytics, task)
Tracking
(Not tracked)
NEW
People
(Reporter: rweiss, Unassigned)
References
Details
Requesting a GA ID for the GDC landing page.
| Reporter | ||
Comment 1•11 years ago
|
||
We will be distributing a link to a website for GDC, which will be hosted at games.mozilla.org. We'd like to track as much page interaction as possible (interactions on website, clicked on a button on a page, and on page time, as well as the standard information about demographics and geographic information of visitors). elan should know who should have access to the data.
| Reporter | ||
Updated•11 years ago
|
Summary: Get GA on GDC landing page → Requesting access to Google Analytics for games.mozilla.org
Comment 3•11 years ago
|
||
:cvan: will games.mozilla.org be the actual domain it will live at or will games.mozilla.org be a redirect to another domain?
Flags: needinfo?(cvan)
Comment 4•11 years ago
|
||
(In reply to Chris More [:cmore] from comment #3)
> :cvan: will games.mozilla.org be the actual domain it will live at or will
> games.mozilla.org be a redirect to another domain?
https?://games.mozilla.org for main Mozilla Games page
https?://games.mozilla.org/gdc for GDC Event page
Flags: needinfo?(cvan)
Comment 5•11 years ago
|
||
Here's the GA tag to add to the <head> of the page:
<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-16', 'auto');
ga('send', 'pageview');
</script>
Comment 6•11 years ago
|
||
This website will be using Universal Analytics which has different event tracking syntax than classic analytics. Here's the doc on how to create page-level JavaScript events if you want to measure specific actions on the website:
https://developers.google.com/analytics/devguides/collection/analyticsjs/events
I have also added a sub-domain filter to the profile so if you try to access this page from a domain other than games.mozilla.org, the data will not show up in GA. If you have a dev instance that you want me to setup, let me know.
Thanks
Comment 7•11 years ago
|
||
Let me know the @mozilla.com emails that should have access to it.
| Reporter | ||
Comment 8•11 years ago
|
||
:cvan:, I'll review the event tracking doc and identify those events that would be useful, then get back to you to discuss implementation.
Comment 9•11 years ago
|
||
(In reply to Chris More [:cmore] from comment #5)
> Here's the GA tag to add to the <head> of the page:
>
> <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-16', 'auto');
> ga('send', 'pageview');
>
> </script>
Thanks!
Merged:
https://github.com/mozilla/moz-games/pull/2
https://github.com/mozilla/moz-gdc/pull/19
Updated:
https://people.mozilla.org/~cwiemeersch/secure/gdc/
Pages soon to be live on games.mozilla.org.
Comment 10•11 years ago
|
||
(In reply to Rebecca Weiss from comment #8)
> :cvan:, I'll review the event tracking doc and identify those events that
> would be useful, then get back to you to discuss implementation.
Totally. You can tell me which type of events we want, etc. Bug 1122694 will track that, yeah?
Comment 11•11 years ago
|
||
(In reply to Chris More [:cmore] from comment #7)
> Let me know the @mozilla.com emails that should have access to it.
alainez@
bill@
bmaggs@
charmston@
clouserw@
cvan@
cwiemeersch@
ddurst@
elancaster@
jbertsch@
jokelly@
malexis@
mbest@
mclaypotch@
mnovak@
potch@
rchau@
rweiss@
spersing@
sprasad@
And I'm sure more. (Or maybe fewer.)
Comment 12•11 years ago
|
||
(In reply to Christopher Van Wiemeersch [:cvan] from comment #11)
> (In reply to Chris More [:cmore] from comment #7)
> > Let me know the @mozilla.com emails that should have access to it.
>
> alainez@
> bill@
> bmaggs@
> charmston@
> clouserw@
> cvan@
> cwiemeersch@
> ddurst@
> elancaster@
> jbertsch@
> jokelly@
> malexis@
> mbest@
> mclaypotch@
> mnovak@
> potch@
> rchau@
> rweiss@
> spersing@
> sprasad@
>
> And I'm sure more. (Or maybe fewer.)
done! added all of them
| Reporter | ||
Comment 13•11 years ago
|
||
:cmore:
Is games.mozilla.org/gdc added to the GA account? That's where the actual page will be living, I believe (:cvan: can you weigh in?)
Comment 14•11 years ago
|
||
(In reply to Rebecca Weiss from comment #13)
> :cmore:
> Is games.mozilla.org/gdc added to the GA account? That's where the actual
> page will be living, I believe (:cvan: can you weigh in?)
games.mozilla.org will redirect to https://games.mozilla.org/gdc/ which is where the GDC page will live.
You need to log in
before you can comment on or make changes to this bug.
Description
•