GoWindGoWind
Home
Framework
GoWind Toolkit
  • Open Source

    • GoWind Admin (Admin Platform)
    • GoWind CMS (Content Management)
    • GoWind UBA (Behavior Analytics)
    • GoWind Shop (E-commerce)
    • GoWind Kanban (Kanban Boards)
    • GoWind Ledger (Personal Finance)
    • GoWind ShortPlay (Short Drama)
    • GoWind Ops (Operations Platform)
    • RushWind (Rust Ecosystem)
  • Open Core (Community + Enterprise)

    • GoWind OA (Office Collaboration)
    • GoWind ERP (Procure-to-Pay)
    • GoWind WMS (Warehousing)
  • Commercial

    • GoWind IM (Instant Messaging)
    • GoWind IoT (IoT Platform)
    • GoWind Edu (AI Education)
    • GoWind MES (Manufacturing Execution)
    • GoWind CDC (Data Pipeline)
    • GoWind SDP (Zero-Trust Gateway)
    • GoWind Quant (Quant Research)
    • GoWind Trade Radar (Export Sourcing)
    • GoWind Game Radar (Game Greenlight)
  • 简体中文
  • English
GitHub
Home
Framework
GoWind Toolkit
  • Open Source

    • GoWind Admin (Admin Platform)
    • GoWind CMS (Content Management)
    • GoWind UBA (Behavior Analytics)
    • GoWind Shop (E-commerce)
    • GoWind Kanban (Kanban Boards)
    • GoWind Ledger (Personal Finance)
    • GoWind ShortPlay (Short Drama)
    • GoWind Ops (Operations Platform)
    • RushWind (Rust Ecosystem)
  • Open Core (Community + Enterprise)

    • GoWind OA (Office Collaboration)
    • GoWind ERP (Procure-to-Pay)
    • GoWind WMS (Warehousing)
  • Commercial

    • GoWind IM (Instant Messaging)
    • GoWind IoT (IoT Platform)
    • GoWind Edu (AI Education)
    • GoWind MES (Manufacturing Execution)
    • GoWind CDC (Data Pipeline)
    • GoWind SDP (Zero-Trust Gateway)
    • GoWind Quant (Quant Research)
    • GoWind Trade Radar (Export Sourcing)
    • GoWind Game Radar (Game Greenlight)
  • 简体中文
  • English
GitHub
  • Introduction

    • GoWind UBA Product Introduction
  • Architecture Reference

    • UBA System Architecture
    • UBA Backend Module Overview
    • UBA Backend API Contract
    • UBA Frontend Architecture
  • Developer Guide

    • UBA Installation Guide
    • UBA Code Generation Pipeline Tutorial
    • Adding an External Service Tutorial
    • Adding a Business Entity Tutorial
    • Adding a Frontend Page Tutorial
  • Operations Guide

    • UBA Docker Deployment Guide
    • UBA Configuration Reference & Security Checklist
    • UBA PM2 Deployment Guide
    • UBA Superset BI Deployment Guide
  • Analyst Guide

    • Data Analyst Getting Started Guide
    • Basic Aggregation

      • Event Trend Analysis
      • Active Users Analysis
      • Group By Aggregation
    • Conversion & Paths

      • Funnel Analysis
      • Retention Analysis
      • Top Conversion Paths
      • Behavior Sequence Analysis
    • User Depth

      • Attribution Analysis
      • Distribution Analysis
      • User Segmentation
      • Click Heatmap
      • Interval Analysis
    • Lifecycle

      • User Lifecycle
      • Churn & Reactivation Analysis
      • New vs Returning Users
      • Matrix Quadrant Analysis
    • Revenue & Value

      • Revenue Analysis
      • Whale Tier (Payer Segmentation)
      • Historical LTV Analysis
    • Sessions & Anomalies

      • Session Analysis
      • Period-over-Period Comparison and Anomaly Detection
    • Gaming

      • Level Analysis (Game)
      • Server Retention (Game)
      • Online Stats Analysis (Game)
      • Economy Analysis (Game)
    • OLAP Cookbook
  • SDK Integration

    • Web SDK Integration Guide
    • C# SDK Integration Guide (Unity / Godot / .NET)
  • Appendix

    • UBA Appendix: Ports, Glossary, Known Limitations & FAQ

Revenue Analysis

Revenue Analysis (Revenue) measures payment/revenue scale. Its core metrics are GMV / ARPU / ARPPU / payment rate, with trends shown per time granularity. It corresponds to the backend AnalyticsService.Revenue.


1. What Questions It Answers

  • What is the GMV (total transaction value) trend over the last 30 days? Which day is the revenue peak?
  • What are ARPU (per-user contribution) and ARPPU (per-paying-user contribution)?
  • Is the payment rate (pay_rate) healthy? Rising or falling?

2. Key Metrics

MetricMeaning
GMVTotal transaction value (sum of amount)
Paying userspay_users (distinct)
Paying orderspay_orders
ARPUGMV / active users (contribution per user)
ARPPUGMV / paying users (contribution per paying user)
Payment ratepay_rate = paying users / active users
Average order valueavg_order_value = GMV / order count

3. Backend API

gRPC: AnalyticsService.Revenue

FieldTypeDescription
time_rangeTimeRangeAnalysis time range
app_iduint32 (optional)Filter by app
granularityAnalyticsGranularityTime granularity, default DAY

Response RevenueResponse: points[] (RevenuePoint contains timestamp / gmv / pay_users / pay_orders / arpu / arppu / pay_rate), total_gmv, total_pay_users, total_pay_orders, avg_order_value.

HTTP (admin proxy)

POST /admin/v1/analytics/revenue
Content-Type: application/json

{
  "timeRange": { "startMs": 1718169600000, "endMs": 1718774399000 },
  "granularity": "DAY"
}

4. Implementation

It relies on the amount field reported with payment-type events:

  • GMV: sum of amount across all payment events within the time range.
  • Paying users/orders: distinct counts by user_id / order.
  • ARPU: gmv / active user count (active users come from Active Users).
  • ARPPU: gmv / pay_users.

Therefore payment events must report amount, otherwise GMV/ARPU and similar metrics are distorted.


5. Typical Scenarios

Revenue trend dashboard

Query GMV trends at DAY granularity, together with pay_rate and ARPPU, to monitor revenue health.

Big promotion effectiveness

Compare total_gmv, avg_order_value, and pay_rate before and after a campaign to evaluate the promotion's revenue pull (incremental gain vs. borrowed future spend).

Complementing the payment conversion funnel

Combine with Funnel: the funnel shows "payment conversion rate", Revenue shows "payment amount scale and per-user value" — use them together to evaluate monetization.


6. Notes and Caveats

  • Depends on the amount field: if payment events do not report amounts, GMV is 0. Amount units must be site-wide consistent (e.g. yuan/CNY).
  • ARPU needs active users: ARPU's denominator is active users. The Revenue response computes it internally, but interpret it together with ActiveUsers.
  • Deduplication basis: pay_users is deduplicated by user_id; a user paying multiple times counts as 1 paying user.
  • Refunds: GMV is currently a positive sum of amount; to subtract refunds, flag refund events at the event layer and build your own query.

7. Related Documents

  • Whale Tier
  • Historical LTV
  • Active Users Analysis
  • Data Analyst Getting Started Guide
  • Backend API Contract
Edit this page
Last Updated:: 11/3/26, 2:14 PM
Contributors: Bobo
Next
Whale Tier (Payer Segmentation)