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
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’