-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
We also have a ticket open with Adobe for this issue #E-000984379
Expected Behaviour
Adobe Target data to return in propositions?
Actual Behaviour
No target data being returned
Reproduce Scenario (including but not limited to)
import React, { useEffect } from "react";
const AbTesting = ({ children }) => {
useEffect(() => {
initAdobeSDK();
return () => {};
}, []);
return children;
};
export default AbTesting;
const initAdobeSDK = () => {
import("@adobe/alloy").then((alloy) => {
const instance = alloy.createInstance({ name: "alloy" });
instance("configure", {
edgeConfigId: "xxxx-xxx-xxx-xxx",
orgId: "xxxxxx@AdobeOrg",
});
instance("sendEvent", {
renderDecisions: true,
xdm: {
commerce: {
order: {
purchaseID: "a8g784hjq1mnp3",
purchaseOrderNumber: "VAU3123",
currencyCode: "USD",
priceTotal: 999.98,
},
},
},
})
.then(function (result) {})
.catch(function (error) {});
});
};Steps to Reproduce
- Create a Datastream with service Target
- Init SDK
- Send event with renderDecisions true
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem
Metadata
Metadata
Assignees
Labels
No labels