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 d6d758f + c77d3cb commit 1b51d5cCopy full SHA for 1b51d5c
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