From cd1b52dd2e5807d2871e6037815cae2390c5243d Mon Sep 17 00:00:00 2001 From: mattab Date: Wed, 1 Oct 2014 16:26:52 +1300 Subject: Fixes #6313 - When a user starts to get a User ID set, then we set this User ID to the existing visit rather than create a new visit for this user id specifically --- core/Tracker/Action.php | 4 +- core/Tracker/Request.php | 7 +- core/Tracker/Visit.php | 31 ++++++-- core/Tracker/Visitor.php | 26 ++++--- libs/PiwikTracker/PiwikTracker.php | 3 +- ...est_Contents__Live.getLastVisitsDetails_day.xml | 4 +- ...t_Contents__Live.getLastVisitsDetails_month.xml | 4 +- ...ractionMatch__Live.getLastVisitsDetails_day.xml | 4 +- ...tTargetMatch__Live.getLastVisitsDetails_day.xml | 4 +- ...OrPieceMatch__Live.getLastVisitsDetails_day.xml | 4 +- plugins/CoreHome/Columns/UserId.php | 7 +- plugins/CoreHome/Visitor.php | 4 +- ...egrationTest__Live.getLastVisitsDetails_day.xml | 2 +- ...egrationTest__Live.getLastVisitsDetails_day.xml | 2 +- ...estAPITest__Live.getLastVisitsDetails_range.xml | 72 +++++++++---------- ...CustomEvents__Live.getLastVisitsDetails_day.xml | 20 +++--- ...stomEvents__Live.getLastVisitsDetails_month.xml | 20 +++--- ...ImportLogs__Live.getLastVisitsDetails_range.xml | 80 ++++++++++----------- ...IdVisitAsc__Live.getLastVisitsDetails_month.xml | 14 ++-- ...tByIdVisit__Live.getLastVisitsDetails_month.xml | 12 ++-- ...VisitCount__Live.getLastVisitsDetails_month.xml | 12 ++-- ...s_sortDesc__Live.getLastVisitsDetails_month.xml | 12 ++-- ...ebsiteTest__Live.getLastVisitsDetails_month.xml | 18 ++--- ...ookieSupport__Live.getLastVisitsDetails_day.xml | 4 +- ...ordSpecified__Live.getLastVisitsDetails_day.xml | 4 +- ...fThreeDays__Live.getLastVisitsDetails_month.xml | 6 +- ...rchyIsNotLoaded__Referrers.getKeywords_week.xml | 2 +- ...imezonesTest__Live.getLastVisitsDetails_day.xml | 2 +- ...duledReports.generateReport_month.original.html | 22 +++++- ...eduledReports.generateReport_month.original.pdf | Bin 509145 -> 510530 bytes ..._VisitorId__Live.getLastVisitsDetails_month.xml | 31 ++++---- ...est_UserId_VisitorId__VisitsSummary.get_day.xml | 16 ++--- ...t_UserId_VisitorId__VisitsSummary.get_month.xml | 16 ++--- ...st_UserId_VisitorId__VisitsSummary.get_week.xml | 16 ++--- ...st_UserId_VisitorId__VisitsSummary.get_year.xml | 14 ++-- ...st_csvExport__Live.getLastVisitsDetails_day.csv | Bin 7930 -> 7924 bytes ...tatusOrdered__Live.getLastVisitsDetails_day.xml | 4 +- ...derWithItems__Live.getLastVisitsDetails_day.xml | 6 +- ...eduledReports.generateReport_week.original.html | 22 +++++- ...heduledReports.generateReport_week.original.pdf | Bin 527900 -> 528539 bytes ...dNormalAPI__Live.getLastVisitsDetails_range.xml | 6 +- ...etadataAndNormalAPI__Live.getVisitorProfile.xml | 4 +- 42 files changed, 301 insertions(+), 240 deletions(-) diff --git a/core/Tracker/Action.php b/core/Tracker/Action.php index aa721a03c5..5fba5a2862 100644 --- a/core/Tracker/Action.php +++ b/core/Tracker/Action.php @@ -357,7 +357,9 @@ abstract class Action $visitAction['idlink_va'] = $this->idLinkVisitAction; Common::printDebug("Inserted new action:"); - Common::printDebug($visitAction); + $visitActionDebug = $visitAction; + $visitActionDebug['idvisitor'] = bin2hex($visitActionDebug['idvisitor']); + Common::printDebug($visitActionDebug); /** * Triggered after successfully persisting a [visit action entity](/guides/persistence-and-the-mysql-backend#visit-actions). diff --git a/core/Tracker/Request.php b/core/Tracker/Request.php index 8ded0dc7a2..212abbd0d2 100644 --- a/core/Tracker/Request.php +++ b/core/Tracker/Request.php @@ -551,12 +551,11 @@ class Request public function getForcedUserId() { $userId = $this->getParam('uid'); - if (strlen($userId) > 0) { return $userId; } - return null; + return false; } public function getForcedVisitorId() @@ -608,8 +607,8 @@ class Request * @param $userId * @return string */ - private function getUserIdHashed($userId) + public function getUserIdHashed($userId) { - return sha1($userId); + return substr( sha1( $userId ), 0, 16); } } diff --git a/core/Tracker/Visit.php b/core/Tracker/Visit.php index 75633d95b6..f01f34bc19 100644 --- a/core/Tracker/Visit.php +++ b/core/Tracker/Visit.php @@ -513,11 +513,7 @@ class Visit implements VisitInterface { $valuesToUpdate = array(); - // Might update the idvisitor when it was forced or overwritten for this visit - if (strlen($this->visitorInfo['idvisitor']) == Tracker::LENGTH_BINARY_ID) { - $valuesToUpdate['idvisitor'] = $this->visitorInfo['idvisitor']; - $visitor->setVisitorColumn('idvisitor', $this->visitorInfo['idvisitor']); - } + $valuesToUpdate = $this->setIdVisitorForExistingVisit($visitor, $valuesToUpdate); $dimensions = $this->getAllVisitDimensions(); $valuesToUpdate = $this->triggerHookOnDimensions($dimensions, 'onExistingVisit', $visitor, $action, $valuesToUpdate); @@ -613,4 +609,29 @@ class Visit implements VisitInterface { return Config::getInstance()->Tracker['visit_standard_length']; } + + /** + * @param $visitor + * @param $valuesToUpdate + * @return mixed + */ + private function setIdVisitorForExistingVisit($visitor, $valuesToUpdate) + { + // Might update the idvisitor when it was forced or overwritten for this visit + if (strlen($this->visitorInfo['idvisitor']) == Tracker::LENGTH_BINARY_ID) { + $binIdVisitor = $this->visitorInfo['idvisitor']; + $visitor->setVisitorColumn('idvisitor', $binIdVisitor); + $valuesToUpdate['idvisitor'] = $binIdVisitor; + } + + // User ID takes precedence and overwrites idvisitor value + $userId = $this->request->getForcedUserId(); + if ($userId) { + $userIdHash = $this->request->getUserIdHashed($userId); + $binIdVisitor = Common::hex2bin($userIdHash); + $visitor->setVisitorColumn('idvisitor', $binIdVisitor); + $valuesToUpdate['idvisitor'] = $binIdVisitor; + } + return $valuesToUpdate; + } } diff --git a/core/Tracker/Visitor.php b/core/Tracker/Visitor.php index a73361e014..ec5dd6d279 100644 --- a/core/Tracker/Visitor.php +++ b/core/Tracker/Visitor.php @@ -118,7 +118,8 @@ class Visitor // We use a UNION here so that each sql query uses its own INDEX else { // will use INDEX index_idsite_config_datetime (idsite, config_id, visit_last_action_time) - $where = ' AND config_id = ?'; + $where = ' AND config_id = ? + AND user_id IS NULL '; $bindSql[] = $configId; $sqlConfigId = "$select , 0 as priority @@ -226,22 +227,31 @@ class Visitor protected function shouldLookupOneVisitorFieldOnly($isVisitorIdToLookup) { + $isForcedUserIdMustMatch = (false !== $this->request->getForcedUserId()); + if($isForcedUserIdMustMatch) { + // if &iud was set, we must try and match both idvisitor and config_id + return false; + } + // This setting would be enabled for Intranet websites, to ensure that visitors using all the same computer config, same IP // are not counted as 1 visitor. In this case, we want to enforce and trust the visitor ID from the cookie. $trustCookiesOnly = Config::getInstance()->Tracker['trust_visitors_cookies']; + if($isVisitorIdToLookup && $trustCookiesOnly) { + return true; + } // If a &cid= was set, we force to select this visitor (or create a new one) $isForcedVisitorIdMustMatch = ($this->request->getForcedVisitorId() != null); - // if &iud was set, we force to select this visitor (or create new one) - $isForcedUserIdMustMatch = ($this->request->getForcedUserId() !== null); + if($isForcedVisitorIdMustMatch) { + return true; + } - $shouldMatchOneFieldOnly = (($isVisitorIdToLookup && $trustCookiesOnly) - || $isForcedVisitorIdMustMatch - || $isForcedUserIdMustMatch - || !$isVisitorIdToLookup); + if( !$isVisitorIdToLookup ) { + return true; + } - return $shouldMatchOneFieldOnly; + return false; } /** diff --git a/libs/PiwikTracker/PiwikTracker.php b/libs/PiwikTracker/PiwikTracker.php index 8605e38e1f..15e3b8420c 100644 --- a/libs/PiwikTracker/PiwikTracker.php +++ b/libs/PiwikTracker/PiwikTracker.php @@ -1063,6 +1063,8 @@ class PiwikTracker /** * Hash function used internally by Piwik to hash a User ID into the Visitor ID. * + * Note: matches implementation of Tracker\Request->getUserIdHashed() + * * @param $id * @return string */ @@ -1071,7 +1073,6 @@ class PiwikTracker return substr( sha1( $id ), 0, 16); } - /** * Forces the requests to be recorded for the specified Visitor ID. * Note: it is recommended to use ->setUserId($userId); instead. diff --git a/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_day.xml index 5ed9724479..989f816722 100644 --- a/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_day.xml +++ b/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_day.xml @@ -28,7 +28,7 @@ 0 1 - 0 + new 0 @@ -128,7 +128,7 @@ 0 1 - 0 + new 0 diff --git a/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_month.xml b/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_month.xml index 5ed9724479..989f816722 100644 --- a/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_month.xml +++ b/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_month.xml @@ -28,7 +28,7 @@ 0 1 - 0 + new 0 @@ -128,7 +128,7 @@ 0 1 - 0 + new 0 diff --git a/plugins/Contents/tests/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml index 5ed9724479..989f816722 100644 --- a/plugins/Contents/tests/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml +++ b/plugins/Contents/tests/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml @@ -28,7 +28,7 @@ 0 1 - 0 + new 0 @@ -128,7 +128,7 @@ 0 1 - 0 + new 0 diff --git a/plugins/Contents/tests/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml index 5ed9724479..989f816722 100644 --- a/plugins/Contents/tests/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml +++ b/plugins/Contents/tests/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml @@ -28,7 +28,7 @@ 0 1 - 0 + new 0 @@ -128,7 +128,7 @@ 0 1 - 0 + new 0 diff --git a/plugins/Contents/tests/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml index 5ed9724479..989f816722 100644 --- a/plugins/Contents/tests/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml +++ b/plugins/Contents/tests/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml @@ -28,7 +28,7 @@ 0 1 - 0 + new 0 @@ -128,7 +128,7 @@ 0 1 - 0 + new 0 diff --git a/plugins/CoreHome/Columns/UserId.php b/plugins/CoreHome/Columns/UserId.php index 146a7ea4c6..55fea6b517 100644 --- a/plugins/CoreHome/Columns/UserId.php +++ b/plugins/CoreHome/Columns/UserId.php @@ -48,12 +48,7 @@ class UserId extends VisitDimension */ public function onExistingVisit(Request $request, Visitor $visitor, $action) { - $forcedUserId = $request->getForcedUserId(); - if ($forcedUserId) { - return $forcedUserId; - } - - return false; + return $request->getForcedUserId(); } } \ No newline at end of file diff --git a/plugins/CoreHome/Visitor.php b/plugins/CoreHome/Visitor.php index 688d1c8bb6..35b64b3d30 100644 --- a/plugins/CoreHome/Visitor.php +++ b/plugins/CoreHome/Visitor.php @@ -102,10 +102,10 @@ class Visitor function getUserId() { if (isset($this->details['user_id']) - && !is_null($this->details['user_id'])) { + && strlen($this->details['user_id']) > 0) { return $this->details['user_id']; } - return false; + return null; } } \ No newline at end of file diff --git a/plugins/CustomVariables/tests/expected/test_CustomVariablesIntegrationTest__Live.getLastVisitsDetails_day.xml b/plugins/CustomVariables/tests/expected/test_CustomVariablesIntegrationTest__Live.getLastVisitsDetails_day.xml index 76e4a27324..a61cb11554 100644 --- a/plugins/CustomVariables/tests/expected/test_CustomVariablesIntegrationTest__Live.getLastVisitsDetails_day.xml +++ b/plugins/CustomVariables/tests/expected/test_CustomVariablesIntegrationTest__Live.getLastVisitsDetails_day.xml @@ -69,7 +69,7 @@ 0 1 - 0 + new 1 diff --git a/plugins/CustomVariables/tests/processed/test_CustomVariablesIntegrationTest__Live.getLastVisitsDetails_day.xml b/plugins/CustomVariables/tests/processed/test_CustomVariablesIntegrationTest__Live.getLastVisitsDetails_day.xml index 76e4a27324..a61cb11554 100644 --- a/plugins/CustomVariables/tests/processed/test_CustomVariablesIntegrationTest__Live.getLastVisitsDetails_day.xml +++ b/plugins/CustomVariables/tests/processed/test_CustomVariablesIntegrationTest__Live.getLastVisitsDetails_day.xml @@ -69,7 +69,7 @@ 0 1 - 0 + new 1 diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml index 3b8eb5d11a..88e4c569eb 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml @@ -4,7 +4,6 @@ 1 35 194.57.91.215 - userid.email@example.org @@ -34,6 +33,7 @@ + userid.email@example.org new 1 @@ -111,7 +111,6 @@ 1 18 1.2.4.8 - @@ -182,6 +181,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -267,7 +267,6 @@ 1 17 1.2.4.8 - @@ -307,6 +306,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -392,7 +392,6 @@ 1 16 1.2.4.7 - @@ -446,7 +445,8 @@ - returningCustomer + + returningCustomer plugins/Live/images/returningVisitor.gif 1 plugins/Morpheus/images/goal.png @@ -531,7 +531,6 @@ 1 15 1.2.4.7 - @@ -571,6 +570,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -656,7 +656,6 @@ 1 14 1.2.4.6 - @@ -727,6 +726,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -812,7 +812,6 @@ 1 13 1.2.4.6 - @@ -852,6 +851,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -937,7 +937,6 @@ 1 12 1.2.4.5 - @@ -991,6 +990,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -1076,7 +1076,6 @@ 1 11 1.2.4.5 - @@ -1116,6 +1115,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -1201,7 +1201,6 @@ 1 10 1.2.4.4 - @@ -1272,6 +1271,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -1357,7 +1357,6 @@ 1 9 1.2.4.4 - @@ -1397,6 +1396,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -1482,7 +1482,6 @@ 1 8 1.2.4.3 - @@ -1536,6 +1535,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -1621,7 +1621,6 @@ 1 30 113.62.1.1 - @@ -1675,6 +1674,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -1752,7 +1752,6 @@ 1 7 1.2.4.3 - @@ -1792,6 +1791,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -1877,7 +1877,6 @@ 1 29 113.62.1.1 - @@ -1917,6 +1916,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -2002,7 +2002,6 @@ 1 6 1.2.4.2 - @@ -2073,6 +2072,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -2158,7 +2158,6 @@ 1 28 2001:db8:85a3::8a2e:370:7334 - @@ -2229,6 +2228,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -2306,7 +2306,6 @@ 1 5 1.2.4.2 - @@ -2346,6 +2345,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -2431,7 +2431,6 @@ 1 27 2001:db8:85a3::8a2e:370:7334 - @@ -2471,6 +2470,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -2556,7 +2556,6 @@ 1 4 1.2.4.1 - @@ -2610,6 +2609,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -2695,7 +2695,6 @@ 1 22 ::ffff:137.82.130.49 - @@ -2749,6 +2748,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -2834,7 +2834,6 @@ 1 26 137.82.0.0 - @@ -2888,6 +2887,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -2965,7 +2965,6 @@ 1 34 103.29.196.229 - @@ -3019,6 +3018,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -3104,7 +3104,6 @@ 1 3 1.2.4.1 - @@ -3144,6 +3143,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -3229,7 +3229,6 @@ 1 21 ::ffff:137.82.130.49 - @@ -3269,6 +3268,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -3354,7 +3354,6 @@ 1 25 137.82.0.0 - @@ -3394,6 +3393,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -3479,7 +3479,6 @@ 1 33 103.29.196.229 - @@ -3519,6 +3518,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -3604,7 +3604,6 @@ 1 2 1.2.4.0 - @@ -3675,6 +3674,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -3760,7 +3760,6 @@ 1 20 194.57.91.215 - @@ -3831,6 +3830,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -3916,7 +3916,6 @@ 1 24 137.82.130.0 - @@ -3987,6 +3986,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -4064,7 +4064,6 @@ 1 32 151.100.101.92 - @@ -4135,6 +4134,7 @@ + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -4220,7 +4220,6 @@ 1 1 1.2.4.0 - @@ -4260,6 +4259,7 @@ + new 1 @@ -4345,7 +4345,6 @@ 1 19 194.57.91.215 - @@ -4385,6 +4384,7 @@ + new 1 @@ -4470,7 +4470,6 @@ 1 23 137.82.130.0 - @@ -4510,6 +4509,7 @@ + new 1 @@ -4595,7 +4595,6 @@ 1 31 151.100.101.92 - @@ -4635,6 +4634,7 @@ + new 1 diff --git a/tests/PHPUnit/Integration/expected/test_CustomEvents__Live.getLastVisitsDetails_day.xml b/tests/PHPUnit/Integration/expected/test_CustomEvents__Live.getLastVisitsDetails_day.xml index 11b3df7d80..61b4626535 100644 --- a/tests/PHPUnit/Integration/expected/test_CustomEvents__Live.getLastVisitsDetails_day.xml +++ b/tests/PHPUnit/Integration/expected/test_CustomEvents__Live.getLastVisitsDetails_day.xml @@ -26,7 +26,7 @@ 0 1 - 0 + new 0 @@ -128,7 +128,7 @@ 0 1 - 0 + new 0 @@ -298,7 +298,7 @@ 0 6 - 0 + new 0 @@ -400,7 +400,7 @@ 0 1 - 0 + new 0 @@ -737,7 +737,7 @@ 0 15 - 0 + new 1 @@ -839,7 +839,7 @@ 0 1 - 0 + new 0 @@ -937,7 +937,7 @@ 0 1 - 0 + new 0 @@ -1103,7 +1103,7 @@ 0 6 - 0 + new 0 @@ -1201,7 +1201,7 @@ 0 1 - 0 + new 0 @@ -1534,7 +1534,7 @@ 0 15 - 0 + new 1 diff --git a/tests/PHPUnit/Integration/expected/test_CustomEvents__Live.getLastVisitsDetails_month.xml b/tests/PHPUnit/Integration/expected/test_CustomEvents__Live.getLastVisitsDetails_month.xml index 11b3df7d80..61b4626535 100644 --- a/tests/PHPUnit/Integration/expected/test_CustomEvents__Live.getLastVisitsDetails_month.xml +++ b/tests/PHPUnit/Integration/expected/test_CustomEvents__Live.getLastVisitsDetails_month.xml @@ -26,7 +26,7 @@ 0 1 - 0 + new 0 @@ -128,7 +128,7 @@ 0 1 - 0 + new 0 @@ -298,7 +298,7 @@ 0 6 - 0 + new 0 @@ -400,7 +400,7 @@ 0 1 - 0 + new 0 @@ -737,7 +737,7 @@ 0 15 - 0 + new 1 @@ -839,7 +839,7 @@ 0 1 - 0 + new 0 @@ -937,7 +937,7 @@ 0 1 - 0 + new 0 @@ -1103,7 +1103,7 @@ 0 6 - 0 + new 0 @@ -1201,7 +1201,7 @@ 0 1 - 0 + new 0 @@ -1534,7 +1534,7 @@ 0 15 - 0 + new 1 diff --git a/tests/PHPUnit/Integration/expected/test_ImportLogs__Live.getLastVisitsDetails_range.xml b/tests/PHPUnit/Integration/expected/test_ImportLogs__Live.getLastVisitsDetails_range.xml index db55cce7c1..06291c5c5f 100644 --- a/tests/PHPUnit/Integration/expected/test_ImportLogs__Live.getLastVisitsDetails_range.xml +++ b/tests/PHPUnit/Integration/expected/test_ImportLogs__Live.getLastVisitsDetails_range.xml @@ -42,7 +42,7 @@ 0 1 - 0 + returning plugins/Live/images/returningVisitor.gif 1 @@ -180,7 +180,7 @@ 0 2 - 0 + returning plugins/Live/images/returningVisitor.gif 1 @@ -289,7 +289,7 @@ 0 1 - 0 + returning plugins/Live/images/returningVisitor.gif 1 @@ -439,7 +439,7 @@ 0 2 - 0 + returning plugins/Live/images/returningVisitor.gif 1 @@ -554,7 +554,7 @@ 0 1 - 0 + returning plugins/Live/images/returningVisitor.gif 0 @@ -680,7 +680,7 @@ 0 1 - 0 + new 1 @@ -813,7 +813,7 @@ 0 1 - 0 + returning plugins/Live/images/returningVisitor.gif 1 @@ -935,7 +935,7 @@ 0 1 - 0 + returning plugins/Live/images/returningVisitor.gif 1 @@ -1049,7 +1049,7 @@ 0 1 - 0 + returning plugins/Live/images/returningVisitor.gif 1 @@ -1218,7 +1218,7 @@ 0 3 - 0 + new 1 @@ -1336,7 +1336,7 @@ 0 1 - 0 + returning plugins/Live/images/returningVisitor.gif 1 @@ -1462,7 +1462,7 @@ 0 1 - 0 + new 1 @@ -1750,7 +1750,7 @@ 0 10 - 0 + new 1 @@ -1862,7 +1862,7 @@ 0 1 - 0 + new 1 @@ -1979,7 +1979,7 @@ 0 1 - 0 + returning plugins/Live/images/returningVisitor.gif 1 @@ -2112,7 +2112,7 @@ 0 1 - 0 + new 1 @@ -2237,7 +2237,7 @@ 0 2 - 0 + new 1 @@ -2369,7 +2369,7 @@ 0 3 - 0 + new 0 @@ -2477,7 +2477,7 @@ 0 1 - 0 + new 1 @@ -2585,7 +2585,7 @@ 0 1 - 0 + new 1 @@ -2683,7 +2683,7 @@ 0 1 - 0 + new 0 @@ -2791,7 +2791,7 @@ 0 1 - 0 + new 1 @@ -2899,7 +2899,7 @@ 0 1 - 0 + new 1 @@ -3007,7 +3007,7 @@ 0 1 - 0 + new 1 @@ -3111,7 +3111,7 @@ 0 1 - 0 + new 1 @@ -3215,7 +3215,7 @@ 0 1 - 0 + new 1 @@ -3319,7 +3319,7 @@ 0 1 - 0 + new 1 @@ -3423,7 +3423,7 @@ 0 1 - 0 + new 1 @@ -3527,7 +3527,7 @@ 0 1 - 0 + new 1 @@ -3631,7 +3631,7 @@ 0 1 - 0 + new 1 @@ -3735,7 +3735,7 @@ 0 1 - 0 + new 1 @@ -3839,7 +3839,7 @@ 0 1 - 0 + new 1 @@ -3943,7 +3943,7 @@ 0 1 - 0 + new 1 @@ -4047,7 +4047,7 @@ 0 1 - 0 + new 1 @@ -4151,7 +4151,7 @@ 0 1 - 0 + new 1 @@ -4255,7 +4255,7 @@ 0 1 - 0 + new 1 @@ -4359,7 +4359,7 @@ 0 1 - 0 + new 1 @@ -4463,7 +4463,7 @@ 0 1 - 0 + new 1 @@ -4567,7 +4567,7 @@ 0 1 - 0 + new 1 @@ -4671,7 +4671,7 @@ 0 1 - 0 + new 1 diff --git a/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByIdVisitAsc__Live.getLastVisitsDetails_month.xml b/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByIdVisitAsc__Live.getLastVisitsDetails_month.xml index cfc7a48e6e..02678e9aee 100644 --- a/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByIdVisitAsc__Live.getLastVisitsDetails_month.xml +++ b/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByIdVisitAsc__Live.getLastVisitsDetails_month.xml @@ -43,7 +43,7 @@ - 0 + new 1 @@ -197,7 +197,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -320,7 +320,7 @@ - 0 + new 1 @@ -474,7 +474,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -597,7 +597,7 @@ - 0 + new 1 @@ -751,7 +751,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -866,7 +866,7 @@ - 0 + new 1 diff --git a/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByIdVisit__Live.getLastVisitsDetails_month.xml b/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByIdVisit__Live.getLastVisitsDetails_month.xml index 08efeed493..47c2f38c4e 100644 --- a/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByIdVisit__Live.getLastVisitsDetails_month.xml +++ b/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByIdVisit__Live.getLastVisitsDetails_month.xml @@ -181,7 +181,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -306,7 +306,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -445,7 +445,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -570,7 +570,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -726,7 +726,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -851,7 +851,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 diff --git a/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByVisitCount__Live.getLastVisitsDetails_month.xml b/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByVisitCount__Live.getLastVisitsDetails_month.xml index af635609ab..8c0eba69bb 100644 --- a/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByVisitCount__Live.getLastVisitsDetails_month.xml +++ b/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByVisitCount__Live.getLastVisitsDetails_month.xml @@ -74,7 +74,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -199,7 +199,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -355,7 +355,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -494,7 +494,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -619,7 +619,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -744,7 +744,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 diff --git a/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortDesc__Live.getLastVisitsDetails_month.xml b/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortDesc__Live.getLastVisitsDetails_month.xml index 08efeed493..47c2f38c4e 100644 --- a/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortDesc__Live.getLastVisitsDetails_month.xml +++ b/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortDesc__Live.getLastVisitsDetails_month.xml @@ -181,7 +181,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -306,7 +306,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -445,7 +445,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -570,7 +570,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -726,7 +726,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -851,7 +851,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 diff --git a/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest__Live.getLastVisitsDetails_month.xml b/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest__Live.getLastVisitsDetails_month.xml index 59c6334162..ce1748a73a 100644 --- a/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest__Live.getLastVisitsDetails_month.xml +++ b/tests/PHPUnit/Integration/expected/test_ManyVisitorsOneWebsiteTest__Live.getLastVisitsDetails_month.xml @@ -181,7 +181,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -306,7 +306,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -445,7 +445,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -570,7 +570,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -726,7 +726,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -851,7 +851,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -990,7 +990,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -1115,7 +1115,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -1271,7 +1271,7 @@ - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_withCookieSupport__Live.getLastVisitsDetails_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_withCookieSupport__Live.getLastVisitsDetails_day.xml index b49b3c5e84..2ceb5d70bf 100644 --- a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_withCookieSupport__Live.getLastVisitsDetails_day.xml +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_withCookieSupport__Live.getLastVisitsDetails_day.xml @@ -36,7 +36,7 @@ 0 1 - 0 + returning plugins/Live/images/returningVisitor.gif 1 @@ -224,7 +224,7 @@ 1 8 - 0 + new 1 diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitor_NoKeywordSpecified__Live.getLastVisitsDetails_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitor_NoKeywordSpecified__Live.getLastVisitsDetails_day.xml index a7fdbfae5e..9175168a74 100644 --- a/tests/PHPUnit/Integration/expected/test_OneVisitor_NoKeywordSpecified__Live.getLastVisitsDetails_day.xml +++ b/tests/PHPUnit/Integration/expected/test_OneVisitor_NoKeywordSpecified__Live.getLastVisitsDetails_day.xml @@ -4,7 +4,6 @@ 1 2 156.5.0.0 - @@ -24,6 +23,7 @@ + new 0 @@ -101,7 +101,6 @@ 1 1 156.5.0.0 - @@ -131,6 +130,7 @@ + new 1 diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitor_SeveralDays_ImportedInRandomOrderTest_shouldShowOneVisit_InEachOfThreeDays__Live.getLastVisitsDetails_month.xml b/tests/PHPUnit/Integration/expected/test_OneVisitor_SeveralDays_ImportedInRandomOrderTest_shouldShowOneVisit_InEachOfThreeDays__Live.getLastVisitsDetails_month.xml index 6b02eec11b..f77489d7a3 100644 --- a/tests/PHPUnit/Integration/expected/test_OneVisitor_SeveralDays_ImportedInRandomOrderTest_shouldShowOneVisit_InEachOfThreeDays__Live.getLastVisitsDetails_month.xml +++ b/tests/PHPUnit/Integration/expected/test_OneVisitor_SeveralDays_ImportedInRandomOrderTest_shouldShowOneVisit_InEachOfThreeDays__Live.getLastVisitsDetails_month.xml @@ -30,7 +30,7 @@ 2013-04-07 10:00:00 0 1 - 0 + new 0 @@ -123,7 +123,7 @@ 2013-04-06 11:00:00 0 1 - 0 + new 0 @@ -216,7 +216,7 @@ 2013-04-05 12:00:00 0 1 - 0 + new 0 diff --git a/tests/PHPUnit/Integration/expected/test_PivotByQueryParamTest_test_PivotBySubtableDimension_WhenEntireHirearchyIsNotLoaded__Referrers.getKeywords_week.xml b/tests/PHPUnit/Integration/expected/test_PivotByQueryParamTest_test_PivotBySubtableDimension_WhenEntireHirearchyIsNotLoaded__Referrers.getKeywords_week.xml index 071ef336c0..6ab5630422 100644 --- a/tests/PHPUnit/Integration/expected/test_PivotByQueryParamTest_test_PivotBySubtableDimension_WhenEntireHirearchyIsNotLoaded__Referrers.getKeywords_week.xml +++ b/tests/PHPUnit/Integration/expected/test_PivotByQueryParamTest_test_PivotBySubtableDimension_WhenEntireHirearchyIsNotLoaded__Referrers.getKeywords_week.xml @@ -54,4 +54,4 @@ 0 0 - + \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_TimezonesTest__Live.getLastVisitsDetails_day.xml b/tests/PHPUnit/Integration/expected/test_TimezonesTest__Live.getLastVisitsDetails_day.xml index b4156876a6..4d5a3bb878 100644 --- a/tests/PHPUnit/Integration/expected/test_TimezonesTest__Live.getLastVisitsDetails_day.xml +++ b/tests/PHPUnit/Integration/expected/test_TimezonesTest__Live.getLastVisitsDetails_day.xml @@ -25,7 +25,7 @@ 0 1 - 0 + new 0 diff --git a/tests/PHPUnit/Integration/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_html_tables_and_graph__ScheduledReports.generateReport_month.original.html b/tests/PHPUnit/Integration/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_html_tables_and_graph__ScheduledReports.generateReport_month.original.html index 46ba01f039..c5183f184f 100644 --- a/tests/PHPUnit/Integration/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_html_tables_and_graph__ScheduledReports.generateReport_month.original.html +++ b/tests/PHPUnit/Integration/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_html_tables_and_graph__ScheduledReports.generateReport_month.original.html @@ -148,6 +148,16 @@ Downloads + +
  • + + Content Name + +
  • +
  • + + Content Piece +
  • @@ -438,7 +448,7 @@ Users - 1 + 0 @@ -3817,6 +3827,16 @@ Downloads + There is no data for this report. +

    + Content Name +

    + + There is no data for this report. +

    + Content Piece +

    + There is no data for this report.

    Event Categories diff --git a/tests/PHPUnit/Integration/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_pdf_tables_only__ScheduledReports.generateReport_month.original.pdf b/tests/PHPUnit/Integration/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_pdf_tables_only__ScheduledReports.generateReport_month.original.pdf index 5fecafa369..7891c7d5ca 100644 Binary files a/tests/PHPUnit/Integration/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_pdf_tables_only__ScheduledReports.generateReport_month.original.pdf and b/tests/PHPUnit/Integration/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_pdf_tables_only__ScheduledReports.generateReport_month.original.pdf differ diff --git a/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__Live.getLastVisitsDetails_month.xml b/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__Live.getLastVisitsDetails_month.xml index 4bab18470e..cc28b360a0 100644 --- a/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__Live.getLastVisitsDetails_month.xml +++ b/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__Live.getLastVisitsDetails_month.xml @@ -16,7 +16,7 @@ 2010-03-06 11:22:33 1 - 0 + 2 @@ -45,11 +45,11 @@ 2010-03-06 11:28:33 2 - 0 + 3 - 6be121d126d93581 + 9395988394d4568d action @@ -58,17 +58,10 @@ 6 Sat 6 Mar 13:16:33 4 + 360 + 6 min 0s - - 2010-03-06 13:16:33 - 1 - 0 - - - 4 - 9395988394d4568d - action http://example.org/index.htm @@ -91,11 +84,11 @@ 2010-03-06 13:28:33 - 2 + 3 email@example.com - 5 + 4 c9ade7a5a103b2ed @@ -113,7 +106,7 @@ new-email@example.com - 6 + 5 c9ade7a5a103b2ed @@ -168,7 +161,7 @@ new-email@example.com - 7 + 6 5e15b4d842cc294d @@ -183,10 +176,10 @@ 2010-03-06 16:28:33 1 - 0 + - 8 + 7 9395988394d4568d @@ -204,7 +197,7 @@ email@example.com - 9 + 8 72d4b5565daf5546 diff --git a/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_day.xml b/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_day.xml index fae6d03541..ca85e8dede 100644 --- a/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_day.xml +++ b/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_day.xml @@ -1,14 +1,14 @@ - 6 + 5 2 - 7 + 6 10 1 - 4 - 1623 - 2 - 57% - 1.4 - 232 + 3 + 1983 + 3 + 50% + 1.7 + 331 \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_month.xml b/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_month.xml index fb725dd44a..7731535795 100644 --- a/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_month.xml +++ b/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_month.xml @@ -1,14 +1,14 @@ - 7 + 6 3 - 9 + 8 12 1 - 6 - 1623 - 2 - 67% - 1.3 - 180 + 5 + 1983 + 3 + 63% + 1.5 + 248 \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_week.xml b/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_week.xml index fae6d03541..ca85e8dede 100644 --- a/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_week.xml +++ b/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_week.xml @@ -1,14 +1,14 @@ - 6 + 5 2 - 7 + 6 10 1 - 4 - 1623 - 2 - 57% - 1.4 - 232 + 3 + 1983 + 3 + 50% + 1.7 + 331 \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_year.xml b/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_year.xml index 27c9a85e60..84850ee827 100644 --- a/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_year.xml +++ b/tests/PHPUnit/Integration/expected/test_UserId_VisitorId__VisitsSummary.get_year.xml @@ -1,12 +1,12 @@ - 9 + 8 12 1 - 6 - 1623 - 2 - 67% - 1.3 - 180 + 5 + 1983 + 3 + 63% + 1.5 + 248 \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_csvExport__Live.getLastVisitsDetails_day.csv b/tests/PHPUnit/Integration/expected/test_csvExport__Live.getLastVisitsDetails_day.csv index 76e1434585..c287c4bf01 100644 Binary files a/tests/PHPUnit/Integration/expected/test_csvExport__Live.getLastVisitsDetails_day.csv and b/tests/PHPUnit/Integration/expected/test_csvExport__Live.getLastVisitsDetails_day.csv differ diff --git a/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_LiveEcommerceStatusOrdered__Live.getLastVisitsDetails_day.xml b/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_LiveEcommerceStatusOrdered__Live.getLastVisitsDetails_day.xml index 52c78b5310..25ac19a415 100644 --- a/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_LiveEcommerceStatusOrdered__Live.getLastVisitsDetails_day.xml +++ b/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_LiveEcommerceStatusOrdered__Live.getLastVisitsDetails_day.xml @@ -51,7 +51,7 @@ 0 0 - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 @@ -262,7 +262,7 @@ 0 3 - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 1 diff --git a/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems__Live.getLastVisitsDetails_day.xml b/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems__Live.getLastVisitsDetails_day.xml index 0bd82be2b7..30ae50eb8f 100644 --- a/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems__Live.getLastVisitsDetails_day.xml +++ b/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems__Live.getLastVisitsDetails_day.xml @@ -127,7 +127,7 @@ 0 3 - 0 + returningCustomer plugins/Live/images/returningVisitor.gif 0 @@ -457,7 +457,7 @@ 0 6 - 0 + returning plugins/Live/images/returningVisitor.gif 1 @@ -677,7 +677,7 @@ 0 4 - 0 + new 1 diff --git a/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_and_graph__ScheduledReports.generateReport_week.original.html b/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_and_graph__ScheduledReports.generateReport_week.original.html index 1afd49dd9c..b5f59686c4 100644 --- a/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_and_graph__ScheduledReports.generateReport_week.original.html +++ b/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_and_graph__ScheduledReports.generateReport_week.original.html @@ -193,6 +193,16 @@ Downloads +

  • +
  • + + Content Name + +
  • +
  • + + Content Piece +
  • @@ -498,7 +508,7 @@ Users - 1 + 0 @@ -4872,6 +4882,16 @@ Downloads + There is no data for this report. +

    + Content Name +

    + + There is no data for this report. +

    + Content Piece +

    + There is no data for this report.

    Event Categories diff --git a/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_pdf_tables_only__ScheduledReports.generateReport_week.original.pdf b/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_pdf_tables_only__ScheduledReports.generateReport_week.original.pdf index 0bb4a30c17..e8e37848fd 100644 Binary files a/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_pdf_tables_only__ScheduledReports.generateReport_week.original.pdf and b/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_pdf_tables_only__ScheduledReports.generateReport_week.original.pdf differ diff --git a/tests/PHPUnit/Integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getLastVisitsDetails_range.xml b/tests/PHPUnit/Integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getLastVisitsDetails_range.xml index 0a241b4081..8112427124 100644 --- a/tests/PHPUnit/Integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getLastVisitsDetails_range.xml +++ b/tests/PHPUnit/Integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getLastVisitsDetails_range.xml @@ -25,7 +25,7 @@ 0 1 - 0 + new 0 @@ -140,7 +140,7 @@ 0 1 - 0 + new 1 @@ -311,7 +311,7 @@ 0 3 - 0 + new 1 diff --git a/tests/PHPUnit/Integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getVisitorProfile.xml b/tests/PHPUnit/Integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getVisitorProfile.xml index e75075382d..20546709ec 100644 --- a/tests/PHPUnit/Integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getVisitorProfile.xml +++ b/tests/PHPUnit/Integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getVisitorProfile.xml @@ -68,7 +68,7 @@ 0 1 - 0 + new 0 @@ -184,7 +184,7 @@ 0 1 - 0 + new 1 -- cgit v1.2.3