Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of WooCommerce Conversion Tracking in wp_footer
@TorlockC

This comment has been minimized.

Copy link

TorlockC commented Jan 7, 2020

Line 7: $price = $order->get_total();

Should be: $order_total = $order->get_total();

Thanks by the way, really helpful code here, just what I needed :)

@devinsays

This comment has been minimized.

Copy link
Owner Author

devinsays commented Feb 8, 2020

Thanks @Forecasty. Updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.