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.
| Required Editions |
|---|
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions |
Analytics Asset Runs
To analyze a run of your CRM Analytics asset, look for a log_record_type of AnalyticsAssetRun.
| Standard Data | Supplemental Data |
|---|---|
| none | none |
Analytics Asset Views
To analyze a view of your CRM Analytics asset, look for a log_record_type of AnalyticsAssetView.
| Standard Data | Supplemental Data |
|---|---|
| none | none |
Example
Let’s look at an example package usage log record and analyze the CRM Analytics asset interaction.
{
"timestamp_derived": "2022-11-22T06:19:49.820Z",
"log_record_type": "AnalyticsAssetView",
"request_id":"4mbhvyfahFf83tlq2Z5aAk",
"organization_id": "00Dxx0000006H2l",
"organization_name": "MyCustomer Inc.",
"organization_status": "Demo",
"organization_edition": "Enterprise Edition",
"organization_country_code": "IN",
"organization_language_locale": "en_US",
"organization_time_zone": "Australia/Sydney",
"organization_instance": "GS0",
"organization_type": "Production",
"user_id_token": "005-9BwnBWYO5FMn4cZ1sLw7F3LmTpoe8M77GrZOZHL6xQk=",
"user_type": "Standard",
"package_id": "033xx0000004FqD",
"package_version_id": "04txx0000004Idi",
"managed_package_namespace": "Acme",
"custom_entity": "ClaimsDashboard",
"custom_entity_type": "AnalyticsDashboard",
"session_key": "2l4YtFB/RmsRKVsS",
"login_key": "fGV6RgVOH3ZCgl2v",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/IP_ADDRESS_REMOVED Safari/537.36",
"user_country_code": "US",
"user_time_zone": "America/Los_Angeles"
}
The packaged Analytics dashboard, ClaimsDashboard, was interacted with by a standard user from the subscriber org MyCustom Inc. Specifically, the user performed a view of ClaimsDashboard on 2022-11-22 at 6:19am UTC.
The key data in this analysis are:
| Question | Field | Value |
|---|---|---|
| What | <ul><li>custom_entity</li><li>custom_entity_type</li><li>package_version_id</li><li>managed_package_namespace</li></ul> |
<ul><li>ClaimsDashboard</li><li>AnalyticsDashboard</li><li>04txx0000004Idi</li><li>Acme</li></ul> |
| Who | <ul><li>organization_id</li><li>user_id_token</li></ul> |
<ul><li>00Dxx0000006H2l</li><li>005-9BwnBWYO5FMn4cZ1sLw7F3LmTpoe8M77GrZOZHL6xQk=</li></ul> |
| How | log_record_type |
AnalyticsAssetView |
| When | timestamp_derived |
2022-11-22T06:19:49.820Z |
See Also