Skip to main content
Contributor I
January 21, 2024
Solved

Added to Cart Trigger

  • January 21, 2024
  • 1 reply
  • 139 views

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?

This topic has been closed for replies.
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

1 reply

Brian Turcotte
Klaviyo Alum
January 23, 2024

Hi @Bwoolf!

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

 

Best,

Brian