Conditions
Developers can create custom conditions to turn complex code into a user-friendly interface for marketers.
Marketers can apply a condition to an experiment or experience to show it to visitors based on real-time visitor behavior. For example, a condition can determine whether to run an experiment or experience based on the visitor's real-time geolocation or device. All a marketer has to do is select the condition and enter fields, eliminating the need to write or edit code, as shown here:
![Applying a condition](/_next/image?url=https%3A%2F%2Fresources.doc.sitecore.com%2Fassets%2Fimage%2Fuuid-e902e394-0daf-6c02-646e-c3c2f5e77013.png&w=1200&q=75)
Sitecore Personalize enables developers to create custom conditions using JavaScript. They can do this by copying an out-of-the box or custom condition and modifying its JavaScript, or creating it from scratch.
Sitecore Personalize also provides out-of-the-box conditions, as shown here:
![Conditions page showing out-of-the-box conditions.](/_next/image?url=https%3A%2F%2Fresources.doc.sitecore.com%2Fassets%2Fimage%2Fuuid-25ef0f37-3f21-045b-f4da-ac25be3718fb.png&w=3840&q=75)