idSyncAttachIframeOnWindowLoad idsyncattachiframeonwindowload

Indicateur booléen facultatif qui contrôle la manière dont le service d’identification des visiteurs charge l’iFrame de synchronisation des identifiants.

Syntaxe :  idSyncAttachIframeOnWindowLoad= true|false`` (la valeur par défaut est false).

Lorsque le service d’identification des visiteurs charge idSyncAttachIframeOnWindowLoad: true l’iFrame de synchronisation des identifiants au chargement de la fenêtre. Par défaut, le service d’identification des visiteurs charge l’iFrame de synchronisation des identifiants aussi vite que possible au lieu d’un chargement de fenêtre.

Exemple de code

var visitor = Visitor.getInstance ("INSERT-IMS-ORG-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 loads ID sync iFrame on window load instad of ASAP.
   idSyncAttachIframeOnWindowLoad: true
});
recommendation-more-help
id-service-help