How to Read App Analytics Package Usage Log Data
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.
| Required Editions |
|---|
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions |
AgentExchange App Analytics is subject to certain usage restrictions as described in the ISV Program Policies. Usage data from Government Cloud and Government Cloud Plus orgs isn’t available in App Analytics.
-
Determine What Packaged Component Was Accessed
To analyze a package usage log record, always start with your packaged component.
-
Identify Who Interacted with Your Packaged Component
After you identify your packaged component, identify both the subscriber org and the user who triggered the interaction.
-
Identify How a User Interacted with Your Packaged Component
After you identify your packaged component and who interacted with it, identify how the user interacted with your packaged component.
-
Custom Object and External Object Interactions
When a log record in your package usage log has custom_entity_type equal to CustomObject or ExternalObject, it means that a user performed an action that resulted in a create, read, update, or delete (CRUD) interaction on your object.
-
Lightning Interactions
Each record in your package usage log that has a custom_entity_type of LightningComponent or LightningPage describes an interaction with your packaged Lightning component or page.
-
Apex Interactions
Each record in your package usage log that has a custom_entity_type of ApexClass or ApexTrigger describes an interaction with your packaged Apex class or trigger.
-
Visualforce Interactions
Each record in your package usage log that has a custom_entity_type of VisualforcePage describes an interaction with your packaged Visualforce pages.
-
CRM Analytics Asset Interactions
Each record in your package usage log that has a custom_entity_type of AnalyticsDashboard, AnalyticsLens, or AnalyticsRecipe describes an interaction with your packaged CRM Analytics assets.
-
Custom Interactions
To understand which features and UI components a subscriber interacted with and how they flow through a user journey, create custom interactions with Apex enums and the IsvPartners.AppAnalytics.logCustomInteraction Apex method.
See Also