How to set Analytics cookie to secure flag | Community
Skip to main content
pradeep_07
Level 4
January 6, 2021
Solved

How to set Analytics cookie to secure flag

  • January 6, 2021
  • 1 reply
  • 2490 views

Hi,

 

We have an issue where Analytics cookies are not flagged as secure. Especially AMCV and AMCVS cookies. How can we flag this to secure and justify business that this cookies are safe.

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Brian_Johnson_

@pradeep_07 - Try this:

var visitor = Visitor.getInstance("INSERT-MARKETING-CLOUD-ID-HERE",{ ... ... secureCookie: true //Set secure cookie property });

https://experienceleague.adobe.com/docs/id-service/using/id-service-api/configurations/securecookie.html?lang=en#id-service-api

1 reply

Brian_Johnson_
Brian_Johnson_Accepted solution
Level 8
January 6, 2021

@pradeep_07 - Try this:

var visitor = Visitor.getInstance("INSERT-MARKETING-CLOUD-ID-HERE",{ ... ... secureCookie: true //Set secure cookie property });

https://experienceleague.adobe.com/docs/id-service/using/id-service-api/configurations/securecookie.html?lang=en#id-service-api

pradeep_07
Level 4
January 12, 2021
@brian_johnson_- This should be called in the S-code?