Analytics & Reports

Monitor query metrics, token usage, search patterns, user demographics, and query history across five analytics pages.

Who can access this?

analyst manager superadmin

Summary Dashboard

The Summary page provides a high-level overview of system-wide metrics in stat cards and tables.

Key Metrics

MetricDescription
Total QueriesAll-time number of search queries processed
Last 7 DaysQueries in the past week
Active DaysNumber of days with at least one query
Avg Processing TimeMean time to process a query (in seconds)
Avg Results/QueryAverage number of search results per query

Token Usage

MetricDescription
Total Input TokensAll-time tokens sent to the LLM (context + query)
Total Output TokensAll-time tokens generated by the LLM
Combined TotalInput + Output tokens
Last 7 DaysToken usage in the past week

Document Breakdown

Model Usage Table

Shows each LLM model used with: query count, average processing time, and usage percentage.

Data Volume

Shows the total database size on disk in MB, pricing record count, and product spec variant count.

Summary dashboard
Screenshot: Summary dashboard with stat cards, token usage, document breakdown, and model usage table

LLM Usage Metrics

Detailed LLM performance tracking with interactive charts. Select a time period (7, 14, 30, 60, or 90 days) to analyze trends.

Summary Cards

Charts

ChartTypeShows
Token Usage Distribution Line chart Daily input, output, and total tokens over the period
Query Volume Bar chart Daily query count over the period
Performance Metrics Line chart Average processing time per day
LLM metrics
Screenshot: LLM Metrics page with period selector, summary cards, and three charts (token, volume, performance)
Charting Library

Charts are rendered using Chart.js 4.4.0 with responsive, interactive tooltips.

Search Insights

Analyze what users are searching for with word frequency analysis and a visual word cloud.

Metrics

Word Cloud

An interactive visualization where word size reflects search frequency. Color-coded by frequency tier. Click any word to see its exact count.

Word cloud
Screenshot: Search Insights word cloud with color-coded words and top queries table
Stop Word Filtering

Common words in both Indonesian (yang, di, dan, ini, itu, ...) and English (the, is, at, which, on, ...) are automatically filtered out to show only meaningful search terms.

Top Queries Table

A ranked table showing: position, query text, count, and percentage of total queries.

User Analytics

Understand who your users are — their browsers, operating systems, devices, and geographic locations.

Summary

Charts

ChartTypeShows
Browser Distribution Pie chartChrome, Firefox, Safari, Edge, Opera, etc.
OS Distribution Pie chartWindows, macOS, Linux, iOS, Android, etc.
OS Version Breakdown Detailed chartSpecific OS versions (e.g., Windows 11, macOS 14)
Device Types Pie chartDesktop, Mobile, Tablet distribution
Geographic Distribution World mapUser locations via GeoIP
User analytics
Screenshot: User analytics with pie charts for browser/OS/device and geographic map

Query History

A detailed log of every query processed by the system, with full metadata.

History Table

ColumnDescription
IDUnique query identifier
TimestampWhen the query was submitted (sortable)
QuestionThe user's query text
TemperatureLLM temperature used
ResultsNumber of search results found
Processing TimeTotal processing time in seconds (sortable)
TokensInput + output token count

Detail Modal

Click any row to open a detail modal showing the full query record:

Export

Click "Export CSV" to download the full query history as a CSV file for external analysis.

Query history
Screenshot: Query history table with detail modal showing full query record