Unlocking the Power of your Klaviyo Integrations
Hi Guys,I’m having an issue installing the added to cart metric.
The alternative snippet with class notation solution has not worked for me either.
Best answer by caroline 18 January 2021, 22:22
It looks like the name of your classes are “btn”, “product-form__cart-submit”, and “btn--secondary-accent.” I would remove the extra spaces from your class selector, changing it from ‘. product-form__cart-submit ’ to ‘.product-form__cart-submit’
Thanks very much for getting back to me. I tried this and still no joy
Does it being a trial store make a difference?
@einnewatersThe option that @caroline suggested should work. Have you tried adding product to cart after applying the code you’ve screenshotted above?
After applying the code in Shopify, you need to have at least one “Add to Cart” event before the new metric named “Add to Cart” is automatically created in Klaviyo.
Thanks for that Joseph will try again now.
It worked. Thanks a million guys!
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.
Links & Resources
© 2020 Klaviyo ®