Prehiding style using the Web SDK JavaScript library

Set the prehidingStyle string when running the configure command. If you omit this property when configuring the Web SDK, nothing is hidden when running the first sendEvent command on a page. Set this value to the desired CSS selector and declaration block for synchronously loaded libraries.

alloy("configure", {
  datastreamId: "ebebf826-a01f-4458-8cec-ef61de241c93",
  orgId: "ADB3LETTERSANDNUMBERS@AdobeOrg",
  prehidingStyle: "#container { opacity: 0 !important }"
});
Next pagetargetMigrationEnabled

Data Collection