targetMigrationEnabled
The targetMigrationEnabled
property is a boolean that allows the Web SDK to read and write the mbox and mboxEdgeCluster cookies that the Adobe Target 1.x and 2.x libraries use. This option allows you to preserve the visitor profile between pages using previous Adobe Target implementations and pages using the Web SDK.
Enable Target migration from at.js using the Web SDK tag extension
Select the Migrate Target from at.js to the Web SDK checkbox when configuring the tag extension.
- Log in to experience.adobe.com using your Adobe ID credentials.
- Navigate to Data Collection > Tags.
- Select the desired tag property.
- Navigate to Extensions, then click Configure on the Adobe Experience Platform Web SDK card.
- Scroll down to the Personalization section, then select the checkbox Migrate Target from at.js to the Web SDK.
- Click Save, then publish your changes.
Enable Target migration from at.js using the Web SDK JavaScript library
Set the targetMigrationEnabled
boolean when running the configure
command. If you omit this property when configuring the Web SDK, it defaults to false
. Set this value to true
if you have some pages that still use the Adobe Target 1.x or 2.x libraries.
alloy("configure", {
datastreamId: "ebebf826-a01f-4458-8cec-ef61de241c93",
orgId: "ADB3LETTERSANDNUMBERS@AdobeOrg",
targetMigrationEnabled: true
});
recommendation-more-help
ad108910-6329-42f1-aa1d-5920a2b13636