4 min readUpdated Mar 2, 2026

CrmAnalyticsTile Documentation

Purpose

The CrmAnalyticsTile is a component designed for use within the Vantage analytics and data platform. This tile provides a comprehensive overview of CRM (Customer Relationship Management) pipeline and deal analytics, enabling data visualization of sales performance through key metrics and analytics such as total deals, won/lost statistics, and activity breakdowns. It helps users to track sales stages, analyze performance, and make informed decisions.

Settings

The CrmAnalyticsTile can be configured using several settings, detailed below:

1. title

2. subtitle

3. id

4. data (inferred from context, not directly in the code)

How It Works

The CrmAnalyticsTile fetches sales and activity data from the API upon mounting and displays key performance indicators (KPIs) relevant to the CRM pipeline and activities. It manages state and side effects:

  1. Data Loading: Fetches data for deals and activities when the component mounts. This asynchronous call is handled in the loadData function.
  2. State Management: Maintains the loading state, error messages, and the active tab (pipeline or activity) through local state hooks.
  3. Analytics Calculation: Uses memoization to compute analytics, such as the total number of deals, average deal value, win rates, and activities organized by type.
  4. Dynamic UI Components: Renders KPI cards, a tab switcher for pipeline and activity views, and visual displays such as bar graphs for pipeline value by stage and activity breakdowns.

Data Expectations

The CrmAnalyticsTile expects the following data structure from the API for successful rendering:

This data will determine how the tile computes and presents analytics.

AI Integrations

While the CrmAnalyticsTile does not have direct AI integrations mentioned in the code, it prepares analytics data that could be utilized in machine learning models to predict sales outcomes or suggest sales strategies.

Billing Impacts

As part of the overarching Vantage platform, usage of the CrmAnalyticsTile may have implications on billing based on:

  1. Data volume being processed and displayed (e.g., more deals and activities may entail higher costs).
  2. Frequency of API calls made by the component, which could depend on the refresh rate of the tile or the number of users concurrently interacting with the tile.

Use Cases & Examples

Use Cases

  1. Sales Performance Tracking:

    • Sales teams can utilize the CrmAnalyticsTile to monitor their sales pipeline and performance against targets actively.
  2. Monthly Review Meetings:

    • During monthly meetings, managers can present real-time analytics from the tile to assess team performance and strategy effectiveness.
  3. CRM Data Visualization:

    • CRM administrators can integrate the CrmAnalyticsTile into dashboards to provide a visual representation of sales data for better decision-making.

Detailed Example Configuration

Use Case: Monthly Review Meetings

json
{
  "title": "Sales Performance Overview",
  "subtitle": "Monthly Review - March 2023",
  "id": "sales-perf-march-2023"
}

In implementing this configuration, the manager can ensure that the necessary analytics are visible for informed discussions and decisions in the review meeting.