If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Add module and settings for Google Analytics API calls

RESOLVED FIXED in 2013Q1

Status

support.mozilla.org
General
P2
normal
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: rrosario, Assigned: rrosario)

Tracking

unspecified
2013Q1
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: u=dev c=metrics p=2 s=2013.1)

(Assignee)

Description

5 years ago
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.
(Assignee)

Updated

5 years ago
Blocks: 825616
(Assignee)

Updated

5 years ago
Assignee: nobody → rrosario
(Assignee)

Comment 1

5 years ago
The oauth2client library that comes with the google api library has a dependency on PyOpenSSL. Filed IT bug 830496
Depends on: 830496
(Assignee)

Comment 2

5 years ago
Landed on master:

https://github.com/mozilla/kitsune/compare/3545a99d14a0...23d6f6e39d35
(Assignee)

Comment 3

5 years ago
I reverted this until Bug 830496 gets resolved:

https://github.com/mozilla/kitsune/compare/03beef0bfc13ddb93bb078a84cc8ac11ebf6a8d9...bb30e74a298271f2f9cff7119be913ccd163dc2a
(Assignee)

Comment 4

5 years ago
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
(Assignee)

Comment 5

5 years ago
Deployed to prod today.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.