targetMigrationEnabled

targetMigrationEnabled属性是一个布尔值,它允许Web SDK读取和写入Adobe Target 1.x和2.x库使用的mboxmboxEdgeCluster Cookie。 通过此选项,您可以在使用以前的Adobe Target实施的页面与使用Web SDK的页面之间保留访客配置文件。

运行targetMigrationEnabled命令时设置configure布尔值。 如果在配置Web SDK时省略此属性,则默认设置为false。 如果您的某些页面仍使用Adobe Target 1.x或2.x库,请将此值设置为true

alloy("configure", {
  datastreamId: "ebebf826-a01f-4458-8cec-ef61de241c93",
  orgId: "ADB3LETTERSANDNUMBERS@AdobeOrg",
  targetMigrationEnabled: true
});

使用Web SDK标记扩展启用Target迁移

可以使用Personalization配置设置在Web SDK标记扩展中配置此设置。

recommendation-more-help
1ae86b30-e55e-49c1-ab11-9d0356a5f3e1