Closed
Bug 1024429
Opened 10 years ago
Closed 10 years ago
Requesting access to Google Analytics for badges.mozilla.org
Categories
(Websites :: Web Analytics, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: adam, Unassigned)
Details
Full address: https://badges.mozilla.org/en-US/ For: adam@mozillafoundation.org andrew@mozillafoundation.org da@mozillafoundation.org emily@mozillafoundation.org erik@mozillafoundation.org This is in relation to the Mozbadges project: https://github.com/mozilla/mozbadging/issues/21 Thanks, A
Comment 1•10 years ago
|
||
Hey Adam, It looks like badges.mozilla.org doesn't have GA on the site. I'm not seeing the snippet or any requests being sent to GA. Its also not in our master list of websites we are tracking. I'll have to create a new property for this account and will update this bug with the snippet. Gareth
Reporter | ||
Comment 2•10 years ago
|
||
Hmmm... the plot thickens! There's GA on the site, but it's called in via a separate JS file: https://badges.mozilla.org/static/js/base.js And actually it looks like this tag may have come from "http://badg.us" - which is the same software, but I can't tell who is running it. --- _gaq.push(['_setAccount', 'UA-32268013-1']); _gaq.push(['_setDomainName', 'badg.us']); --- For now, I'm assuming this tag is in badges.mozilla.org accidentally and that we're going to want to add our own tracking instead.
Comment 3•10 years ago
|
||
We should probably remove the old tracking then within base.js file. Here's the updated script to add to 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-6', 'mozilla.org'); ga('send', 'pageview'); </script> I've also added the names above, with the exception of da@mozillafoundation.org. GA said that it couldn't find an apps account for this user. You might want to check with IT on this. Gareth
Reporter | ||
Comment 4•10 years ago
|
||
Thanks Gareth, I just double-checked and DA's canonical email for Google Apps purposes is davida@mozillafoundation.org
Comment 5•10 years ago
|
||
Added David to the account.
Reporter | ||
Comment 6•10 years ago
|
||
Thanks Gareth!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•