Loading
Experience Cloud
Set Up Event Ingestion for Experience Cloud Sites

Set Up Event Ingestion for Experience Cloud Sites

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:
  • Create and Set Up Experiences AND View Setup and Configuration AND be a member of the site OR
  • View Setup and Configuration AND be a member of the site AND have appropriate role-based site access

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.

  1. Connect a Website or Mobile App to Data 360.
  2. Select Upload Files on your new connector and provide your custom Aura_Sites_Schema.json.
  3. In the website connector configuration, select the Sitemap tab and select Upload Sitemap to provide your aura_sitemap.js behavioral tracking file.
  4. Create a Web or Mobile App Data Stream in the Data Cloud app for your website connector.
  5. Select the Party Identification, Identity, Search, and UserEngagement events during data stream configuration.
  6. Deploy the data stream to your designated data space to trigger the creation of Data Lake Objects (DLOs).
  7. Map your Data Lake Objects (DLO) to the appropriate Data Model Objects (DMO) using the Starter Web and Mobile Connector Data Mappings.
  8. Map the specific engagement fields for userEngagement.engagementNotes to Engagement Notes and userEngagement.engagementNumber to Engagement
  9. To authorize the SDK URL, from Setup, in the Quick Find box, enter Trusted URLs, and then select Trusted URLs.
  10. Select New Trusted URL and enter your unique SDK URL found in your connector settings.
  11. In the CSP Directives section, select connect-src (scripts) and img-src (images), and save your changes as described in Manage Trusted URLs.
  12. To configure the Web SDK for Aura sites, from Setup, in the Quick Find box, enter Digital Experiences, and then select All Sites.
  13. Select Builder next to your Aura site, navigate to Settings, and select Advanced.
  14. 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>
    
  15. Navigate to Settings and select Security & Privacy in Experience Builder.
  16. Select a Security Level in Experience Builder Sites and set it to Relaxed CSP: Permit Access to Inline Scripts and Allowed Hosts.
  17. Connect Experience Cloud to Data Cloud for your LWR site. Add the native integration in Experience Builder settings.
  18. Paste the consent script into the Header Markup of your LWR site to initialize tracking.
 
Loading
Salesforce Help | Article