add_action('woocommerce_thankyou', 'wpb_add_googleanalytics'); function wpb_add_googleanalytics() { ?>