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.
| Required Editions |
|---|
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions |
We’re continually improving the recording of Lightning interaction data in package usage logs. Many interactions with your packaged Lightning component or page are available in AgentExchange App Analytics, but not all. To determine which interactions we capture for your specific package, compare your packaged components to your App Analytics package usage logs.
When a user interacts with your LightningPage or LightningComponent packaged component, a log_record_type of LightningInteraction is created. Some standard fields are always populated with data. For example, a Lightning component interaction always has app_name and ui_event_source data. Lightning interactions have supplemental fields that are often populated. For example, a Lightning interaction sometimes also has page_app_name and page_context data.
| Standard Data | Supplemental Data |
|---|---|
|
|
When a user views your Lightning page, a log_record_type of LightningPageView is created. Some standard fields are always populated with data. For example, a Lightning page view always has app_name and page_app_name data. Lightning page views have supplemental fields that are often populated. For example, a Lightning page view sometimes also has page_entity_type and prevpage_url data.
| Standard Data | Supplemental Data |
|---|---|
|
|
Let’s look at an example package usage log record and analyze the Lightning interaction.
The Acme_Insurance_Agents Lightning page was interacted with as a result of a user action from subscriber org MyCustomer Inc. Specifically, a Lightning interaction took place on the page on 2022-11-22 at 6:17 am.
The key data in this analysis are:
| Question | Field | Value |
|---|---|---|
| What |
|
|
| Who |
|
|
| How | log_record_type | LightningInteraction |
| When | timestamp_derived | 2022-11-22T06:17:39.167Z |
Lightning interaction data is captured on an event by event basis.
See Also