datastreamId
The datastreamId
property is a string that determines which datastream in Adobe Experience Platform you want to send data to. This property is required when sending data to Adobe. Web SDK versions 2.20.0 or earlier use edgeConfigId
instead.
To locate a datastream ID:
Alternatively, you can select the desired datastream name and the datastream ID appears in the right column for you to copy.
Choose from a list of available datastreams, or enter a datastream ID directly when configuring the tag extension.
You can send data to different datastreams for production, staging, and development tag environments.
Set the datastreamID
string property when running the configure
command. This property is required for all Web SDK implementations. If you omit this property, the Web SDK does not know which datastream to send data to, causing that data to be permanently lost.
alloy("configure", {
datastreamId: "ebebf826-a01f-4458-8cec-ef61de241c93",
orgId: "ADB3LETTERSANDNUMBERS@AdobeOrg",
});
If you configure multiple instances of the Web SDK on a single page, you must configure a different datastreamId
for each instance.