idSyncAttachIframeOnWindowLoad idsyncattachiframeonwindowload

Un indicador booleano opcional que controla cómo carga el servicio de ID de visitante el iFrame de sincronización de ID.

Sintaxis:  idSyncAttachIframeOnWindowLoad= true false`` (el valor predeterminado es false).

Cuando idSyncAttachIframeOnWindowLoad: true, el servicio de ID de visitante carga el iFrame de sincronización de ID en la ventana de carga. De forma predeterminada, el servicio de ID de visitante carga el iFrame de sincronización con el ID lo más rápido posible en lugar de al cargar la ventana.

Ejemplo de código

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