We want to get basic information about how the recommender tool is used. Here are descriptions for an initial set of EventLogging tables we would like to fill:
**TranslationRecommendationUIRequests**: Logs information about each request a user makes to the API:
timestamp: (required)
user_agent: (required)
s: source language [query param] (required)
t: target language [query param] (required)
seed: seed parameter used for searching [query param] (optional)
search: search algorithm used [query param] (optional)
user_name: the editors user name. Required for future functionality of getting user name based recs (optional)
user_id: unique user token/cookie (required)
request_id: cookie that gets set on each api request. Used as key into other tables. (required)
campaign: name of the campaign the user is in [query param] (optional)
condition: name of the campaign condition the user is in [query param](optional)
**TranslationRecommendationFlagging**: Logs what articles are being flagged and how
request_id: generated upon the api request that fetched the data the user is seeing. (required)
page_title: title of the specific page the user is flagging (required)
action: flagging action taken. Current options are in {not_interested, not_notable} (required)
**TranslationRecommendationCXTranslations**: Logs if the user chooses to translate an article via content translation. Later we will add a similar table for logging if the user chooses to
translated an article from scratch
request_id: generated upon the api request that fetched the data the user is seeing. (required)
page_title: title of the specific page the user is flagging (required)