The Analytics for Communications - Consumer app includes dashboards that you can embed and access in Lightning Experience pages.
Required Editions
| Available in: Developer edition and for an extra cost in Enterprise, Performance, and Unlimited editions. |
For general instructions, see Embed CRM Analytics Dashboards in Lightning Pages in Salesforce Help. These examples use dashboards from the Analytics for Communications - Consumer app.
Example
To embed the Account Highlights dashboard on an Account page, use the following string in the Filter String box:
{"datasets":{"B2C_Comms_Subscription":[{"fields":["vlocity_cmt__AccountId__c"],"filter":{"operator":"in","values":["$vlocity_cmt__AccountId__c"]},"locked":null,"hidden":null}]}}
Example
To embed the Subscription Highlights dashboard on a Subscription page, use the following string in the Filter String box:
{"datasets":{"B2C_Comms_Subscription":[{"fields":["vlocity_cmt__ServiceIdentifier__c"],"filter":{"operator":"in","values":["$vlocity_cmt__ServiceIdentifier__c"]},"locked":null,"hidden":null}]}}