Skip to main content

đŸĒ Cookies

Tags: JavaScript, React, Vue, Angular, Website, Web App

If you want Gleap to use cookies for the session management, you can enable the feature by setting useCookies to true before calling Gleap.initialize().

Gleap.setUseCookies(true);

The default value is false.

info

You MUST set useCookies to false OR true before initializing the Gleap SDK.

Why do we use cookies?​

As many customers want to keep a session throughout all subdomains, we use cookies to enable session tracking through all subdomains. If you disable the cookie session management, you will need to identify your users on all subdomains separately.