Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useAddToCartEvent mse context #1015

Open
MichaelHeinzman opened this issue Aug 29, 2024 · 0 comments
Open

useAddToCartEvent mse context #1015

MichaelHeinzman opened this issue Aug 29, 2024 · 0 comments

Comments

@MichaelHeinzman
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant