Page MenuHomePhabricator

Analytics tagging for add/translate image captions
Closed, ResolvedPublic2 Estimated Story Points

Description

Using same schema as article descriptions

Event Timeline

Charlotte updated the task description. (Show Details)
Charlotte set the point value for this task to 2.

Caption stats are in the events we're getting from alpha, I can confirm that much.

Bug: the first image caption suggestion keeps getting counted as a title description suggestion.

So if I just look at 1 suggested image caption, I get "edit_task": { "add-caption": { "impressions": 0, … }, "add-description": { "impressions": 1, … } }
and if I look at 2 suggested image captions, I get "edit_task": { "add-caption": { "impressions": 1, … }, "add-description": { "impressions": 1, … } }

Dmitry said he's going to look into it

@mpopov Done. Please try again from the latest master.

@Dbrant Works perfectly now! Thanks and great job :D

{
  "edit_tasks": {
    "add-caption": {
      "cancels": 0,
      "clicks": 1,
      "failures": 0,
      "impressions": 2,
      "successes": 1,
      "suggestions_clicked": 1
    },
    "add-description": {
      "cancels": 0,
      "clicks": 0,
      "failures": 0,
      "impressions": 0,
      "successes": 0,
      "suggestions_clicked": 0
    },
    "translate-caption": {
      "cancels": 0,
      "clicks": 0,
      "failures": 0,
      "impressions": 0,
      "successes": 0,
      "suggestions_clicked": 0
    },
    "translate-description": {
      "cancels": 0,
      "clicks": 0,
      "failures": 0,
      "impressions": 0,
      "successes": 0,
      "suggestions_clicked": 0
    }
  },
  "help_opened": 0,
  "scorecard_opened": 0,
  "source": "menu",
  "time_spent": 29,
  "client_dt": "2019-06-26T13:23:12-0400",
  "app_install_id": "267ba2e2-3d16-4811-911b-0cb75f41a932",
  "session_token": "6977172b-f342-411b-96f5-d2bbbf6e3e53"
}