nightly.mozilla.org GA implementation

RESOLVED FIXED

Status

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: garethc, Assigned: tofumatt)

Tracking

Details

(Reporter)

Description

5 years ago
It looks like nightly.mozilla.org isn't being tracked in Google Analytics. Can we please update this now that Australis is in Firefox Nightly?

Here's the GA snippet:

<script type="text/javascript">

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

Can we also place event tracking on this page for when someone clicks to download Nightly?

Please set on click on any download button / link:

_gaq.push(['_trackEvent','Firefox Downloads','download click','Firefox Nightly']); 

Thanks!

Comment 1

5 years ago
:tofumatt: can you do a PR on this?
Flags: needinfo?(tofumatt)
(Assignee)

Comment 2

5 years ago
Sure. I'll do it up tonight and file the push bug.
Assignee: nobody → tofumatt
Flags: needinfo?(tofumatt)
(Reporter)

Comment 3

5 years ago
Just following up on this as it looks like we still don't have GA on nightly.mozilla.org...

Comment 4

5 years ago
tofumatt: did you do that PR? thx!
Flags: needinfo?(tofumatt)
(Assignee)

Comment 5

5 years ago
Oh shoot, I must have missed this, damn. Just committed the change; filing the push bug now...
Flags: needinfo?(tofumatt)

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Assignee)

Updated

5 years ago
Depends on: 969105

Comment 7

5 years ago
Do we need to file a push bug to hit the production site? I don't think we have chief on this website.
(Assignee)

Comment 8

5 years ago
It's already filed; see the depends on: bug 969105 above :-)

Comment 9

5 years ago
(In reply to tofumatt [:tofumatt] from comment #8)
> It's already filed; see the depends on: bug 969105 above :-)

duh. :) sorry, long week here. thanks

Comment 10

5 years ago
I can see data in GA now. Thanks!
You need to log in before you can comment on or make changes to this bug.