We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 149d08f commit e851948Copy full SHA for e851948
app/code/Magento/GoogleAnalytics/view/frontend/web/js/google-analytics.js
@@ -51,7 +51,6 @@ define([
51
if (config.pageTrackingData.isAnonymizedIpActive) {
52
ga('set', 'anonymizeIp', true);
53
}
54
- ga('send', 'pageview' + config.pageTrackingData.optPageUrl);
55
56
// Process orders data
57
if (config.ordersTrackingData.length) {
@@ -75,6 +74,9 @@ define([
75
74
76
77
ga('send', 'pageview');
+ }else{
78
+ // Process Data if not orders
79
+ ga('send', 'pageview' + config.pageTrackingData.optPageUrl);
80
81
82
0 commit comments