Closed Bug 832357 Opened 13 years ago Closed 13 years ago

Implement Google Analytics on BrowserQuest.mozilla.org

Categories

(Websites :: Web Analytics, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cmore, Assigned: cmore)

Details

Full address: http://browserquest.mozilla.org/ Purpose: monitor traffic and trend Users: cmore@mozilla.com, cweiner@mozilla.com
Assignee: nobody → chrismore.bugzilla
Add the following code just before the closing </head>: <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-35433268-23']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> Note: this doesn't go in the footer. Also, please remove WebTrends off of the website.
Google has been emailed to enable premium.
Hi Chris, The website has been updated with the new Google Analytics script at the end of the head tag. I also removed WebTrends.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
(In reply to Franck Lecollinet from comment #3) > Hi Chris, > > The website has been updated with the new Google Analytics script at the end > of the head tag. I also removed WebTrends. Thanks! Also, can you remove chrismore.bugzilla@gmail.com from the legacy Google Analytics account that you were using prior to switching over to Webtrends last year? It is showing up on my accounts list and you can remove me since we are not using it anymore.
I removed your email address from the previous GA account. It should not show up anymore.
Premium has been enabled and I see data coming in. Thanks!
You need to log in before you can comment on or make changes to this bug.