Our WooCommerce troubleshooting guide can help you to ensure your integration is working effectively.
To do this complete the following:
Ensure wp_head is in the <head> of your template. This allows WordPress to add styles, scripts and meta data into your website.
Ensure the woocommerce_before_thankyou action is on the order success/thank you page. This allows us to add order tracking to your website.
do_action( 'woocommerce_before_thankyou', $order->get_id() );
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/