Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Update reports.md
Browse files Browse the repository at this point in the history
Added Cody Pro Documentation
  • Loading branch information
Tobiryd authored Apr 8, 2024
1 parent 1d93fe8 commit 04e1b46
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions content/departments/data-analytics/reports.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,27 @@ We've configured Redash to authenticate you with your Sourcegraph Google account
### **How do I use it?**

Here's a quick [loom overview](https://www.loom.com/share/f4473f4930d947cc9514d39c8fba46ea) to get you started.

## **Cody Pro Internal Reporting**

### **Reporting Data Source of Truth**
After evaluating Stripe's dashboard, its raw backend data, and our internal data (Self-Serve Cody, SSC) for Cody Pro reporting, we chose to pivot from using Stripe to SSC due to greater control and flexibility over our data. This decision came after addressing a discrepancy between the Slack bot (using Stripe's backend data) and Stripe dashboard figures achieving a 97% data match. The move to SSC, despite a current and lower 93% match confidence with Stripe data, will promise improved internal reporting after resolving a [critical bug](https://github.com/sourcegraph/self-serve-cody/issues/707) in active subscriber counting. Stripe remains essential for financial reporting compliant with GAAP, while SSC will serve our in-depth analytics.
[Click here](https://docs.google.com/document/d/1VX2VpoPzNCfOA_dCRrIM6_Dk5O5rY9bgI3yia0-oHDU/edit?usp=sharing) for a more detailed review of these sources' evaluation, implications, and resolutions.

### **Data Fields + Description**

- **date**: The reference date for the data snapshot (PST).
- **daily_subscribers**: The count of users who initiate a first or subsequent billing cycle of Cody Pro on a specific day.
- **new_subscribers**: The count of users who start their first month of a Cody Pro subscription on a specific day.
- **retained_subscribers**: The count of users who are active subscribers commencing their second or subsequent month of a Cody Pro subscription on a specific day.
- **canceled_subscribers**: The count of users whose subscriptions terminated on a specific day.
- **active_subscribers**: The total count of users with an 'active' subscription status on a specific day.
- **daily_revenue**: The total revenue generated from daily_subscribers, calculated as daily_subscribers multiplied by $9.
- **daily_revenue_added**: The revenue generated from new subscribers, calculated as new_subscribers multiplied by $9.
- **daily_revenue_retained**: The revenue from retained subscribers, calculated as retained_subscribers multiplied by $9.
- **MRR (Monthly Recurring Revenue)**: The monthly revenue from active subscribers, calculated as active_subscribers multiplied by $9.
- **ARR (Annual Recurring Revenue)**: The annualized MRR, calculated as MRR multiplied by 12.




0 comments on commit 04e1b46

Please sign in to comment.