menu

SFRA / Server-side JS / Namespace: ConsentTracking

ConsentTracking

Methods

(static) Base/ConsentTracking-Check()

ConsentTracking-Check : This endpoint is called every time a storefront page is rendered

Parameters:
Type Description
middleware

consentTracking.consent

category

sensitive

renders

isml

serverfunction

get

Source:

(static) Base/ConsentTracking-GetContent()

ConsentTracking-GetContent : This endpoint is called to load the consent tracking content

Parameters:
Type Description
querystringparameter

cid - The value of this is a string. This is the internal ID of the content asset used for consent message

category

sensitive

renders

isml

serverfunction

get

Source:

(static) Base/ConsentTracking-SetSession()

ConsentTracking-SetSession : This endpoint is called when the shopper agrees/disagrees to tracking consent

Parameters:
Type Description
querystringparameter

consent - The value of this is a boolean. If the boolean value is true, tracking is enabled for the current session; if false, tracking is disabled

category

sensitive

returns

json

serverfunction

get

Source:

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.