diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-11-15 23:23:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-15 23:23:23 +0300 |
commit | eed9424f44a93780d1a7f549719b817485035b1f (patch) | |
tree | 2f86e51db14665366b93d4691ee417aa6ba82f78 /js/piwik.js | |
parent | 0a0b4ba3900ce0504aac9d03f88a89738f2f4e48 (diff) |
Fix ecommerce and goal tracking may not work (#16716)
* Fix ecommerce and goal tracking may not work
* rebuilt piwik.js
Diffstat (limited to 'js/piwik.js')
-rw-r--r-- | js/piwik.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/piwik.js b/js/piwik.js index 15d09505ab..6de86493a1 100644 --- a/js/piwik.js +++ b/js/piwik.js @@ -3837,7 +3837,6 @@ if (typeof window.Matomo !== 'object') { } request += '&ec_items=' + encodeWrapper(windowAlias.JSON.stringify(items)); } - request += '&ca=1'; request = getRequest(request, configCustomData, 'ecommerce'); sendRequest(request, configTrackerPause); @@ -4283,7 +4282,7 @@ if (typeof window.Matomo !== 'object') { * Log the goal with the server */ function logGoal(idGoal, customRevenue, customData, callback) { - var request = getRequest('idgoal=' + idGoal + (customRevenue ? '&revenue=' + customRevenue : '') + '&ca=1', customData, 'goal'); + var request = getRequest('idgoal=' + idGoal + (customRevenue ? '&revenue=' + customRevenue : ''), customData, 'goal'); sendRequest(request, configTrackerPause, callback); } |