Expand my Community achievements bar.

Ask our product team on how to best grow your experimentation and personalization strategies with Target during our AMA on May 6th!

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

Employee Advisor

thanks a lot @Avinash_Gupta_,. this is helpful.

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