Help Centre

<

Home
Troubleshooting WooCommerce

Our WooCommerce troubleshooting guide can help you to ensure your integration is working effectively.

Ensure WordPress actions have been added to your template

To do this complete the following:

wp_head

Ensure wp_head is in the <head> of your template. This allows WordPress to add styles, scripts and meta data into your website.

For example:

wp_head();

Read more: https://developer.wordpress.org/reference/functions/wp_head/

woocommerce_before_thankyou

Ensure the woocommerce_before_thankyou action is on the order success/thank you page. This allows us to add order tracking to your website.

For example:

do_action( 'woocommerce_before_thankyou', $order->get_id() );

Read more: https://wp-kama.com/plugin/woocommerce/hook/woocommerce_before_thankyou

wp

Ensure the wp action is run to allow us to track product views.

This is usually run by default.

​​Read more: https://developer.wordpress.org/reference/hooks/wp/