Closed
Bug 983431
Opened 11 years ago
Closed 11 years ago
Implement Google Analytics on http://webwewant.mozilla.org
Categories
(Websites :: Web Analytics, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bensternthal, Unassigned)
References
Details
= Full Website Address
http://glow.mozilla.org
= Goals and Use-Cases
- General user tracking (visitors per month/week/day)
- Tracking of popular content / pages
- Click-Path tracking to identify usage patterns
- Exit Page Tracking
= Additional Requirement
At this time the scope of the site is not known and I am unsure if we will have the need for more robust tracking.
= Accounts
- Eric Petit <epetitt@mozilla.com>
- Jean Collings <jcollings@mozilla.com>
Reporter | ||
Comment 1•11 years ago
|
||
Note the URL of the site has changed to betterweb.mozilla.org
Summary: Implement Google Analytics on http://glow.mozilla.org → Implement Google Analytics on http://betterweb.mozilla.org
Comment 2•11 years ago
|
||
(In reply to Ben (:bensternthal) from comment #1)
> Note the URL of the site has changed to betterweb.mozilla.org
ben: can you confirm the final URL?
Flags: needinfo?(booboobenny+bugzilla)
Reporter | ||
Comment 3•11 years ago
|
||
When final I will add here.
Comment 4•11 years ago
|
||
(In reply to Ben (:bensternthal) from comment #3)
> When final I will add here.
Ok, cool. I just wanted to confirm that it is not final and that Gareth or I should not create a tag until we have the final URL. Thanks
Comment 5•11 years ago
|
||
Final domain name: http://webwewant.mozilla.org/
Summary: Implement Google Analytics on http://betterweb.mozilla.org → Implement Google Analytics on http://webwewant.mozilla.org
Reporter | ||
Comment 6•11 years ago
|
||
I knew I forgot to update one bug with the real deal domain.
Flags: needinfo?(booboobenny+bugzilla)
Comment 7•11 years ago
|
||
I am getting the GA tag now for it and I am re-using an old tag that wasn't used before. It will probably take 24 hours as I am upgrading this to Universal Analytics and thus the tag is a bit different. I will have it next week.
Comment 8•11 years ago
|
||
Here is the code that should be placed 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-35433268-35', 'mozilla.org');
ga('send', 'pageview');
</script>
Comment 9•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/mrburns
https://github.com/mozilla/mrburns/commit/0a2b65e7a59ff7c0727a084788c82b3793548649
Fix Bug 983431: Add GA Tag
https://github.com/mozilla/mrburns/commit/d1dd30b3d877a10b33abb15b7a840e0b4f628b63
Merge pull request #11 from bensternthal/983431-add-ga-tag
Fix Bug 983431: Add GA Tag
Updated•11 years ago
|
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
•