Enable third-party cookies using the Web SDK JavaScript library

Set the thirdPartyCookiesEnabled boolean when running the configure command. If you omit this property when configuring the Web SDK, it defaults to true. Set this value to false if you do not want the Web SDK to use Audience Manager to help identify visitors.

alloy("configure", {
  datastreamId: "ebebf826-a01f-4458-8cec-ef61de241c93",
  orgId: "ADB3LETTERSANDNUMBERS@AdobeOrg",
  thirdPartyCookiesEnabled: false
});
Previous pagetargetMigrationEnabled
Next pageOverview

Data Collection