---
schema_version: "1"
id: 9977cc47fe7a94e4f043953beb0ce79fef2a67574a8c518b2fcfb71f50a25d35
title: Customer Success Recipes
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-cookbook/app-analytics-cookbook-recipe-csm-intro.md
canonical_url: https://developer.salesforce.com/docs/platform/pkg2-dev/guide/app-analytics-cookbook-recipe-csm-intro.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 83c0c36e4d834548711f736919ab6b21448ff996e4be09e82481bf3786271194
products:
  - Second-Generation Managed Packaging Developer Guide
  - merged-docs
---

# Customer Success Recipes

Customer success is a relationship-focused method of ensuring that your customers achieve their desired outcomes while using your managed packages.

| Required Editions                                                                        |
| ---------------------------------------------------------------------------------------- |
| Available in: both Salesforce Classic and Lightning Experience                           |
| Available in: **Enterprise**, **Performance**, **Unlimited**, and **Developer** Editions |

To measure customer success, you can create metrics that help you understand:

- Overall managed package usage
- Depth of managed package usage
- Growth
- Length of time as a customer
- Number of renewals
- Number of upsells
- Overall relationship

As you learn more about your customers and how they use your managed packages, your list of customer success metrics expands.

To analyze user behavior, we rely on user-related and CRUD (create, read, update, and delete) App Analytics data fields to calculate metrics. All user behavior calculations rely on how a unique user is defined.

- An individual that has used your managed package and its components
- Measured for a specified time period, such as a day, month, or year

An active user can be defined as: A user who has logged some type of package usage, such as CRUD activity, page views, or Lightning interactions, during a specified time period.

Segment the unique and active users by time period, such as day, month, or quarter.

- **[Create a Daily Unique Users Recipe](https://developer.salesforce.com/docs/platform/pkg2-dev/guide/app-analytics-cookbook-recipe-csm-dailyuu.md)**


    This recipe produces a unique count of users by day.

- **[Create a Weekly Unique Users Recipe](https://developer.salesforce.com/docs/platform/pkg2-dev/guide/app-analytics-cookbook-recipe-csm-weeklyuu.md)**


    This recipe produces a unique count of users by week.

- **[Create a Monthly Unique Users Recipe](https://developer.salesforce.com/docs/platform/pkg2-dev/guide/app-analytics-cookbook-recipe-csm-monthlyuu.md)**


    This recipe produces a unique count of users by month.
