Hi all,
I want to track conversions from adwords marketing. To do this I need to add a tag into the page that the user lands on when completing a sale. In my site this is http://ieltsdojo.com/checkout/order-received/ORDERNUMBER/?key=wc_order_569a0fd0a3b01
I'm not sure how to add the tag though so this page sends back the necessary data to adwords.
Anyone know?
Thanks
Neil Dojo
You can handle this by adding the given code in your wplms-customizer.php file at the end before "?>" in wplms customizer plugin :
Yiu can run your adwords success code in the given block .
add_action('woocommerce_thankyou','adwords_Code',10,1);
function adwords_Code($order_id){
$order = new WC_Order( $order_id );
if ( $order->has_status( 'completed' ) ){
// print adwords code
}
}