I have a WooCommerce store that uses a checkout block. I want to track with Google Analytics what WooCommerce checkout fields are empty or are incorrectly filled in. The check should happen after a user clicks the "Pay now" button. How do I do this?
In the old shortcode checkout this was very easy with just a simple jQuery event listener, but the old solution doesn’t work with the block checkout.
You need to sign in to view this answers