Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/cookie-consent-web-client/src/tcf/createModelFromCookie"

Index

Functions

createTcfModelFromCookie

  • createTcfModelFromCookie(tcf: Tcf, tcfMetadata: TcfMetadata, cookieName: string): { gvl: GVL; model: TCModel; tcfString: string; tcfStringForVendors: string }
  • 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.

    Parameters

    Returns { gvl: GVL; model: TCModel; tcfString: string; tcfStringForVendors: string }

    • gvl: GVL
    • model: TCModel
    • tcfString: string
    • tcfStringForVendors: string

Generated using TypeDoc