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
path: root/js
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-09-05 21:05:41 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-09-05 21:05:41 +0400
commit6bbcdd6e7482b95fe9ca461d32a7afa47d024338 (patch)
tree5d465ab768e4854a30b3e23151b9b869581aebae /js
parent00bd6359447379316fe81987acffad89515be522 (diff)
refs #4996 do not track an interaction as an event
Diffstat (limited to 'js')
-rw-r--r--js/piwik.js16
1 files changed, 1 insertions, 15 deletions
diff --git a/js/piwik.js b/js/piwik.js
index 2a01e493aa..215bb9168f 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -2828,25 +2828,12 @@ if (typeof Piwik !== 'object') {
}
var redirectUrl = content.toAbsoluteUrl(url);
- var request = buildContentInteractionRequestWithEvent(contentInteraction, contentName, contentPiece, (contentTarget || url));
+ var request = buildContentInteractionRequest(contentInteraction, contentName, contentPiece, (contentTarget || url));
request += '&redirecturl=' + redirectUrl;
return configTrackerUrl + (configTrackerUrl.indexOf('?') < 0 ? '?' : '&') + request;
}
- function buildContentInteractionRequestWithEvent(contentInteraction, contentName, contentPiece, contentTarget)
- {
- var interaction = buildContentInteractionRequest(contentInteraction, contentName, contentPiece, contentTarget);
-
- if (!interaction) {
- return;
- }
-
- var event = buildEventRequest('Content', contentInteraction, contentName, '');
-
- return event + '&' + interaction;
- }
-
function appendContentInteractionToRequestIfPossible (request, anyNode, interaction, fallbackTarget)
{
if (!anyNode || !request) {
@@ -3509,7 +3496,6 @@ if (typeof Piwik !== 'object') {
buildContentImpressionRequest: buildContentImpressionRequest,
buildContentInteractionRequest: buildContentInteractionRequest,
buildContentInteractionRequestNode: buildContentInteractionRequestNode,
- buildContentInteractionRequestWithEvent: buildContentInteractionRequestWithEvent,
buildContentInteractionTrackingRedirectUrl: buildContentInteractionTrackingRedirectUrl,
buildContentImpressionsRequestsWithinNode: buildContentImpressionsRequestsWithinNode,
getAllContentImpressionsRequests: getAllContentImpressionsRequests,