This article provides troubleshooting steps for issues where events from your website are not being captured in Marketing Cloud Personalization. We will cover common causes related to the Salesforce Interactions SDK (JavaScript beacon) implementation and provide resolution steps you can follow.
Note: In this article, the JavaScript code registered in the Personalization UI under Web > WEB SETUP > Site-Wide JavaScript is referred to as the Sitemap.
First, the troubleshooting steps are divided based on whether or not the target Dataset has ever successfully received events.
There may be a problem with the Personalization implementation itself (such as the beacon placement or Sitemap code) or your website's environment. Please check the following points.
Verify the Salesforce Interactions SDK Implementation
<head> tag. (See: Web Integration Considerations)
Test in a Simple Environment
Test with a Minimal Sitemap Implementation
console.log() to check variable values, or commenting out parts of the code) rather than trying to fix everything at once.pageType: The intended pageType is not being set. (You can check the current pageType using the SDK Launcher's Visual Editor. See: Sitemap Event Validation)isMatch condition: The conditional logic in the isMatch function (used to identify the page) is incorrect.Check Browser Developer Tools
If event capture was working in the past, a recent change to your website or Sitemap is likely the cause. Check the following based on recent changes.
2-1. If the website was modified
There may be a mismatch between the website modifications and the Sitemap configuration.
pageType detection) may fail.You must adjust the Sitemap to match the website modifications.
2-2. If the Sitemap (Site-Wide JavaScript) was modified
The recent Sitemap modification may contain the error.
2-3. If neither the website nor Sitemap was modified
This may be caused by a Personalization platform issue or an external factor.
If the issue persists after checking all the above, please log a support case with the following information:
[Basic Information]
[Issue Details]
[Troubleshooting Information]
[Change History]
005131496

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 are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security 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 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.