cookieDomain cookiedomain

Necessário para domínios de alto nível e com muitas partes, em que qualquer uma das duas últimas partes do URL é maior do que dois caracteres.

Sintaxe: cookieDomain: " *URL*" (O www prefixo não é necessário.)

Caso de uso

  • Obrigatório: www.example.com.uk
  • Não obrigatório: www.example.co.uk

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
   cookieDomain:"example.com.uk"
});
recommendation-more-help
9c9e8ca9-9f7e-42c9-a5d5-a0d82776362a