How to restrict AMCV and AMCVs cookies to be created | Community
Skip to main content
RitendraS11
Level 4
September 9, 2022
Question

How to restrict AMCV and AMCVs cookies to be created

  • September 9, 2022
  • 1 reply
  • 883 views

Hi All,

 

While implementing Opt-in for one website, I need to send data to the server in both cases.

Case 1: Opt-in -> All tags to be sent to the server

Case 2: Not Opt-In -> Mandatory tags to be sent to the server

 

I am trying to manage it by allowing Adobe.OptIn.Allow in both the cases with CookieLifetime set to DEFAULT in case of Opt-In and CookieLifetime set to NONE in case of Not Opted-In.

 

In Case 2, the AMCV and AMCVs cookies are getting created and I can see the visitor ID is also getting created (Visitor.getInstance("<ORG_ID>").getMarketingCloudVisitorID()). I don't want the AMCV and AMCVs cookies to be created in this case and the Visitor ID should be empty. Is it possible to do that? OR any other pointers there?

 

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

1 reply

yuhuisg
Community Advisor
Community Advisor
September 12, 2022

I believe that the cookies will always get set, regardless of the opt-in setting. You can check with Client Care for more information about this.