cookieLifetime cookielifetime

Essa variável permite que você substitua o intervalo padrão do cookie AMCV.

Por padrão, os cookies do serviço da Experience Cloud ID expiram após 24 meses. Defina o intervalo em segundos.

Sintaxe: cookieLifetime: *duração em segundos*

Amostra de código

var visitor = Visitor.getInstance ("Insert Experience Cloud organization ID here",{
   trackingServer: "Insert tracking server here here",  //Same as s.trackingServer
   trackingServerSecure: "Insert secure tracking server here",  //Same as s.trackingServerSecure

   //For CNAME support only. Exclude these variables if you're not using CNAME
   marketingCloudServer: "Insert tracking server here",
   marketingCloudServerSecure: "Insert secure tracking server here",

   //Function variable. Example changes expiration period to 12-months.
   cookieLifetime:31536000
});
recommendation-more-help
9c9e8ca9-9f7e-42c9-a5d5-a0d82776362a