Personalization

Displaying Personalization diagnostic messages

End-of-Sale notice!

Acquia announces the end-of-sale for Acquia Personalization effective July 1, 2024. Customers with active service contracts will continue to receive support. If you are interested in experimentation and optimization, contact Acquia Sales Team to get information about Acquia Convert powered by VWO.

You are seamlessly integrating personalized content into your website, and it can be difficult to determine where errors and issues may be occurring. Is it a theming issue with your website, or is Personalization not serving the content that you expect?

To provide more insight into how Personalization Drupal is working with your website, you can enable debug mode and view status and error messages from Personalization in your browser’s console window.

Enabling debug mode

To enable debug mode for Personalization Drupal:

  1. Sign in to your website as a user with the permission to administer the personalization settings.
  2. In the admin menu, go to Configuration > Personalization Settings, and then click the General tab.
  3. Select the Debug mode checkbox.
  4. Click Save configuration.

Personalization debug messages will now start to appear in the browser console of users configured to receive the messages.

Viewing messages in the browser console

By default, user accounts with the blank website permission can view Personalization status messages in their browser console.

For more information about how to start the developer tools for your browser, which includes the console for webpage status messages, see browser developer tools.

Viewing messages for non-administrators

If you want to view status messages for users who are not administrators (including anonymous website visitors who have not signed in), you can enable a browser cookie that enables the display of debug messages for the browser.

Create a local cookie for the user called personalizeDebugMode with a value of 1. After you save the cookie and reload the webpage, Personalization status messages should appear in the browser’s console.

Diagnostic message listing

OK messages

CodeMessageDescription
2000Decision being requested from the agentThe personalization code requested a personalized variation from the decision engine, which includes Personalization.
2001Decision being read from storage (cached decision)The personalization code requested a personalized variation previously stored in the browser cache.
2002Showing pre-selected option (option preview or shareable option)The personalization code requested a personalized variation based on a defined URL, which occurs when administrators select a variation for preview, or if website visitors view a particular variation from a shared link. To enable or disable shareable personalized variations for a personalization, edit the personalization, select the variation set, and then in the Advanced section, either select or clear the Shareable checkbox, respectively.
2003Showing fallback option (either due to admin mode or the campaign not active)The personalization code requested the default, fallback variation for the variation set.
2004Executor being called for decisionThe personalization engine displayed the requested personalized variation.

WARNING messages

CodeMessageDescription
3001Client-side goal registered to page but there’s no element matchingThe personalization code encountered a goal that does not match any of the displayed webpage’s elements.
3002Option set on the page with selector that does not match any DOM elementThe personalization code encountered a variation that does not match any of the elements in the webpage’s document object model (DOM).

ERROR messages

CodeMessageDescription
5100Problem getting a decision from PersonalizationYour website could not connect to Personalization. Go to Configuration > Personalization settings > Personalization, and then click Test connection to Personalization to test your connection. The personalization code instead requested the default, fallback variation for the variation set.

Acquia Help

Filter by product:

Personalization common questions

If you can't find what you're looking for, try refining your search or contact our Support teamfor further assistance.