We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ad656d + e46e5a5 commit c77d3cbCopy full SHA for c77d3cb
app/code/Magento/GoogleAnalytics/view/frontend/web/js/google-analytics.js
@@ -53,7 +53,7 @@ define([
53
}
54
55
// Process orders data
56
- if (config.ordersTrackingData.length) {
+ if (config.ordersTrackingData.hasOwnProperty('currency')) {
57
ga('require', 'ec', 'ec.js');
58
59
ga('set', 'currencyCode', config.ordersTrackingData.currency);
0 commit comments