Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/piwik.js')
-rw-r--r--js/piwik.js3
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);
}