No target data returned
- Dominant language
- JavaScript
- Stars
- 104
- Forks
- 60
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 5
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)
```js
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
1. Create a Datastream with service Target
2. Init SDK
3. Send event with renderDecisions true
#### Platform and Version
#### Sample Code that illustrates the problem
#### Logs taken while reproducing problem
Contributor guide
Research direction
Start with the initAdobeSDK reproduction, focusing on the dynamic @adobe/alloy import and the configure and sendEvent calls. Review the linked Adobe Target ticket E-000984379 and gather the missing platform and reproduction logs. Done means the documented scenario returns Adobe Target data in propositions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100