--- title: "Analytics" slug: "analytics" updated: 2025-04-29T08:53:04Z published: 2025-04-29T08:53:04Z canonical: "support.dise.com/analytics" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.dise.com/llms.txt > Use this file to discover all available pages before exploring further. # Analytics This template leverages the Dise Analytics API to monitor and process playout activity in real-time. The template subscribes to the Analytics API and reacts to the different types of playback-related analytics events: start, end, and data. The current status is displayed in a semi-transparent overlay. The API provides messages in the following format: ```typescript interface AnalyticsData {  type: 'start' | 'end' | 'data';  contextId: string; // layerId  contentId: string;  playoutId: string;  name: string;  time: Date;  relTimeMs: number; } ``` #### Events - **Start:** Triggered when content starts playing. - **End:** Triggered when content has finished playing. Includes playout duration. - **Data:** Content included in a Data Layer. This content is only played once and has no onShift flow-stage. (Not currently supported in CX)