VWO uses both persistent visitor-level and local storage cookies to identify all users, understand their behavior, and track user journey on the website to deliver the best user experience. The cookies track the variation a user views and help serve the same variation to the user consistently, track goals completed by the user, and determine whether the user is part of a campaign.
VWO uses different cookies, each storing a different set of data. The cookies do not interfere with the loading or functioning of the page at all.
Cookies Used By VWO to Collect Visitor Data When No Test Running on the Page
|_vis_opt_test_cookie||This is a session (temporary) cookie generated to detect if the cookies are enabled on the browser of the user or not.|
|_vis_opt_s||This cookie detects if the user is new or returning to a particular campaign.|
|_vis_opt_out||This cookie indicates that the visitor is not a part of the campaign. This cookie is valid for 10 years.|
Cookies Used By VWO to Track Visitor-specific Information and Test Data
|_vis_opt_exp_EXPERIMENT_ID_goal_GOAL_ID||This cookie is generated when a goal is made.|
|_vis_opt_exp_EXPERIMENT_ID_combi||This cookie is generated when users reach a particular combination. This makes sure that users see the same variation that they saw earlier when they visited the page.|
|_vis_opt_exp_EXPERIMENT_ID_exclude||This cookie is generated when a user is excluded from a campaign.|
|_vis_opt_exp_EXPERIMENT_ID_split||This cookie is generated during a Split URL test.|
|EXPERIMENT_ID||This refers to the ID of the campaign, and GOAL ID refers to the ID of the goal.|
This cookie generates a unique ID for every visitor and is used for the report segmentation feature in VWO. Also, this cookie allows you to view data in a more refined manner. If you have the campaign running on multiple domains, you will notice campaign-specific UUID values.
Note: In this _vis_opt_exp_EXPERIMENT_ID_combi cookie, the Control always has the value of 1, Variation #1 always has the value of 2, Variation #2 has the value of 3, and so on. Note that all the cookies except the _vis_opt_test_cookie and _vis_opt_out expire in 100 days.
Modifying the Cookie Duration
_vis_opt_cookieDays = 1;
In this example, the cookie will last for a day only. Change the value from 1 to the number of days you want the cookie to be stored. Once the cookies are created, the duration cannot be altered.