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.

  1. Log in to experience.adobe.com using your Adobe ID credentials.
  2. Navigate to Data Collection > Tags.
  3. Select the desired tag property.
  4. Navigate to Extensions, then click Configure on the Adobe Experience Platform Web SDK card.
  5. Scroll down to the Personalization section, then select the checkbox Migrate Target from at.js to the Web SDK.
  6. 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", {
  "edgeConfigId": "ebebf826-a01f-4458-8cec-ef61de241c93",
  "orgId": "ADB3LETTERSANDNUMBERS@AdobeOrg",
  "targetMigrationEnabled": true
});
recommendation-more-help
ad108910-6329-42f1-aa1d-5920a2b13636