Module "frontend-packages/cookie-consent-web-client/src/tcf/createModelFromCookie"
Functions
createTcfModelFromCookie
createTcfModelFromCookie( tcf: Tcf , tcfMetadata: TcfMetadata , cookieName: string ) : { gvl: GVL ; model: TCModel ; tcfString: string ; tcfStringForVendors: string }
Defined in builds/devowlio/devowl-wp/frontend-packages/cookie-consent-web-client/src/tcf/createModelFromCookie.tsx:10
Parameters
Returns { gvl: GVL ; model: TCModel ; tcfString: string ; tcfStringForVendors: string }
gvl: GVL
model: TCModel
tcfString: string
tcfStringForVendors: string
Legend
Namespace
Object literal
Variable
Function
Function with type parameter
Type alias
Type alias with type parameter
Get the current TCF string stored in our first party cookie and return a valid GVL instance and TCModel. It returns
undefined
if no TCF string is currently present.