Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit is happening now. Discover what's next in customer experience.

Cookie consent through AEP Web SDK


Level 1

Hi All, I am trying to implement cookie consent through AEP web SDK extension but not able to reach the goal. My goal is if any user comes to website he/she should if allow the cookies only then adobe launch script will load if reject cookie the script will not load, and if user doesn't select any of these options and still adobe launch script doesn't load.

I tried to achieve this in analytics extension where I created data element which capture cookie name and then within analytics extension I am aborting the script if user reject the cookie.

But how do I implement with the help of AEP web SDK extension.

Thank you...

3 Replies


Level 1
Can I expect no one have gone through this use case ?


Community Advisor

Hi @ishan2488 

To implement cookie consent through adobe launch extension - Firstly Cookies need to be grouped into categories depending on what they do and how critical they are to enable the site to work as expected.  CMP (consent management platform) can help you at this stage. 


The Adobe Opt in service provides a method to integrate with CMP to set / retrieve user permissions and deploy solutions accordingly.  You can refer information about opt in service at this link Setting up Opt-in Service | Adobe Experience Cloud Services  


Adobe optin workflow. 

adobe.optIn.approve(['AAM', 'ECID'], true); 
adobe.optIn.deny(['ANALYTICS'], true);