X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Bing revenue tracking with tax (https://forum.x-cart.com/showthread.php?t=76289)

Bishmos 05-31-2018 01:27 AM

Bing revenue tracking with tax
 
Hello


I've setup UET and revenue tracking on Bing (ads). The conversion value in bing shows transactions minus tax (as per the order.subtotal bit below). Would it show the subtotal including tax if I use order.total instead? If yes would it also add in the shipping charge though?


code used below:


Code:

<script>
window.uetq = window.uetq || [];
window.uetq.push({ 'gv': {$order.order.subtotal}, 'gc': 'GBP' });
</script>



thanks

cflsystems 05-31-2018 04:46 AM

Re: Bing revenue tracking with tax
 
$order.total - the absolute total for the order, includes everything - taxes, shipping, discounts, coupons, etc.

$order.subtotal - only the products total; no taxes, no shipping, or discounts; however includes any discounts applied on product level

Bishmos 05-31-2018 04:50 AM

Re: Bing revenue tracking with tax
 
thanks Steve :-)


All times are GMT -8. The time now is 01:14 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.