Talk to a sales representative

+1 844-822-8378

Write to us

How to change the cookie duration of a test?

Posted in Technical Integration on

The default duration of the cookie is 100 days. You can change this duration if you want by using the following code:

<script type='text/javascript'>
    _vis_opt_cookieDays = 1;

This code will make sure the cookie will last for one day only. You can change the value from 1 to the number of days you want the cookie to sustain.