Opt-out cookie

Opting out from LiveSession will put a cookie on your site that tells our script to be turned off.

There are two ways to do it:

  • Using script API

    You can opt-out your user by optOut function: __ls("optOut")

  • By clicking link

    You can provide a special link on your website for opting out from LiveSession. Add __ls_optout=1 to your website URL query-string parameters.

    It can look like this: www.your-site.com?__ls_optout=1

You can also disable LiveSession just for one session using method: __ls("off")