edgeDomain
The edgeDomain
property allows you to change the domain where the Web SDK sends data. This property is frequently used by organizations using first party cookies. Data is sent to the organization’s own domain, then a CNAME record forwards that data to Adobe.
Your organization determines the correct value for this property when setting up first party cookies. An organization typically uses a dedicated subdomain for this purpose. For example, if you use the domain example.com
, you can set up first party cookies on data.example.com
.
Set the Edge domain text field when configuring the tag extension.
Set the edgeDomain
string when running the configure
command. If you omit this property when configuring the SDK, it defaults to edge.adobedc.net
. Set this value if you would like to override the domain that the Web SDK sends data to.
alloy("configure", {
datastreamId: "ebebf826-a01f-4458-8cec-ef61de241c93",
orgId: "ADB3LETTERSANDNUMBERS@AdobeOrg",
edgeDomain: "data.example.com"
});