Difficulty Implementing "user.endpoint.lastPurchasedEntity" and Creating Cart Addition List in Web SDK via Tags
I am encountering challenges with the implementation of "user.endpoint.lastPurchasedEntity" using the Web SDK via tags in Adobe Target. My approach involves creating a new XDM (Experience Data Model) object and integrating it within a 'send event' function.
Within this XDM object in the 'send event', I am including several key elements:
- 'priceTotal' and 'purchaseID' within the commerce field.
- Setting the 'purchases' value to 1.
- Integrating an identity map.
- Adding 'productListItems'.

Despite closely following the Adobe documentation (Adobe Experience League), I am not seeing the desired result. The 'lastPurchasedEntity' is not being reflected in the user profile as it did when I was using at.js, where parameters such as orderId, orderTotal, and productPurchasedId were passed effortlessly.

I would greatly appreciate any insights or advice on setting up these features correctly using the Web SDK.
Thank you very much for your assistance.