Documentation

Crisp

Last updated May 11, 2026

Crisp adds the Crisp live chat widget and exposes the $crisp queue for chatbox actions such as opening the chat, setting user details, and resetting sessions.

Official Crisp documentation

Integrate with c15t

How c15t loads it

  • Category: functionality (Functional)
  • Loads when: functionality consent is granted
  • Before load: c15t seeds window.$crisp, CRISP_WEBSITE_ID, and any optional Crisp runtime globals
  • On revocation: c15t follows the default script loader behavior for non-persistent scripts

Configure the integration

The helper seeds Crisp's documented globals before loading https://client.crisp.chat/l.js.

locale and sessionMerge are written to CRISP_RUNTIME_CONFIG. cookieDomain maps to CRISP_COOKIE_DOMAIN, cookieExpiry maps to CRISP_COOKIE_EXPIRE, and tokenId maps to CRISP_TOKEN_ID. safeMode queues ['safe', true] on window.$crisp before the loader runs so Crisp starts in safe mode.

For session continuity, generate tokenId on your backend with a secure random value. Do not use emails, hashes of emails, timestamps, or incrementing IDs as Crisp session tokens. If you verify user emails, generate the HMAC signature on your backend and set it with Crisp's $crisp API after the helper loads.

Types

CrispOptions

Loading…

Script

Loading…