---
schema_version: "1"
id: 645be6c7ce2984fd163afe96a7f950c08b3b2063c347ce1931aaa834467c0773
title: CRM Analytics Asset Interactions
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-read-logs/app-analytics-read-logs-analytics-interactions.md
canonical_url: https://developer.salesforce.com/docs/platform/pkg2-dev/guide/app-analytics-read-logs-analytics-interactions.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: b25ca8fc385e5f2afdd8a32ff4f7b21325c5ac05f5deaebbf2a3da90400a32de
products:
  - Second-Generation Managed Packaging Developer Guide
  - merged-docs
---

# 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.

| 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.

```nolang
{
     "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**

- [Package Usage Logs Schema](https://developer.salesforce.com/docs/platform/pkg2-dev/app-analytics-custom-object-logs.md)
- [CRM Analytics Developer Center](https://developer.salesforce.com/developer-centers/crm-analytics)
