Skip to main content

Analytics

The Analytics tab provides administrators with tools to monitor platform usage, review user activity, and generate daily and weekly reports. It is organized into three sub-tabs, each offering a different perspective on platform data.

Sub-Tabs

The Analytics tab uses a horizontal tab bar with three sections:

Sub-TabIconDescription
User ActivityPeopleRaw activity log data with advanced filtering and export
Daily ReportDescriptionAI-generated daily activity summaries
Weekly ReportAnalyticsAI-generated weekly activity summaries

The active sub-tab is persisted in a Zustand store, so navigating away and returning preserves the last selected sub-tab.

User Activity Tab

The User Activity tab displays raw activity log entries in a paginated, filterable table. Each entry represents a tracked action on the platform.

Data Columns

ColumnDescription
DateThe date the activity occurred
ActionThe counter name identifying the type of action (e.g., login, message sent, file uploaded)
User EmailThe email of the user who performed the action, or "N/A" if unavailable
MetadataAdditional context for the action, displayed as a summary with expandable JSON details
CountThe number of times this action occurred

Metadata Display

Each activity entry can include metadata -- key-value pairs providing additional context. The metadata column shows a summary view by default:

  • If there is no metadata, it displays "No metadata"
  • If there is a single key, it displays the key and value inline
  • If there are multiple keys, it displays the key names as a comma-separated list

Clicking the expand/collapse icon reveals the full metadata as formatted JSON in a monospaced, scrollable container.

Organization Filter

A multi-select dropdown filters activity by organization:

  • All - Shows activity from all organizations (default)
  • Individual organizations loaded from the API

Exclude Organizations

When "All" organizations are selected, additional checkboxes allow excluding specific internal organizations from the view:

ExclusionDefaultDescription
Your internal orgCheckedExcludes internal team activity
UnknownCheckedExcludes activity with no organization
PersonalCheckedExcludes personal (non-organizational) activity

These exclusion checkboxes are disabled when a specific organization (not "All") is selected.

Advanced Filters

Clicking the Show Advanced Filters button reveals additional filtering options:

Date Filtering

ControlDescription
Start DateDate picker, defaults to 7 days ago
End DateDate picker, defaults to today
TodayQuick-select button for today only
Last 7 DaysQuick-select button for the past week
Last 30 DaysQuick-select button for the past month

The active quick-select button is highlighted with a solid style. Start date cannot exceed end date, and end date cannot be in the future.

Search Filters

FilterDescription
Counter Name SearchText search to filter by action/counter name
User Email SearchText search to filter by user email

Metadata Filters

A metadata filter panel allows filtering based on specific metadata field values. Available metadata fields are dynamically extracted from the raw data.

Pagination

SettingValues
Items per page5, 10 (default), 20
NavigationPrevious / Next buttons with page counter
Total count"Total Items: N" reflecting the filtered result count

Export

The Export CSV button exports all filtered activity data (not just the current page) to a CSV file named user_activity_YYYY-MM-DD.csv. Exported columns include: date, counterName, userEmail, metadata (as JSON string), and count.

Refresh

The Refresh button reloads activity data from the server.

Daily Report Tab

The Daily Report tab displays AI-generated summaries of platform activity for each day within a selected date range.

Date Range Selection

The same date filter component used in User Activity is available here:

  • Start Date and End Date pickers
  • Quick select buttons: Today, Last 7 Days (default), Last 30 Days

Report Display

Each daily report is displayed as a card with:

  • A header showing "Report for YYYY-MM-DD"
  • The report content rendered in a monospaced, pre-formatted text block
  • Days without activity are marked with "(No Activity)" and displayed with reduced opacity

Reports are sorted by date in descending order (most recent first).

An informational alert notes: "Reports are shown for all dates in the selected range. Dates without activity will be marked accordingly."

Pagination

SettingValues
Items per page5 (default), 10, 20
NavigationPrevious / Next buttons with page counter
Total count"Total Reports: N"

Weekly Report Tab

The Weekly Report tab displays AI-generated summaries of platform activity for selected weeks.

Week Selection

A Week Picker component allows selecting one or more weeks:

  • Up to 4 weeks can be selected simultaneously
  • Each week is represented by its start and end dates

An informational alert notes: "Select one or more weeks to view reports. You can select up to 4 weeks at a time."

Report Display

Each weekly report is displayed as a card with:

  • A header showing "Week of YYYY-MM-DD to YYYY-MM-DD"
  • The report content in monospaced, pre-formatted text
  • If an error occurred generating the report, a red alert is shown instead of the report content

When no weeks are selected, a message prompts: "Select one or more weeks to view reports."

State Management

The Analytics tab uses a centralized Zustand store to persist filter state across sub-tab switches:

StateDefaultDescription
Active sub-tabUser ActivityThe currently selected sub-tab
Selected organizationsAllOrganization filter selection
Excluded orgsInternal, Unknown, Personal excludedOrganization exclusion toggles
Date filtersLast 7 daysStart and end date range
User activity filtersEmpty stringsCounter name and email search terms
Advanced filters visibilityHiddenWhether advanced filters are shown

This means that switching between sub-tabs preserves your filter selections, and returning to the Analytics tab from another admin tab maintains your previous state.

Best Practices

  • Start with the Daily Report tab for a quick overview of platform health, then drill into User Activity for specific details.
  • Use the organization exclusion checkboxes to filter out internal team activity when analyzing customer behavior.
  • Leverage the Advanced Filters for targeted investigations -- combine date ranges with counter name and email searches.
  • Export user activity data regularly for compliance or offline analysis purposes.
  • When reviewing weekly reports, select consecutive weeks to identify trends over time.
  • Use the Last 30 Days quick-select for monthly review cycles.