Pocket / extension-save-to-pocket

Save to Pocket is a browser extension that is used to save pages to a connected Pocket account
https://getpocket.com
MIT License
278 stars 49 forks source link

story(analytics): define scope of changes required for analytics #133

Closed nelsonomuto closed 5 years ago

nelsonomuto commented 5 years ago

Expected Behavior

Analytics metrics should be tracked for key app actions.
There is a common api method that is defined but not being used for analytics tracking. https://github.com/Pocket/extension-save-to-pocket/blob/500f0285dcff2851269691cdb3030c4be9277cb0/src/common/api/analytics/analytics.js#L5-L16 This should be tracked both for chrome and safari, safari may require a swift api solution.

TODO

Actions to track

Analytics should be tracked for the following actions:

MVP

FAST FOLLOW

See https://github.com/Pocket/extension-save-to-pocket/issues/150 for details

Based on what the MVP will include (No Recs, No Spocs) which matches with the existing safari extension

Actual Behavior

No analytics tracking happening in the current app other than survery analytics https://github.com/Pocket/extension-save-to-pocket/search?q=sendAnalytics&unscoped_q=sendAnalytics

Steps to Reproduce the Problem

  1. Search for analytics: No reference other than survery analytics https://github.com/Pocket/extension-save-to-pocket/search?q=sendAnalytics&unscoped_q=sendAnalytics

    Specifications