I am looking to add an interceptor to allow/disallow the creation of any cookies on the AEM website.
Problem statement:
I have the website running on AEM and one third-party script is loaded and creates some cookies. Now, I don't want some cookies to be created under some business cases. Also, third-party scripts won't be able to accommodate it as the conditions are on the AEM website.
If there are any recommendations, please share! Thanks a lot for looking into my query!