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

Click Heatmap

The Click Heatmap (Click) aggregates click coordinates into page grid buckets, answering "where on the page gets clicked the most". It corresponds to the backend AnalyticsService.Click.


1. What Questions It Answers

  • Where are the click hotspots on the homepage? Which button do users click most?
  • What share of total page clicks does a given button account for?
  • Are there many accidental clicks (e.g. clicking non-interactive areas)?

2. Data Source

The heatmap relies on the Web SDK's autotrack automatic collection — once autoTrack is enabled, the SDK automatically listens for clicks and fills in the heatmap fields:

FieldDescription
clickX / clickYClick viewport coordinates
elementXpathElement XPath
pageUrlCurrent page URL
viewportWidthViewport width

⚠️ Web SDK autotrack covers click only (no PV). See the Web SDK Integration Guide for details. The C# SDK has no autotrack.


3. Backend API

gRPC: AnalyticsService.Click

FieldTypeDescription
time_rangeTimeRangeAnalysis time range
page_urlstringPage URL (required; the heatmap is grouped per page)
grid_sizeuint32 (optional)Grid size (pixels), default 20
app_iduint32 (optional)Filter by app

Response ClickResponse: points[] (ClickHeatPoint contains x / y / count / normalized intensity heat), top_elements[] (ClickElementBucket contains element_xpath / count / percentage), total_clicks, grid_size.

HTTP (admin proxy)

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

{
  "timeRange": { "startMs": 1718169600000, "endMs": 1718774399000 },
  "pageUrl": "https://example.com/home",
  "gridSize": 20
}

4. Interpreting Results

  • points (heat grid): the page is split into a grid by grid_size (default 20px); each cell has its click count and normalized intensity heat (0-1, relative to the maximum click count). The frontend renders this as a heatmap.
  • top_elements (top elements): the top clicks aggregated by element_xpath, showing at a glance which element is clicked most and its share.
  • grid_size tuning: a smaller grid is finer-grained but produces more points; the default 20px balances precision and performance.

5. Typical Scenarios

Homepage layout optimization

Query the homepage's points and check whether hotspots fall on the core CTAs; if hotspots land on non-interactive areas, it may indicate accidental clicks or visual misdirection.

Button click share

Look at top_elements to confirm the click share of the primary button (e.g. "Buy Now") and evaluate how well it drives action.

A/B test comparison

Query Click separately for the A and B page versions and compare hotspot distribution and primary button clicks.


6. Notes and Caveats

  • pageUrl is required: the heatmap is grouped per page, so you must specify the page URL to analyze.
  • Viewport coordinates: clickX/clickY are viewport coordinates at report time, whose meaning varies with resolution/responsive layout; aggregating heatmaps across devices may distort results — consider grouping by viewportWidth.
  • autotrack must be enabled: without autoTrack in the Web SDK there are no click events and the heatmap is empty.
  • Not applicable to C#: the heatmap is Web-only; games/native clients do not have this model.

7. Related Documents

  • Web SDK Integration Guide
  • Group By Aggregation
  • Data Analyst Getting Started Guide
  • Backend API Contract
Edit this page
Last Updated:: 11/3/26, 2:14 PM
Contributors: Bobo
Prev
User Segmentation
Next
Interval Analysis