Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1704 from sarracini/revert-gh1440
Browse files Browse the repository at this point in the history
Revert "shield(doc): Closes #1440 Update doc for shield pings"
  • Loading branch information
sarracini authored Nov 2, 2016
2 parents bbed9c0 + 476b923 commit f6ecc5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion data_dictionary.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ The Activity Stream addon sends two distinct types of pings to the backend (HTTP
| `url` | [Optional] The URL of the recommendation shown in one of the highlights spots, if any. | :one:
| `value` | [Required] An integer that represents the measured performance value. Can store counts, times in milliseconds, and should always be a positive integer.| :one:
| `ver` | [Auto populated by Onyx] The version of the Onyx API the ping was sent to. | :one:
| `shield_variant` | [Optional] The current variant a user is in for the SHIELD study | :one:

**Where:**

Expand Down
10 changes: 1 addition & 9 deletions data_events.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ A user event ping includes some basic metadata (tab id, addon version, etc.) as
  "client_id": "26288a14-5cc4-d14f-ae0a-bb01ef45be9c",
  "addon_version": "1.0.12",
  "locale": "en-US"
// Optional field, only set if they are in a shield study
"shield_variant": ["shield-study-01-ActivityStream" | "shield-study-01-Tiles"]
}
```

Expand All @@ -71,9 +69,7 @@ A user event ping includes some basic metadata (tab id, addon version, etc.) as
  // Optional field, only sent if a recommendation site gets clicked
"url": "https://www.example.com",
// Optional field, only sent if a recommendation site gets clicked
"recommender_type": "pocket-trending",
// Optional field, only set if they are in a shield study
"shield_variant": ["shield-study-01-ActivityStream" | "shield-study-01-Tiles"]
"recommender_type": "pocket-trending"
}
```

Expand Down Expand Up @@ -112,8 +108,6 @@ A user event ping includes some basic metadata (tab id, addon version, etc.) as
"url": "https://www.example.com",
// optional field, only sent if a recommendation site gets clicked
"recommender_type": "pocket-trending"
// Optional field, only set if they are in a shield study
"shield_variant": ["shield-study-01-ActivityStream" | "shield-study-01-Tiles"]
}
```

Expand Down Expand Up @@ -177,8 +171,6 @@ All `"activity_stream_session"` pings have the following basic shape. Some field
"page": "NEW_TAB",
"action": "activity_stream_session",
"session_duration": 4199
// Optional field, only set if they are in a shield study
"shield_variant": ["shield-study-01-ActivityStream" | "shield-study-01-Tiles"]
}
```

Expand Down

0 comments on commit f6ecc5e

Please sign in to comment.