---
schema_version: "1"
id: 0cbddc431c5c39514e178477fbda38b61da3d6e45f16c77ef717b39cc5695479
title: App Analytics Use Cases
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform-pkg-exchange/managed_packaging/guides/second-generation/appexchange/app-analytics/app-analytics-use-cases.md
canonical_url: https://developer.salesforce.com/docs/platform/pkg2-dev/guide/app-analytics-use-cases.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 869d8ffbfdfbd41d1e98550cfd325ca87d8143b40d7b8c7201f336652db9adb1
products:
  - Second-Generation Managed Packaging Developer Guide
  - merged-docs
---

# App Analytics Use Cases

To achieve your business objectives, use App Analytics across your teams. Read this guide to understand common use cases and how to map App Analytics data to sample product features.

| Required Editions                                                                        |
| ---------------------------------------------------------------------------------------- |
| Available in: both Salesforce Classic and Lightning Experience                           |
| Available in: **Enterprise**, **Performance**, **Unlimited**, and **Developer** Editions |

## App Analytics Use Cases

While there are various use cases for App Analytics, these cases tend to be the most common.

<sfdocstbl><table>

<col>
</col>
<col>
</col>
<col>
</col>
<thead>
  <tr>
    <th>
      Partner User
    </th>
    <th>
      Goal
    </th>
    <th>
      How App Analytics Helps
    </th>
  </tr>
</thead>
<tbody>
  <tr>
    <td>
      Presales Engineer or Account Executive
    </td>
    <td>
      Provide a great customer trial experience and close deals
    </td>
    <td>
      <p>
        App Analytics provides detailed package usage logs for sandboxes and trial orgs.
      </p>
      <ul>
        <li>
          <p>
            Use log data to know how many users are trialing your package and which features they’re actively testing.
          </p>
        </li>
        <li>
          <p>
            Analyze log data to provide customized recommendations to your prospective subscribers.
          </p>
        </li>
        <li>
          <p>
            Help prospective subscribers try more features or further configure the trial experience to demonstrate how your solutions can address their use cases.
          </p>
        </li>
      </ul>
    </td>
  </tr>
  <tr>
    <td>
      Customer Success Representative
    </td>
    <td>
      Drive feature adoption and minimize subscriber attrition
    </td>
    <td>
      <p>
        App Analytics provides package usage logs, package usage summaries, and subscriber snapshots in production for subscribers.
      </p>
      <ul>
        <li>
          <p>
            Use comprehensive usage data from all three data types to know how and when the various users for a subscriber are employing your solutions.
          </p>
        </li>
        <li>
          <p>
            Provide tailored recommendations to drive feature adoption, identify upsell opportunities, and forecast attrition risk.
          </p>
        </li>
        <li>
          <p>
            Track a user’s activity across multiple packages to help you determine where opportunities and risks lie within a particular package.
          </p>
        </li>
        <li>
          <p>
            Combine your App Analytics data with license usage data from the License Management App to get a better picture of how your subscriber is adopting your product.
          </p>
        </li>
      </ul>
    </td>
  </tr>
  <tr>
    <td>
      Product Manager
    </td>
    <td>
      Obtain product insights and drive roadmap prioritization
    </td>
    <td>
      <p>
        App Analytics provides you with usage data from your entire subscriber base so that you can carry out high-level and detailed user-level analysis.
      </p>
      <p>
        As a product manager, you can analyze usage data to:
      </p>
      <ul>
        <li>
          <p>
            Identify your most-used features.
          </p>
        </li>
        <li>
          <p>
            Identify incomplete user journeys.
          </p>
        </li>
        <li>
          <p>
            Identify user pain points.
          </p>
        </li>
        <li>
          <p>
            Identify unexpected usage patterns or validate expected behavior.
          </p>
        </li>
        <li>
          <p>
            Retire rarely used or end-of-life features.
          </p>
        </li>
      </ul>
      <p>
        These insights help you design and build product improvements and fixes. Then you can prioritize and adjust your product roadmap accordingly.
      </p>
    </td>
  </tr>
  <tr>
    <td>
      Software Engineer
    </td>
    <td>
      Optimize code
    </td>
    <td>
      <p>
        App Analytics provides usage data on Apex. Use your data on its own or combine it with more data to optimize your code, making it more performant and reliable.
      </p>
      <p>
        Consider using your Apex data in combination with these products.
      </p>
      <ul>
        <li>
          <p>
            Use the Subscriber Support Console to troubleshoot subscriber issues and access logs as code is executed in real time.
          </p>
        </li>
        <li>
          <p>
            Use the Salesforce Code Analyzer to identify and fix problems in your code while you develop.
          </p>
        </li>
      </ul>
    </td>
  </tr>
