Show Menu
TOPICS×

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 });