Capture customer interaction data from your sites and flow it into Data Cloud to power personalized greetings and task recommendations.
Required Editions
| Available in: Salesforce Classic and Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions |
| Available in: LWR and Aura |
| User Permissions Needed | |
|---|---|
| To manage permission sets, access Data 360 Setup, and create an identity resolution ruleset: | Assign Permission Sets AND View Setup and Configuration |
| To create an Experience Cloud site: | Create and Set Up Experiences AND View Setup and Configuration |
| To customize or publish an Experience Cloud site: |
|
Before beginning ingestion, use the Mobile and Web SDK Schema Quick Guide for Data 360 to prepare your JSON schema. Upload a Website Sitemap to Data 360 to track specific site behaviors.
- Connect a Website or Mobile App to Data 360.
- Select Upload Files on your new connector and provide your custom Aura_Sites_Schema.json.
- In the website connector configuration, select the Sitemap tab and select Upload Sitemap to provide your aura_sitemap.js behavioral tracking file.
- Create a Web or Mobile App Data Stream in the Data Cloud app for your website connector.
- Select the Party Identification, Identity, Search, and UserEngagement events during data stream configuration.
- Deploy the data stream to your designated data space to trigger the creation of Data Lake Objects (DLOs).
- Map your Data Lake Objects (DLO) to the appropriate Data Model Objects (DMO) using the Starter Web and Mobile Connector Data Mappings.
- Map the specific engagement fields for userEngagement.engagementNotes to Engagement Notes and userEngagement.engagementNumber to Engagement
- To authorize the SDK URL, from Setup, in the Quick Find box, enter Trusted URLs, and then select Trusted URLs.
- Select New Trusted URL and enter your unique SDK URL found in your connector settings.
- In the CSP Directives section, select connect-src (scripts) and img-src (images), and save your changes as described in Manage Trusted URLs.
- To configure the Web SDK for Aura sites, from Setup, in the Quick Find box, enter Digital Experiences, and then select All Sites.
- Select Builder next to your Aura site, navigate to Settings, and select Advanced.
-
Select Edit Header Markup and paste the initialization script.
Replace the source URL with your unique SDK URL.
<script src="https://cdn.pc-rnd.c360a.salesforce.com/beacon/c360a/YOUR_ID/scripts/c360a.min.js"></script> <script> SalesforceInteractions.init({ consents: [{ provider: 'OneTrust', purpose: 'Tracking', status: SalesforceInteractions.ConsentStatus.OptIn }] }); </script> - Navigate to Settings and select Security & Privacy in Experience Builder.
- Select a Security Level in Experience Builder Sites and set it to Relaxed CSP: Permit Access to Inline Scripts and Allowed Hosts.
- Connect Experience Cloud to Data Cloud for your LWR site. Add the native integration in Experience Builder settings.
- Paste the consent script into the Header Markup of your LWR site to initialize tracking.