MCPcopy Create free account
hub / github.com/dailydotdev/apps / getStoredTcString

Function getStoredTcString

packages/shared/src/lib/tcf.ts:78–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76export const getTcfSnapshot = (): TcfConsent | undefined => snapshot;
77
78export const getStoredTcString = (): string | undefined =>
79 getCookies([TCF_COOKIE])?.[TCF_COOKIE] || undefined;
80
81/** Lets the API forward consent to the ad server on requests that call it. */
82export const getStoredConsentHeaders = (): Record<string, string> => {

Callers 2

IubendaFunction · 0.90
getStoredConsentHeadersFunction · 0.85

Calls 1

getCookiesFunction · 0.90

Tested by

no test coverage detected