Skip to main content
Solved

Added to Cart Trigger

  • January 21, 2024
  • 1 reply
  • 76 views

Forum|alt.badge.img+1

I have written some code that triggers the added to cart event in klaviyo whan a product is added to cart fron a non product page. 

 

My question is:

Do I need to send klaviyo all required product information, or does klaviyo fetch that data from the products that have already synced to klaviyo from shopify.

 

For example, if I only sent productID, does klaviyo ‘added to cart’ api populate the other event details such as categories, price, brand etc from the imported products in klaviyo

 

or do I need to send all the data across when the ‘add to cart’ button is clicked on the website?

Best answer by Brian Turcotte

Hi @Bwoolf!

You will need to include all the product data, per this example in our developer docs:

 

Best,

Brian

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • January 23, 2024

Hi @Bwoolf!

You will need to include all the product data, per this example in our developer docs:

 

Best,

Brian