Cookies function to set the number of views has been enabled