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

Attribution Analysis

Attribution Analysis (Attribution) measures the contribution of each touchpoint (channel/source page) to conversion, answering "who drove the conversion". It corresponds to the backend AnalyticsService.Attribution.


1. What Questions It Answers

  • Which channel brings the most paying users?
  • Which source page delivered the "final strike" leading to conversion?
  • How much do channel contributions differ between first touch and last touch?

2. Attribution Models

ModelMeaningUse Case
Last touch last_touch (default)Credits the conversion to the user's last touchpoint before convertingShort decision cycles, emphasis on the final push
First touch first_touchCredits the conversion to the user's first touchpointLooking at acquisition sources, brand reach

Attribution dimensions: channel (default) / referer (source page).


3. Backend API

gRPC: AnalyticsService.Attribution

FieldTypeDescription
time_rangeTimeRangeAnalysis time range
conversion_eventstringConversion event name (e.g. pay_success)
dimensionstring (optional)Attribution dimension: channel (default) / referer
modelstring (optional)Attribution model: last_touch (default) / first_touch
app_iduint32 (optional)Filter by app

Response AttributionResponse: buckets[] (AttributionBucket contains label touchpoint value / converter_uv converting users / percentage share), model, dimension, total_converters total converting users.

HTTP (admin proxy)

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

{
  "timeRange": { "startMs": 1718169600000, "endMs": 1718774399000 },
  "conversionEvent": "pay_success",
  "dimension": "channel",
  "model": "last_touch"
}

4. Typical Scenarios

Channel ROI attribution

conversionEvent=pay_success, dimension=channel: see which channel has the highest share of converting users, compute ROI against acquisition costs, and optimize budget allocation.

Landing page effectiveness

dimension=referer: see which page users last came from before converting, evaluating the conversion pull of each landing/campaign page.

First vs last touch comparison

Run it once with first_touch and once with last_touch, then compare how channel rankings shift: some channels are good at acquisition (high first-touch share) but weak at closing (low last-touch share), and vice versa.


5. Notes and Caveats

  • A conversion event is required: conversion_event is mandatory — without it, "conversion" cannot be defined.
  • Last touch favors closing channels: direct entries (e.g. organic search) tend to be overestimated under last touch.
  • First touch depends on the first record: it requires that a user's behavior has been collected since their very first visit; otherwise first touch is inaccurate.
  • Attribution ≠ causation: attribution is a correlation measure; a high-share channel is not necessarily the true cause of conversion.

6. Related Documents

  • Revenue Analysis
  • Group By Aggregation
  • Data Analyst Getting Started Guide
  • Backend API Contract
Edit this page
Last Updated:: 11/3/26, 2:14 PM
Contributors: Bobo
Next
Distribution Analysis