Skip to main content

Views - API Documentation

Overview

The Views feature tracks page/screen views, supports segmented view analytics, provides heatmap interaction reads, and includes view-management endpoints (rename, omit segments, delete).

Database Collections

CollectionPurpose
countly.viewsStores app-level views configuration (segment map, omitted segments, metadata root).
countly.app_viewsmetaStores per-view metadata (view, display, url) per app.
countly.app_viewdata and countly.app_viewdata{sha1(segment+appId)}Stores aggregated view metrics (segmented and non-segmented).
countly.app_userviews and countly.app_userviews{appId}Stores user-to-view mapping fields used in cleanup/update flows.
countly_drill.drill_eventsStores granular view/action events used by heatmap and unique-count calculations.
countly.membersUsed for authenticated endpoint access validation.
countly.appsUsed for app context validation and timezone resolution.

Configuration & Settings

SettingDefaultPurpose
api.request_thresholdServer configurationInfluences long-task threshold behavior for heavy views query branches (getTotals, graph mode).

Last Updated

2026-02-17