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

<table><thead><tr><th>

Constructor

</th><th>

Modifiers

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

(constructor)({ serverCookieValue, cookieName, cookieAttributes, })

</td><td>

</td><td>

Constructs a new instance of the CookieTransitionDataStore class

</td></tr> </tbody></table>

Methods

<table><thead><tr><th>

Method

</th><th>

Modifiers

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

handleDelete()

</td><td>

</td><td>

</td></tr> <tr><td>

handleUpdateData(_, computedValue)

</td><td>

</td><td>

</td></tr> </tbody></table>