Expand my Community achievements bar.

- ADOBE TARGET CUSTOMER INTERVIEWS - Share your feedback and help influence the future product roadmap for Adobe Target!
SOLVED

Set AMCV cookie as httpOnly cookie

Avatar

Employee Advisor

Hey Community,

Is there any way to set AMCV cookie as httpOnly cookie? 

Gaureshk_Kodag_0-1669639139913.png

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Gaureshk_Kodag You can make the AMCV cookie secure by adding the below snippet of code

 

var visitor = Visitor.getInstance("INSERT-MARKETING-CLOUD-ID-HERE",{

        //Set secure cookie property
        secureCookie: true
 });

 

Refer to this article that discuss about how you can make the entire cookies generated by Adobe Secure and httpOnly.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/secure-cookies-httponly-s... 

 

Hope this helps.

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @Gaureshk_Kodag You can make the AMCV cookie secure by adding the below snippet of code

 

var visitor = Visitor.getInstance("INSERT-MARKETING-CLOUD-ID-HERE",{

        //Set secure cookie property
        secureCookie: true
 });

 

Refer to this article that discuss about how you can make the entire cookies generated by Adobe Secure and httpOnly.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/secure-cookies-httponly-s... 

 

Hope this helps.

Avatar

Community Advisor

additional information: If you use Adobe Launch for the configuration, just add the secure in the extension settings: https://experienceleague.adobe.com/docs/experience-platform/tags/extensions/client/id-service/overvi...

Urs_Boller_0-1669715347966.png