Add Google Analytics to dnt-dashboard.mozilla.org

RESOLVED FIXED

Status

Websites
Web Analytics
RESOLVED FIXED
5 years ago
3 years ago

People

(Reporter: cmore, Assigned: cmore)

Tracking

Details

(Assignee)

Updated

5 years ago
Assignee: nobody → chrismore.bugzilla
(Assignee)

Comment 1

5 years ago
Code:

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-35433268-33']);
  _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

5 years ago
Google emailed to enable premium.
(Assignee)

Comment 3

5 years ago
Just change the setAccount value from UA-37922069-1 to UA-35433268-33.
(Assignee)

Comment 4

5 years ago
Verified on the website. Looks good!
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Assignee)

Comment 5

5 years ago
GA premium enabled.

Updated

3 years ago
See Also: → bug 975871
You need to log in before you can comment on or make changes to this bug.