Closed Bug 941878 Opened 11 years ago Closed 10 years ago

nightly.mozilla.org GA implementation

Categories

(Websites :: Web Analytics, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: garethc, Assigned: tofumatt)

References

Details

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!
:tofumatt: can you do a PR on this?
Flags: needinfo?(tofumatt)
Sure. I'll do it up tonight and file the push bug.
Assignee: nobody → tofumatt
Flags: needinfo?(tofumatt)
Just following up on this as it looks like we still don't have GA on nightly.mozilla.org...
tofumatt: did you do that PR? thx!
Flags: needinfo?(tofumatt)
Oh shoot, I must have missed this, damn. Just committed the change; filing the push bug now...
Flags: needinfo?(tofumatt)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Depends on: 969105
Do we need to file a push bug to hit the production site? I don't think we have chief on this website.
It's already filed; see the depends on: bug 969105 above :-)
(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
I can see data in GA now. Thanks!
You need to log in before you can comment on or make changes to this bug.