TezosTaqueria / taqueria

*BETA* Taqueria provides a seamless development workflow to easily build, test and deploy your Tezos applications.
https://taqueria.io
Apache License 2.0
64 stars 20 forks source link

[EPIC] Define In App Analytics #35

Closed russellmorton closed 2 years ago

russellmorton commented 3 years ago

As a product manager, I want to measure how Taqueria is being used so that I can understand which features are used most frequently as well as how they are used so that I can optimize Taqueria for developers.

USE CASE: Understanding how Taqueria is used will provide us with the necessary information to optimize Taqueria as well as create a roadmap for features that may be the most valuable users. Analytics will also assist in proactively determining any bottlenecks or inefficient processes within Taqueria.

The goal of data collection will be to determine as close to as possible:

ACCEPTANCE CRITERIA:

ADDITIONAL ITEMS FOR DISCUSSION:

EXAMPLE METRICS TO BE CALCULATED:

Metric Name Metric Common Short Name Definition How will the metric be used? Comment
Daily Active Users DAU Count of the unique number of users using Taqueria in a day. Trend over time for the number of daily users to understand adoption rate of Taqueria  
30 Day Active Users MAU Count of the unique number of users using Taqueria over a rolling 30 day period Trend over time to understand usage over a longer time frame  
DAU/MAU Ratio   Ratio of daily active users divided by monthly active users Provides us with a proportion of monthly active users who engage with Taqueria in a single day window This is calculated daily using the previous day's DAU divided by MAU. e.g. DMR for 1 December will be (DAU for 30-Nov)/(MAU for 1-Nov-30 Nov)
Daily Installs   Unique count of number of installs in a day Provides us with a count of new users in a single day  
30 Day Installs   Unique count of number of installs in a 30 day period Provides a total number of installs in the preceding 30 days  
Install Ratio   Daily Installs divided by 30 day Installs Provides us with the proportion of new users that installed Taqueria in the last day. Calculated similarly to DAU/MAU Ratio
Feature usage Most used commands, plugins, etc.
Conversions To be defined based on open question around goal tracking

russellmorton commented 2 years ago

@hu3man and @mweichert please review when you have a chance.

hu3man commented 2 years ago

Other metrics I think we should track:

russellmorton commented 2 years ago

Added the data points mentionded. Just a note that we will be merging error reporting and usage analytics into one work stream.

@mweichert @hu3man

russellmorton commented 2 years ago

Solution Options

  1. Google Analytics Measurement Protocol
    1. https://github.com/yeoman/insight using Google Analytics
    2. used by Hardhat
  2. Open Telemetry
  3. Microsoft Application Insights
  4. Mixpanel
  5. Amplitude
hu3man commented 2 years ago

For Deno, the Oak HTTP library may be helpful: https://oakserver.github.io/oak/

russellmorton commented 2 years ago

MVP defined in #716

russellmorton commented 2 years ago

Should error reporting be combined as part of the scope of this ticket?

On Fri, Apr 8, 2022 at 11:17 AM Houston @.***> wrote:

Other metrics I think we should track:

  • All errors
  • Snapshot of plugins used in a project
  • List of operations (taq commands) run in a project (to identify common workflows)
  • System/environment data
  • Version info for dependencies (node, docker, deno, etc)

— Reply to this email directly, view it on GitHub https://github.com/ecadlabs/taqueria/issues/35#issuecomment-1093158088, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXKLPHDVBLFDEUDN53QK63VEBZ2XANCNFSM5JXIVMXQ . You are receiving this because you were assigned.Message ID: @.***>