idSyncAttachIframeOnWindowLoad idsyncattachiframeonwindowload

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

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

Si idSyncAttachIframeOnWindowLoad: true, le service d’ID charge l’iFrame de synchronisation des identifiants au chargement de la fenêtre. Par défaut, le service d’ID charge l’iFrame de synchronisation des ID aussi rapidement que possible au lieu de charger la fenêtre.

Exemple de code

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 loads ID sync iFrame on window load instad of ASAP.
   idSyncAttachIframeOnWindowLoad: true
});
recommendation-more-help
9c9e8ca9-9f7e-42c9-a5d5-a0d82776362a