Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Bing revenue tracking with tax

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-31-2018, 01:27 AM
 
Bishmos Bishmos is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 31
 

Default 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
__________________
X-Cart Gold v4.7.5
Reply With Quote
  #2  
Old 05-31-2018, 04:46 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,199
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
Bishmos (05-31-2018)
  #3  
Old 05-31-2018, 04:50 AM
 
Bishmos Bishmos is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 31
 

Default Re: Bing revenue tracking with tax

thanks Steve
__________________
X-Cart Gold v4.7.5
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:53 AM.

   

 
X-Cart forums © 2001-2020