+ Start a Discussion
Prit Kang 8Prit Kang 8 

Salesforce community disable “functional” cookies

I am working on an implementation of salesforce community (of type visualforce page and custom tab). To comply with GDPR guidelines i need to build a cookie consent mechanism.

Now salesforce community cloud itself sets multiple cookies in the user's browser. Most of these are required but some are functional. The following url show the details of cookies used


I want to know that is there any API provided by salesforce to control the functional cookies so that they are not set in the user's browser, or any other way to avoid these cookies.

Thanks in advance

AbhishekAbhishek (Salesforce Developers) 

I have checked internally however could not find any documentation regarding how we can block functional cookies using code nor there is any configuration available to enable or disable functional cookies hence there is no way you can disable functional cookies on your custom site.

Community Cloud Cookies: https://help.salesforce.com/articleView?id=000351913&type=1&mode=1

For example, if you go through the following link


and click on cookies preferences, you will be able to get an option to disable functional cookies however here the website is using 'Cookie Consent Manager' to disable functional cookies which are not provided by Salesforce and are from an external vendor.


I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.

Salesforce Support.
maninder singh 50maninder singh 50
You can checkout Experience Cloud Cookie Consent (https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000G11jcUAB" target="_blank) Salesforce Lab solution if this helps