Skip to main content
Solved

Add to Cart Metric is very erratic

  • November 8, 2021
  • 1 reply
  • 100 views

Forum|alt.badge.img+2

Hi,

 

I have installed the Add to Cart metric as per the instructions using id, but I don’t seem it’s working correctly. It works only sometimes, please refer to the screenshots below.

 

Website: https://thedecorkart.com/


Add to Cart Button id “shopify_add_to_cart”

 
Add to Cart Code
Add to Cart Metric works only sometimes

 

Best answer by David To

Hello @navoditravi,

Thanks for sharing your observations with the Klaviyo Community!

One thing to keep in mind is that the Add to Cart event would only trigger for contact who are cookied via Klaviyo prior to adding the product to their cart. Those site visitors who decide to add an item to the cart but are not cookied would not trigger the event. The most common methods visitors are cookied on your site are if they subscribed to your newsletter, making a purchase, abandoning their checkout process while providing an email address, or returning back to the site from an email sent to them. Taking any of these actions would cause the visitor to be cookied so that going forward when adding an item to the cart, they would trigger the Add to Cart event.

You can learn more about cookies and web tracking from Klaviyo’s Guide to Klaviyo Web Tracking and About Cookies in Klaviyo Help Center articles. In addition to those articles, I would recommend taking a look at some other Community posts on this topic which I believe may be helpful! I’ve included some below for your convenience:

Thanks for being a part of the Klaviyo Community!

David

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

1 reply

David To
Klaviyo Employee
Forum|alt.badge.img+60
  • Klaviyo Employee
  • 2456 replies
  • Answer
  • November 9, 2021

Hello @navoditravi,

Thanks for sharing your observations with the Klaviyo Community!

One thing to keep in mind is that the Add to Cart event would only trigger for contact who are cookied via Klaviyo prior to adding the product to their cart. Those site visitors who decide to add an item to the cart but are not cookied would not trigger the event. The most common methods visitors are cookied on your site are if they subscribed to your newsletter, making a purchase, abandoning their checkout process while providing an email address, or returning back to the site from an email sent to them. Taking any of these actions would cause the visitor to be cookied so that going forward when adding an item to the cart, they would trigger the Add to Cart event.

You can learn more about cookies and web tracking from Klaviyo’s Guide to Klaviyo Web Tracking and About Cookies in Klaviyo Help Center articles. In addition to those articles, I would recommend taking a look at some other Community posts on this topic which I believe may be helpful! I’ve included some below for your convenience:

Thanks for being a part of the Klaviyo Community!

David