Show Menu


Required for multi-part, top-level domains where either of the last two parts of the URL are greater than 2 characters.
Syntax: cookieDomain: " * URL *" (The www prefix is not required.)
Use Case
  • Required:
  • Not required:
Code Sample
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