Home > @uniformdev/context > CookieTransitionDataStore

CookieTransitionDataStore class

Handles client-to-server score handoff using an encoded cookie with the visitor score vector. NOTE: forget me is not supported when on the server side.

Signature:

Extends: TransitionDataStore

Constructors

Constructor

Modifiers

Description

(constructor)({ serverCookieValue, experimental_quirksEnabled, quirkCookieValue, quirkCookieName, cookieName, cookieAttributes, maxBytes, onLogMessage, }, input)

Constructs a new instance of the CookieTransitionDataStore class

Properties

Property

Modifiers

Type

Description

onLogMessage

((message: LogMessage) => void) | undefined

Where the store's log messages go. See .

Methods

Method

Modifiers

Description

handleDelete()

handleUpdateData(_, computedValue)