Widget Cookie and Storage

Version 1.1 · Effective October 29, 2026 · THERCSGROUP PTE. LTD. (trading as SmartAlex, Singapore Reg. No. 202543608D)

What the Widget stores on a visitor's device, why, how long, and whether it needs consent. The Widget sets no cookies. It uses the browser's localStorage and sessionStorage on the page where the business installed it.

NameTypePurposeDurationConsent
smartalex_visitor_idlocalStorageRandom identifier so a returning visitor's conversation continuesUntil clearedFunctional, needed for the chat the visitor asked for
smartalex_widget_state (with the widget id after it)localStorageChat history and open state so a conversation survives page changes7 daysFunctional, needed for the chat the visitor asked for
smartalex:widget:<tenant id>:contextlocalStorageSummary and contact details the visitor gave, so a later visit is not asked againUntil clearedFunctional
smartalex:widget:consent:marketinglocalStorageRemembers the visitor's marketing choiceUntil changed or clearedStrictly necessary, it records the choice
smartalex_widget_attributionsessionStorageCampaign parameters and advertising click identifiers from the page addressBrowser sessionMarketing. Stored when present in the address, sent on only with marketing consent and never under Global Privacy Control
smartalex_dl_<event>sessionStorageMarks that an event was already sent to the business's tag manager once this sessionBrowser sessionMarketing, the event is sent only where the business's own tags allow
smartalex_widget_collapsed (with the widget id after it)sessionStorageRemembers the visitor shrank the widgetBrowser sessionStrictly necessary, the visitor's own control
smartalex_widget_hidden_pages (with the widget id after it)localStorageRemembers pages where the visitor hid the widget30 days per pageStrictly necessary, the visitor's own control

Strictly-necessary and functional storage is set without prior consent, as permitted by e-privacy rules, because it carries out what the visitor asked for. Marketing use of attribution data is deny-by-default and is blocked by the Global Privacy Control signal; withdrawing consent stops it being sent. The Widget sets no first-party cookie. The visitor "Your data" panel lets you clear this storage.