Manage Data in LWR Sites

Use this guide to understand how visitor engagement from your LWR sites can be sent to Data Cloud and how you can best tailor our tools to your specific needs. Data is a powerful tool in the world of site management and analytics. Understanding how your users interact with your sites helps you build detailed user profiles, create enhanced analytics, and personalize your site for the best user experience.

If you’re unfamiliar with Data Cloud, take some time to explore Data Cloud Help.

The Experience Cloud integration with Data Cloud automatically performs most of the setup needed for you to get started. Before you get started, perform the tasks described in Connect Data Cloud to Your LWR Sites in Salesforce Help.

A data layer contains all the information captured when a user interacts with your website. The data layer is embedded as JSON in the HTML of your website. It provides a central location for user data so it can be sent to other applications and processed. The Experience Data Layer contains information about the page, the user, and behavioral data from your Experience Cloud sites. All of that data provides valuable information about how your customers interact with your site and can be sent along to other apps like Data Cloud and Google Analytics, or power products like Marketing Cloud.

Use the Experience Data Layer Object Lightning web component to populate the data layer.

  • Confirm That Your Data Streams Are Active

    If you connect your Experience Cloud site to Data Cloud, the connection and data streams are automatically installed in the data space that you selected during setup. Confirm that streams from your Experience Cloud connector are active.

  • Capture and Integrate Engagement Data

    Experience Tag Manager is a JavaScript library that captures user-interaction events from the Experience Cloud data layer and combines them with site data to generate web events. These events are sent to other applications, such as Data Cloud or Google Analytics. Tag Manager is installed automatically when you connect your enhanced LWR sites to Data Cloud with the built-in Data Cloud integration. You can then use information you gather with Tag Manager to build behavior profiles for web visitors, audience segmentation, site personalization, or Salesforce integrations.

  • Tag Manager Event Reference

    This guide includes the event specifications for Experience Tag Manager. Use the examples and reference to understand the structure of Experience Cloud interaction events that are mapped to the Website Engagement DMO in Data Cloud.