Skip to main content
Users
CloudPortalLogin
  • Powered byPowered by
Introduction to Sitecore Personalize
Managing accounts and system settings
Identifying guests
Introduction to experiments
Introduction to experiences
Decisioning
View dashboards
Developer Center
Connecting to an external system
Using client-side JavaScript
Using server-side JavaScript
AI in Personalize
Glossary
  • Sitecore Personalize
  • Introduction to decisioning in Sitecore Personalize
  • Managing programmable decisions
  • Use custom fields in programmable decisions

Use custom fields in programmable decisions

There are some situations where you might want to leverage a custom field in your programmable decision logic. For example, you might want to retrieve the logged in state of the site visitor. To do this, create a custom field called loggedInState.

Use the following syntax in the JavaScript of the programmable decision: request.params.customField

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2026 Sitecore