Skip to main content
All CollectionsFAQ ❓️❓️Widget and Cookies
What is the duration of a consent ?

What is the duration of a consent ?

M
Written by Manon Manso
Updated over 2 months ago

Consent remains valid for 6 months.

It is possible to change this length of time by adding a userCookiesDuration property to the axeptioSettings object in our script.

For example :

window.axeptioSettings = {
clientId: "XXXXXXXXX",
userCookiesDuration: 180 // Value in days, here 180 days or approximately 6 months
}

✅ Detailed information about using the axeptioSettings object is included in the SDK Integration/Options and Advanced Mode developer documentation.

Did this answer your question?