idSyncAttachIframeOnWindowLoad idsyncattachiframeonwindowload

Um sinalizador booleano opcional que controla como o serviço de ID do visitante carrega o iFrame de sincronização de ID.

Sintaxe:  idSyncAttachIframeOnWindowLoad= true false`` (o padrão é false.)

Quando idSyncAttachIframeOnWindowLoad: true o Serviço de ID do visitante carrega o iFrame de sincronização de ID no carregamento da janela. Por padrão, o Serviço de ID do visitante carrega o iFrame de sincronização de ID o mais rápido possível, em vez de carregar na janela.

Amostra 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