Closed Bug 1184195 Opened 11 years ago Closed 11 years ago

New Google Analytics property for pageshot

Categories

(Websites :: Web Analytics, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ianbicking, Unassigned)

References

Details

I would like to do analytics for a project, currently hosted at https://pageshot.dev.mozaws.net (branding and TLD to be determined, so I'll be adding another domain to this later; project hosted at https://github.com/mozilla-services/pageshot). I have an account with Mozilla Google Analytics under ibicking@mozilla.com for togetherjs.com, under the account "Mozilla (small websites)", but I don't seem to have enough permission to create another property under that account (I'm also not sure what account it belongs under)
Do you want analytics set up before the final domain is determined? Normally, we added the fully qualified domain name filters so that the tag only works on specific domains. Should we just filter on any domain with "pageshot" in the URL?
I suspect we won't be using the name "pageshot" at all in the final domain, though I don't know what name we will be using. But I'd like to set up analytics ahead of time so I can test that we are measuring what we want to measure, and experiment with things like campaigns. Maybe just a staging account for pageshot.dev.mozaws.net?
Here's the tracking code to add to the end of the <head>: <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-30', 'auto'); ga('send', 'pageview'); </script>
I didn't add any filters to it for now. Once you have a domain structure worked, just re-open this bug and have filters added for prob and non-prod instances.
added ibicking@mozilla.com to access the analytics. It is under a separate GA account as we have maxed out the small websites accounts already.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.