Full Answer
WooCommerce hooks for CAPI: Purchase event: Add to Cart: Initiate Checkout: View Content: Best practices: Important: These hooks fire on the server. Unlike JavaScript events, they're not blocked by ad blockers.
Use woocommerce_order_status_completed for purchases, woocommerce_add_to_cart for cart additions, woocommerce_checkout_process for checkout initiation, and woocommerce_after_single_product for product views. These hooks fire server-side, making them ideal for CAPI event triggers.
WooCommerce hooks for CAPI: Purchase event: Add to Cart: Initiate Checkout: View Content: Best practices: Important: These hooks fire on the server. Unlike JavaScript events, they're not blocked by ad blockers.