This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Two documented hooks aren't dispatched when expected #11472
Labels
block: checkout
Issues related to the checkout block.
block: product search
Issues related to the Product Search block.
type: bug
The issue/PR concerns a confirmed bug.
Describe the bug
We recently moved the Google Analytics integration from WooCommerce Blocks to WooCommerce Google Analytics Integration. While working to update the tracking for GA4 I noticed that two of the hooks listed in the documentation don't actually exist in WooCommerce Blocks as far as I can tell:
experimental__woocommerce_blocks-checkout-render-checkout-form
experimental__woocommerce_blocks-product-search
To reproduce
Steps to reproduce the behavior:
Product Search
blocksearch
event is triggeredCheckout
blockbegin_checkout
event is triggeredExpected behavior
The documented actions should be dispatched at the expected points of checkout and search.
Additional context
I appreciate these hooks are still behind an
experimental_
prefix and so aren't production-ready but as the integration exists in WooCommerce Blocks and is currently outdated with Google having retired Universal Analytics I felt it worth reporting.The text was updated successfully, but these errors were encountered: