mozilla / mozbadging

where we track progress on mozilla-wide badging infrastructure
Mozilla Public License 2.0
2 stars 3 forks source link

Adding GA to existing badges.m.o so we can establish baseline numbers #29

Closed adamlofting closed 10 years ago

adamlofting commented 10 years ago

I have a GA tracking tag for us to add into the existing badges.m.o site to gather some baseline metrics.

@davidascher @christensenep @andrewhayward - do we have access to make changes? Or should I file this somewhere else for now?

andrewhayward commented 10 years ago

We don't, but the MozBadges team should probably be given access to the repository. Once we can push code through though, we can conceptually update the site. (Note to self...)

adamlofting commented 10 years ago

I will ask Chris about how to get this in place with minimal work on the existing platform.

adamlofting commented 10 years ago

Ticket opened for this: https://bugzilla.mozilla.org/show_bug.cgi?id=1030046

adamlofting commented 10 years ago

@andrewhayward is merging and pushing this something we're setup to do now? https://github.com/mozilla/badges.mozilla.org/pull/71

andrewhayward commented 10 years ago

@adamlofting - in theory this is something we're set up to do now, yes. We have the tools to do it. I'm just not quite sure how to use them :)

Need to talk to @lmorchard.

andrewhayward commented 10 years ago

I've merged badges.mozilla.org#71. In theory, the dev box should auto-update, so I'm going to keep an eye on that for a while. If it does, then I think I know what I'm doing as regards deploying to staging/master. Will keep you posted.

andrewhayward commented 10 years ago

@adamlofting - dev has now updated itself, as I hoped it might, so you should at some point (if not already) see a hit in Google Analytics for the new code. I've seemingly successfully deployed to staging too (in so much as it reported a success), but I'm yet to see the results of that on the staging box. That might just be a case of more persistent caching, but I'll let you know.

andrewhayward commented 10 years ago

Spoke too soon. staging is now showing the same changes. As and when you see some information in GA that looks correct, let me know and I'll push the change live.

adamlofting commented 10 years ago

This is firing correctly on staging and is not causing any JS errors, but this doesn't show in GA yet because the traffic is filtered to only report on badges.mozilla.org domain.

As we don't have any existing tracking to break by getting this wrong. I suggest this is ready to push live :)

andrewhayward commented 10 years ago

Pushed to production.