---
schema_version: "1"
id: dbdca39bb604ead6a07a4444b0065a7437a40516e5cf9a806d252dd1b7b373ec
title: Package Usage Logs
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-managed-package-log-files.md
canonical_url: https://developer.salesforce.com/docs/platform/pkg2-dev/guide/app-analytics-managed-package-log-files.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 76499246e589aabb0b2ef5e8dbab3d28be7de520d20411dc82ad131e5177aab1
products:
  - Second-Generation Managed Packaging Developer Guide
  - merged-docs
---

# Package Usage Logs

Analyze adoption and user behavior, then make informed feature development decisions based on data from package usage logs. AgentExchange App Analytics tracks UI, API-based, Lightning-based, and Apex operations, and it logs each CRUD operation on components and custom objects in packages. Events from sandbox and trial orgs are tracked in package usage logs. Events from scratch orgs aren’t tracked.

**note:** AgentExchange App Analytics is subject to certain usage restrictions as described in the [AgentExchange Program Policies](https://www.salesforce.com/content/dam/web/en_us/www/documents/legal/Agreements/alliance-agreements-and-terms/salesforce-partner-program-policies.pdf).

- **[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)**


    App Analytics package usage logs contain data about how subscribers interact with your managed package. Your managed package contains packaged components, and each package usage log line describes an interaction that a user has with one of your packaged components. To understand that interaction, analyze each log line—or record—and focus on: what packaged component was accessed, who interacted with that packaged component, and how that packaged component interaction occurred. Finally, analyze the specific interaction data.

- **[Package Usage Logs Schema](https://developer.salesforce.com/docs/platform/pkg2-dev/guide/app-analytics-custom-object-logs.md)**


    Make informed development decisions based on package usage log data. Analyze adoption, user behavior, company information, and Lightning app and page usage data. Package usage logs list activity during a 24-hour period, between 12:00 AM and 11:59 PM UTC.
