adobe / adobe/aem-core-cif-components
useAddToCartEvent mse context
- Dominant language
- Java
- Stars
- 109
- Forks
- 78
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 4
Description
I'm currently using this package in our react project to send events to Adobe sensei. We use our custom version of useAddToCartEvent which has extra options.
It's pretty much copy paste. I was wondering if we needed to send the full cart when setting the shopping cart context in mse, or is it just the cart items added and Sensei figures the rest out?
Currently when we add to cart, we send the item added in detail.items field. We do not send the full cart.
Thanks.
Contributor guide
Research direction
Start with the useAddToCartEvent implementation and the shopping-cart context described in the issue. Determine whether detail.items should contain only the added item or the full cart when sending the event to Adobe Sensei. Done means documenting a clear answer for this integration question.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- analytics, frontend
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100