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.
@ishan2488 Have you tried opt-in service API? Below are some useful links:
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); adobe.optIn.complete();