Hi All,
I have configured the
Website Connector in Data Cloud and created the Webpage Embed Code. This generated the required beacon code, which I added to the developer website immediately below the <head> tag.
Following the configuration, two data streams were automatically created:
- Website Behavioral Events
- Website Profile Events
However, the data streams are currently not refreshing, and the website activity is not being captured. Even when a user visits the website, I am unable to see the corresponding records being ingested into the data streams.
I have included the embed/beacon code below for your reference:
<script src="https://cdn.c360a.salesforce.com/beacon/c360a/e5adb394-0b5c-4a4e-a1e9-72bfbb4c328a/scripts/c360a.min.js?wtcp_id=1NDWK000000Fu9x4AC"></script>
<script>
const consent = {
provider: "Salesforce Marketing Cloud",
purpose: "Tracking",
status: "Opt In"
};
SalesforceInteractions.init({
consents: [consent],
}).then(() => {
SalesforceInteractions.initSitemap({ pageTypes: [] });
});
</script>
Resources I have followed the below article for this website tracking:
https://medium.com/@marketingcloudtips/marketing-cloud-on-core-tracking-external-websites-without-a-consent-banner-467326874412
Hey Swetha,
Per Salesforce's own developer blog, consent should be your first suspect, "without a recorded opt-in for the relevant purpose, the SDK will suppress downstream event tracking, which looks identical to a broken sitemap or schema. Always validate that consent is firing before you start debugging anything else." Your consent block looks correctly structured, but confirm in browser DevTools > Application > Cookies that the consent cookie is actually getting set after page load, not just that the script ran without errors.
Second likely issue: your initSitemap call has an empty pageTypes array: `SalesforceInteractions.initSitemap({ pageTypes: [] })`. Per Salesforce's Interactions SDK docs, the sitemap needs at least one page type configuration to actually match and dispatch events, an empty array means there's nothing for the sitemap to match against, so events likely aren't being triggered at all even though the SDK itself initializes fine.
Debugging steps directly from Salesforce's own guide:
1. Enable debug logging (there should be a way to set a debug log level in the SDK init options)
2. Look for the [DEBUG]: Sent event and [DEBUG]: Sending events console messages, if these never appear, the event is never being generated client-side (points to consent or sitemap config)
3. Also listen for the OnPageMatchStatusUpdated custom event, this shows exactly how the sitemap's page-type matching evaluated, useful specifically because you have an empty pageTypes array
Given your embed code matches the Medium article closely, but that article was written for a CloudPages/Marketing Cloud context, if you're implementing this on an external developer website (not a CloudPages-hosted page), double check the wtcp_id and connector match exactly what Data Cloud generated for you, a mismatch there would also cause silent non-tracking.
Reference:
https://developer.salesforce.com/blogs/2026/06/understanding-the-data-360-web-sdk