Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 149d08f

Browse files
committed
Fix 12221
1 parent 816ec39 commit 149d08f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/GoogleAnalytics/view/frontend/web/js/google-analytics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ define([
5454
ga('send', 'pageview' + config.pageTrackingData.optPageUrl);
5555

5656
// Process orders data
57-
if (config.ordersTrackingData) {
57+
if (config.ordersTrackingData.length) {
5858
ga('require', 'ec', 'ec.js');
5959

6060
//Set currency code

0 commit comments

Comments
 (0)