Show Menu
主题×

idSyncAttachIframeOnWindowLoad

可控制 Experience Cloud Identity 服务如何加载 ID 同步 iFrame 的可选布尔标记。
语法:
idSyncAttachIframeOnWindowLoad= true|false``(默认值为
false
。)
idSyncAttachIframeOnWindowLoad: true
时,ID 服务在窗口加载上加载 ID 同步 iFrame。默认情况下,ID 服务将尽快加载 ID 同步 iFrame,而不是在加载窗口时加载。
代码示例
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 });