For webtrends we have apps/sumo/webtrends.py and a bunch of settings: WEBTRENDS_PROFILE_ID = 'ABC123' # Profile id for SUMO WEBTRENDS_WIKI_REPORT_URL = 'https://example.com/see_production.rst' WEBTRENDS_USER = r'someaccount\someusername' WEBTRENDS_PASSWORD = 'password' WEBTRENDS_EPOCH = date(2010, 8, 1) # When WebTrends started gathering stats on # the KB We need some similar setup for Google Analytics. The goal of this bug is to be ready to add specific API calls. It might make sense to do it together with the first API call we want to switch over. I am making it a 2pter because it looks pretty easy from the docs.
The oauth2client library that comes with the google api library has a dependency on PyOpenSSL. Filed IT bug 830496
Landed on master: https://github.com/mozilla/kitsune/compare/3545a99d14a0...23d6f6e39d35
I reverted this until Bug 830496 gets resolved: https://github.com/mozilla/kitsune/compare/03beef0bfc13ddb93bb078a84cc8ac11ebf6a8d9...bb30e74a298271f2f9cff7119be913ccd163dc2a
Relanded on master: https://github.com/mozilla/kitsune/commit/25b0da26bd0e3bf7d01874296e9de33a83ae1079 https://github.com/mozilla/kitsune/commit/ddc97f36b4de44cf015a019831b63b929dcdd68a https://github.com/mozilla/kitsune/commit/026ac0d83edee14c56d2c3e38308b1c77f0fb9b3 https://github.com/mozilla/kitsune/commit/c318d0fe4abf18fd9e7c3a0466869396509bd402
Deployed to prod today.