Closed Bug 833556 Opened 13 years ago Closed 13 years ago

Add Google Analytics to Firefox Affiliates

Categories

(Websites :: Web Analytics, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chelsea, Assigned: cmore)

Details

Please replace Web Trends on Firefox Affiliates with Google Analyics. www.affiliates.mozilla.org. We need this for basic website metrics. Additional tracking may be required for the resolution of this bug https://bugzilla.mozilla.org/show_bug.cgi?id=760663 myself (cnovak@mozilla.com), William Renyolds (wrenyolds@mozilla.com) and Mike Kelly (mkelly) should have access to the reports.
Please add the following code above the closing </head> tag: <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-35433268-24']); _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>
Google emailed to enable premium.
Profile all set up and all users added.
Code added in https://github.com/mozilla/affiliates/commit/a606f5771bd9d2760a2e3c9dd667a0ea8e82c562, waiting on bug 833793 to add the account code to each environment before deploying.
Premium has been enabled on this account.
This has been pushed to production and I can see stats flowing into GA. :D
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.