disableCookies
The disableCookies() method disables the setting of the visitor cookie (_pk_id.*
) and the session cookie ( _pk_ses.*
), which are responsible for recognizing visitors and their sessions. The existing cookies are deleted.
Syntax
disableCookies()
disableCookies(): void
disableCookies(): void
disableCookies(): void
disableCookies(): void
disableCookies(): void
disableCookies(): void
Examples
_paq.push(["disableCookies"]);
disableCookies(): void
disableCookies(): void
disableCookies(): void
disableCookies(): void
disableCookies(): void
disableCookies(): void
Related methods
- enableCookies()
- deleteCookies()
- hasCookies()
- setCookieNamePrefix()
- setCookieDomain()
- getCookieDomain()
- setCookiePath()
- getCookiePath()
- setSecureCookie()
- setVisitorCookieTimeout()
- getConfigVisitorCookieTimeout()
- setReferralCookieTimeout()
- setSessionCookieTimeout()
- getSessionCookieTimeout()
- setVisitorIdCookie()
Updated 6 days ago