Hey there,
I’m having an issue installing the added to cart metric.
The alternative snippet with class notation solution has not worked for me either.
Any ideas why this is happening?


Hey there,
I’m having an issue installing the added to cart metric.
The alternative snippet with class notation solution has not worked for me either.
Any ideas why this is happening?
Best answer by David To
Hello
Building on top of what
The reason we recommend double-checking these is because the Add to Cart code works in conjecture with the Viewed Product code so if either of these codes were not installed or not installed correctly, it would effect how the Add to Cart code functions; or the lack of functionality. Similarly, both the Viewed Product and Add to Cart code can only be triggered so long as your browser is cookied which would be how Klaviyo identifies the contact who triggered these events.
-David
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.