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
Support wrote:
Hello,
Please upgrade this plugin to NOP 4.2
https://www.foxnetsoft.com/newslettersubscription
Thanks!
Support wrote:
dataLayer.push({
.....,
.....,
'OrderDiscountsApplied': order_discounts_applied_list,
.....,
.....,
});
Scott wrote:
var item_discounts_applied_list = [];
item_discounts_applied_list.push(
{ id: %sku%, discount_type: %output 'percent' or 'dollar'%} discount_code: '%applied_code%', discount_amount: %the calculated $ value of the discount regardless if type was $-off or %-off%},
.....,
.....
);
var order_discounts_applied_list = [];
order_discounts_applied_list.push(
{ id: %orderid%, discount_type: %output 'percent' or 'dollar'%, discount_code: '%applied_code%', discount_amount: %the calculated $ value of the discount regardless if type was $-off or %-off%,
.....,
.....
);
dataLayer.push({
.....,
.....,
'ItemDiscountsApplied': item_discounts_applied_list,
'OrderDiscountsApplied': order_discounts_applied_list,
.....,
.....,
});
Scott wrote:
dataLayer.push({
'UserType': '%AccessControlGroupName%'
.....
.....
.....
});