Closed
Bug 1184195
Opened 11 years ago
Closed 11 years ago
New Google Analytics property for pageshot
Categories
(Websites :: Web Analytics, task)
Websites
Web Analytics
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)
Comment 1•11 years ago
|
||
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?
| Reporter | ||
Comment 2•11 years ago
|
||
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?
Comment 3•11 years ago
|
||
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>
Comment 4•11 years ago
|
||
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.
Comment 5•11 years ago
|
||
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.
Description
•