You have no items in your shopping cart.

Monday, August 26, 2019 3:40:25 AM

Tax Amount in Total Even Though 'Include Tax' is Un-checked

Avatar

Posted: 19 days ago

#8936 Quote

Scott

Posted: 19 days ago

#8936 Quote
Hello,

The amount of Tax is being included in the Total value passed to the dataLayer in the Google Tag Manager script even though the setting 'Include Tax' in Configuration is not checked.

Please fix this so that the Tax amount is not included in the Total value amount.

Thanks
Avatar

Posted: 19 days ago

#8937 Quote

Scott

Posted: 19 days ago

#8937 Quote
To clarify, I do not want to include the Tax amount in the transactionTotal value that is passed to dataLayer for Google Analytics ecommerce tracking, only the order subtotal before tax and shipping should be passed to transactionTotal variable. I am OK with keeping the tax amount in the transactionTax variable.
Avatar

Posted: 17 days ago

#8939 Quote

Support

Posted: 17 days ago

#8939 Quote
'Include Tax'  - this parameter is for product prices.

transactionTotal - order total with tax and shipping fees.
transactionTax - order total tax.

I can add the new parameter 'transactionSubTotal'
transactionTotal - order subtotal value (with or without TAX)
What do you think?
Avatar

Posted: 11 days ago

#9211 Quote

Scott

Posted: 11 days ago

#9211 Quote
Support wrote:
'Include Tax'  - this parameter is for product prices.

transactionTotal - order total with tax and shipping fees.
transactionTax - order total tax.

I can add the new parameter 'transactionSubTotal'
transactionTotal - order subtotal value (with or without TAX)
What do you think?


No, because Google Analytics only looks for the variable transactionTotal, it won't recognize transactionSubTotal.

You should make another checkbox in the Settings called 'Include Tax & Shipping In Order Total'. If unchecked, then you don't include tax/shipping amounts in the transactionTotal variable amount. If checked, then you include tax/shipping amounts in the transactionTotal variable amount.

Thanks

Then you can also rename the existing Include Tax setting to be called 'Include Tax on Products'
Avatar

Posted: 9 days ago

#9244 Quote

Support

Posted: 9 days ago

#9244 Quote
I need to think.
Write me on Monday
Avatar

Posted: 9 days ago

#9245 Quote

Scott

Posted: 9 days ago

#9245 Quote
Support wrote:
I need to think.
Write me on Monday


Will do. If it makes it easier, you should simply deduct the tax and shipping amount you pass to transactionTotal - because most Google Analytics users would prefer to exclude those amounts from revenue since tax and shipping amounts are passed through to 3rd parties (tax authorities and shipping company).
Avatar

Posted: 9 days ago

#9246 Quote

Support

Posted: 9 days ago

#9246 Quote
I need to think.
I'll be busy next two weeks and I need to think about better solution.

Powered by nopCommerce

Copyright © 2019 FoxNetSoft. All rights reserved