Closed
Bug 833556
Opened 13 years ago
Closed 13 years ago
Add Google Analytics to Firefox Affiliates
Categories
(Websites :: Web Analytics, task)
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.
| Assignee | ||
Comment 1•13 years ago
|
||
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>
| Assignee | ||
Comment 2•13 years ago
|
||
Google emailed to enable premium.
| Assignee | ||
Comment 3•13 years ago
|
||
Profile all set up and all users added.
Comment 4•13 years ago
|
||
Code added in https://github.com/mozilla/affiliates/commit/a606f5771bd9d2760a2e3c9dd667a0ea8e82c562, waiting on bug 833793 to add the account code to each environment before deploying.
Comment 5•13 years ago
|
||
Commit pushed to develop at https://github.com/mozilla/affiliates
https://github.com/mozilla/affiliates/commit/a606f5771bd9d2760a2e3c9dd667a0ea8e82c562
Bug 833556: Replace Webtrends with Google Analytics.
| Assignee | ||
Comment 6•13 years ago
|
||
Premium has been enabled on this account.
Comment 7•13 years ago
|
||
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.
Description
•