To enable real-time behavioral tracking and provide the IndividualId
context for personalized agent conversations, create a Data 360 web connector. The web connector
captures customer engagement events and sends them to Data 360, where they enrich customer
profiles for improved personalization.
Required Editions
User Permissions Needed
To set up a web or mobile app connection:
Data Cloud Architect
Connect your website to Data 360 using a connector.
A sitemap is a JavaScript file that defines the logic to capture data across different
pages of your website. It's used by the SDK to collect interaction data and share it
with Data 360.
// Set local session variable with constants needed to power the Adaptive Web
// Agent Component (AWAC)
if (window.sessionStorage.getItem("SEARCH_COMPONENT_WEB_STORAGE_00D1Q000001fdJS") == null) {
window.sessionStorage.setItem(
"SEARCH_COMPONENT_WEB_STORAGE_00D1Q000001fdJS",
JSON.stringify({
ORGANIZATION_ID: "00D1Q000001fdJS",
MESSAGING_URL: "https://pspdemo.my.salesforce-scrt.com",
DEPLOYMENT_DEVELOPER_NAME: "Web_Curation_Custom_Channel"
})
)
}
// This function must be generated from the Adaptive Web Agent Component (AWAC)
// Library and added to the sitemap
window.addSearchComponentToPage()
// YOU MUST ADD THIS SECTION FROM AWAC REPO
function addSearchComponentToPage() {
// LIBRARY COMPILED CODE GOES HERE
}
This JavaScript connects Data 360 behavioral tracking, your website's session storage,
and the Adaptive Web Agent Component (AWAC) so that the agent can conduct meaningful
conversations using real-time customer context and product data.
Note The sessionStorage key includes the OrgId (for example,
SEARCH_COMPONENT_WEB_STORAGE_00D1Q000001fdJS). If you ever change the
JSON configuration values, you must update the key.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.