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:
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 /tests/javascript
parent00bd6359447379316fe81987acffad89515be522 (diff)
refs #4996 do not track an interaction as an event
Diffstat (limited to 'tests/javascript')
-rw-r--r--tests/javascript/index.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/javascript/index.php b/tests/javascript/index.php
index 97fdc78441..117749efba 100644
--- a/tests/javascript/index.php
+++ b/tests/javascript/index.php
@@ -1199,17 +1199,6 @@ function PiwikTest() {
expected = 'c_i=CustomInteraction%3A%2F%2F&c_n=My%20Ad&c_p=http%3A%2F%2Fwww.example.com%2Fpath%2Fxyz.jpg&c_t=http%3A%2F%2Fapache.piwik%2Fanylink';
assertTrackingRequest(actual, expected, 'should automatically find parent and search for content from there');
-
- ok('test buildContentInteractionRequestWithEvent()');
- actual = tracker.buildContentInteractionRequestWithEvent();
- strictEqual(actual, undefined, 'nothing set should not build request');
- actual = tracker.buildContentInteractionRequestWithEvent('interaction');
- assertTrackingRequest(actual, 'e_c=Content&e_a=interaction&e_v=&c_i=interaction');
- actual = tracker.buildContentInteractionRequestWithEvent('interaction', 'name', 'piece', 'target');
- assertTrackingRequest(actual, 'e_c=Content&e_a=interaction&e_n=name&e_v=&c_i=interaction&c_n=name&c_p=piece&c_t=target', 'all params');
- actual = tracker.buildContentInteractionRequestWithEvent('interaction://', 'name://', 'p?=iece', 'tar=get');
- assertTrackingRequest(actual, 'e_c=Content&e_a=interaction%3A%2F%2F&e_n=name%3A%2F%2F&e_v=&c_i=interaction%3A%2F%2F&c_n=name%3A%2F%2F&c_p=p%3F%3Diece&c_t=tar%3Dget', 'should encode');
-
/**
buildContentInteractionTrackingRedirectUrl: buildContentInteractionTrackingRedirectUrl,
getAllContentImpressionsRequests: getAllContentImpressionsRequests,