-
Notifications
You must be signed in to change notification settings - Fork 217
Ensure woocommerceanalytics_product_checkout fires for stores that use blocks #2031
Comments
Reopening – #2038 (comment) We'll need to use a new hook – the one I used in #2038 is not appropriate. |
I've opened a PR in Jetpack to fix this, using one of the new checkout hooks: Automattic/jetpack#15223 Jetpack woo analytics now hooks @nerrad Can you give this a review when you're back on - I want to make sure that this is use of the new hook is safe and as intended. The difference between this fix and #2038 is the expectations on the hook, it's being fired in basically the same place (checkout block PHP |
I reviewed the pr, but I also left a comment on it with a question. |
We'll use the
woocommerceanalytics
events (from Jetpack) for measuring conversion rate of the new block-based cart & checkout, and comparing with existing (shortcode) flow.We need the
checkout
event to fire correctly for stores using blocks, in particular when the checkout block is viewed.See also #2032 #2030
The text was updated successfully, but these errors were encountered: