Hello,
Is there a way to inject the tracking code on custom controllers/actions?
In other words it seems like it's only pushing the PageType.ProductPage dataLayer variable on pages that have a controller name of Product and action name of ProductDetails.
We have some custom controllers/actions that we'd like to inject the ProductPage code on but there doesn't seem to be a way to do that currently.
For example we can name our custom controller action ProductDetails as well and have it inject only based on action (rather than controller + action) if that's a feasible solution on your end.
Thanks
Support wrote:
Support wrote:
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.
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
Review has been posted - thanks so much!
Hello,
For the Cart page I am still not seeing the AttributeCombo SKU value in dataLayer. I confirmed that the inventory is set to track for attributes. In regards to your question about if Cart is updated, I do not care about that right now, only concerned with outputting correct Attribute Combo SKU on initial page load
For the order confirmation page, I reconfirmed that the correct AttributeCombo SKU was still being passed to dataLayer but was still not being passed to the ProductIDList object in dataLayer. I am less concerned with this compared to Cart page since I can always parse transactionProducts object for the correct SKU since you are correctly outputting that now.
Thanks
Hello, was hoping this could be addressed in the next update. Let me know. Thanks!
Hello,
That works, however as far as I see the only spot the correct Sku is being passed to is in the transactionProducts object on the order confirmation page.
The correct Sku should also be set everywhere else a Combo Sku is being output, such as:
Cart page in the cart_product_list array that is passed to the dataLayer
Order Confirmation page in the ProductIDList array that is passed to the dataLayer