Merge lp:~elachuni/ubuntu-webcatalog/more-analytics into lp:ubuntu-webcatalog
Proposed by
Anthony Lenton
Status: | Merged |
---|---|
Approved by: | Michael Nelson |
Approved revision: | 61 |
Merged at revision: | 59 |
Proposed branch: | lp:~elachuni/ubuntu-webcatalog/more-analytics |
Merge into: | lp:ubuntu-webcatalog |
Diff against target: |
160 lines (+71/-5) 7 files modified
django_project/config/main.cfg (+1/-1) fabtasks/bootstrap.py (+17/-4) src/webcatalog/context_processors.py (+2/-0) src/webcatalog/schema.py (+1/-0) src/webcatalog/templates/light/index.1col.html (+8/-0) src/webcatalog/tests/__init__.py (+1/-0) src/webcatalog/tests/test_context_processors.py (+41/-0) |
To merge this branch: | bzr merge lp:~elachuni/ubuntu-webcatalog/more-analytics |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Nelson (community) | Approve | ||
Review via email: mp+87758@code.launchpad.net |
Commit message
Added a secondary Google Analytics ID
Description of the change
Overview
========
This branch adds a secondary Google Analytics ID, to aggregate information with the general Ubuntu.com stats
Details
=======
A pretty straight forward change, via a setting and a context processor like the original google analytics id was added.
While I was there, I sorted out the bootstrap fab task on Oneiric.
To post a comment you must log in.
14:43 < achuni> noodles: if you have a while, could you have a look? https:/ /code.launchpad .net/~elachuni/ ubuntu- webcatalog/ more-analytics/ +merge/ 87758
14:44 < noodles> Sure thing
14:46 < noodles> achuni: is that a real ga-id on line 9? Does that mean our dev servers will be contributing to analytics? (not something you changed, but just worth asking :-)
14:47 < achuni> noodles: -36 is the staging id, so yep. Before, -24 meant that yes our dev server was contributing to analytics
14:48 < achuni> noodles: it should be ok to leave -36 in for dev, as we use the same id for all staging services nobody really takes those seriously
14:49 < noodles> achuni: sweet
14:50 < noodles> achuni: have you tested the bootstrap on lucid? (I can do so on my canonistack lucid instance, if not)
14:50 < achuni> noodles: not with the latest changes, nope, if you could that would be great
14:54 < noodles> achuni: bootstrapped fine on lucid with all tests passing.
14:54 < achuni> neat
14:54 < achuni> txs noodles
14:56 < noodles> achuni: the code+test look great - I assume it doesn't add significantly to the page load time? Might be worth a quick test using any web-dev tools. Anyway, approving.
14:57 < achuni> noodles: it doesn't add a noticeable wait to the page load, and we've got that code in place on sca/devportal already
14:57 < noodles> Great.