</tbody>
</table></sfdocstbl>

There are other use cases where App Analytics isn’t a good fit. For example, we don’t recommend that you use App Analytics to audit customer license usage based on the `user_id_token` in package usage logs. We provide usage data for users licensed to use your package, for users who indirectly interact with it, and for automated processes.

## Mapping App Analytics Data to Product Features

For the most common App Analytics use cases, analyze App Analytics usage data at a feature level. Feature-level analysis supports conversations about those features that you have with subscribers and with your teams.

App Analytics data is organized around the concept of a `custom_entity`, which is the developer name of the components that are included in your managed package. `custom_entity` information is included in package usage summaries, package usage logs, and subscriber snapshots.

## Example

Imagine that you want to understand how subscribers are using a new feature in your solution that enables them to easily manage newsletter subscriptions from Salesforce. To build this feature, your developers add these components to your managed package.

- A new custom object, `Newsletter_Subscription`
- A new Lightning Page, `SubscriptionPage`
- A new Lightning Component, `SubscriptionComponent`
- A new Apex Class, `SubscriptionHandler`

As subscribers interact with your components, interaction data flows through in App Analytics.

| Component                 | Package Usage Log (Daily)                   | Package Usage Summary (Monthly)  | Subscriber Snapshot (Daily) |
| ------------------------- | ------------------------------------------- | -------------------------------- | --------------------------- |
| `Newsletter_Subscription` | Create Read Update and Delete (CRUD) events | CRUD events                      | Record Counts               |
| `SubscriptionPage`        | Lightning interactions                      | Lightning interactions           | —                           |
| `SubscriptionComponent`   | Lightning component interactions            | Lightning component interactions | —                           |
| `SubscriptionHandler`     | Apex executions                             | Apex executions                  | —                           |

The volume of total App Analytics data from your feature’s data mixed with data for your entire solution across all subscribers can be vast. To make it easier for you to analyze, employ one of these strategies.

- Select a single component that best represents usage for this feature, and look solely at the data where it appears under `custom_entity`. In this example, the custom object `Newsletter_Subscription` is a good candidate because it tracks CRUD events from all sources, not only from the other components.
- Select a combination of components for a user journey that you care about. Using our example, select an interaction for `SubscriptionPage`, followed by `SubscriptionComponent`, `SubscriptionHandler`and CRUD for `Newsletter_Subscription`.

Package usage logs and subscriber snapshots are updated daily so that you can track subscriber usage more closely and more frequently. Package usage summaries are updated monthly. To understand how we gather and make this data available to you, read [How Does AgentExchange App Analytics Data Flow?](https://developer.salesforce.com/docs/atlas.en-us.pkg2_dev.meta/pkg2_dev/app_analytics_data_flow.htm)

**See Also**

- [How to Read App Analytics Package Usage Log Data](https://developer.salesforce.com/docs/platform/pkg2-dev/guide/app-analytics-read-logs/app-analytics-read-logs-intro.md)
- [Customer Success Recipes](https://developer.salesforce.com/docs/platform/pkg2-dev/guide/app-analytics-cookbook/app-analytics-cookbook-recipe-csm-intro.md)
- [Troubleshoot Subscriber Issues](https://developer.salesforce.com/docs/lma/lma-subscriber-support-overview.md)
