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 Target Community Q&A Coffee Break: On Wednesday, February 1 at 8am PT, Brent Kostak of the Adobe Target Product team will be joining us to answer your Target questions. To register and for more information, follow the link to the right.
SOLVED

Set AMCV cookie as httpOnly cookie

Avatar

Level 10

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
Level 9

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
Level 9

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.