Most variants also must pass server-side guest data to your organization's website, for example, the guest's first name, location, loyalty number, and so on. To facilitate this, you must configure the API response to include the dynamic data so that when the variant executes, the data is requested from the server and then passed to the variant.
The experiment can call server-side data such as guest attributes, and use it in the CSJS. This can include a full history of the guest as well as a continuous stream of real-time session data.
In the Experiment variants tile, click the Edit icon next to the variant you want to configure.
If there is a guest whose data you often use when configuring or testing code, click the star icon to bookmark the guest so you no longer have to search for them.
Click to close the code editor.
You must also include the dynamic data when you compose the API request. This ensures that when the experiment executes, the server requests the dynamic data and passes it to the variant.