diff --git a/core/ArchiveProcessing/Day.php b/core/ArchiveProcessing/Day.php index 02e3064fcb5d041cd0128ffd3d6f390ce378c2a5..00961cc8e8e00b9ac1f38186699ed4941554aba6 100644 --- a/core/ArchiveProcessing/Day.php +++ b/core/ArchiveProcessing/Day.php @@ -536,15 +536,19 @@ class Piwik_ArchiveProcessing_Day extends Piwik_ArchiveProcessing * * @return array */ - public function getNewInterestRow($onlyMetricsAvailableInActionsTable = false) + public function getNewInterestRow($onlyMetricsAvailableInActionsTable = false, $doNotSumVisits = false) { if($onlyMetricsAvailableInActionsTable) { - return array( Piwik_Archive::INDEX_NB_UNIQ_VISITORS => 0, + if($doNotSumVisits) + { + return array(Piwik_Archive::INDEX_NB_ACTIONS => 0 ); + } + return array( + Piwik_Archive::INDEX_NB_UNIQ_VISITORS => 0, Piwik_Archive::INDEX_NB_VISITS => 0, Piwik_Archive::INDEX_NB_ACTIONS => 0 ); } - return array( Piwik_Archive::INDEX_NB_UNIQ_VISITORS => 0, Piwik_Archive::INDEX_NB_VISITS => 0, Piwik_Archive::INDEX_NB_ACTIONS => 0, @@ -552,7 +556,7 @@ class Piwik_ArchiveProcessing_Day extends Piwik_ArchiveProcessing Piwik_Archive::INDEX_SUM_VISIT_LENGTH => 0, Piwik_Archive::INDEX_BOUNCE_COUNT => 0, Piwik_Archive::INDEX_NB_VISITS_CONVERTED=> 0, - ); + ); } @@ -581,15 +585,18 @@ class Piwik_ArchiveProcessing_Day extends Piwik_ArchiveProcessing * @param array $newRowToAdd * @param array $oldRowToUpdate */ - public function updateInterestStats( $newRowToAdd, &$oldRowToUpdate, $onlyMetricsAvailableInActionsTable = false) + public function updateInterestStats( $newRowToAdd, &$oldRowToUpdate, $onlyMetricsAvailableInActionsTable = false, $doNotSumVisits = false) { // Pre 1.2 format: string indexed rows are returned from the DB // Left here for Backward compatibility with plugins doing custom SQL queries using these metrics as string if(!isset($newRowToAdd[Piwik_Archive::INDEX_NB_VISITS])) { - $oldRowToUpdate[Piwik_Archive::INDEX_NB_UNIQ_VISITORS] += $newRowToAdd['nb_uniq_visitors']; - $oldRowToUpdate[Piwik_Archive::INDEX_NB_VISITS] += $newRowToAdd['nb_visits']; - $oldRowToUpdate[Piwik_Archive::INDEX_NB_ACTIONS] += $newRowToAdd['nb_actions']; + if(!$doNotSumVisits) + { + $oldRowToUpdate[Piwik_Archive::INDEX_NB_UNIQ_VISITORS] += $newRowToAdd['nb_uniq_visitors']; + $oldRowToUpdate[Piwik_Archive::INDEX_NB_VISITS] += $newRowToAdd['nb_visits']; + } + $oldRowToUpdate[Piwik_Archive::INDEX_NB_ACTIONS] += $newRowToAdd['nb_actions']; if($onlyMetricsAvailableInActionsTable) { return; @@ -600,16 +607,17 @@ class Piwik_ArchiveProcessing_Day extends Piwik_ArchiveProcessing $oldRowToUpdate[Piwik_Archive::INDEX_NB_VISITS_CONVERTED] += $newRowToAdd['nb_visits_converted']; return; } - - $oldRowToUpdate[Piwik_Archive::INDEX_NB_UNIQ_VISITORS] += $newRowToAdd[Piwik_Archive::INDEX_NB_UNIQ_VISITORS]; - $oldRowToUpdate[Piwik_Archive::INDEX_NB_VISITS] += $newRowToAdd[Piwik_Archive::INDEX_NB_VISITS]; + if(!$doNotSumVisits) + { + $oldRowToUpdate[Piwik_Archive::INDEX_NB_UNIQ_VISITORS] += $newRowToAdd[Piwik_Archive::INDEX_NB_UNIQ_VISITORS]; + $oldRowToUpdate[Piwik_Archive::INDEX_NB_VISITS] += $newRowToAdd[Piwik_Archive::INDEX_NB_VISITS]; + } $oldRowToUpdate[Piwik_Archive::INDEX_NB_ACTIONS] += $newRowToAdd[Piwik_Archive::INDEX_NB_ACTIONS]; // Hack for Price tracking on Ecommerce product/category pages // The price is not summed, but AVG is taken in the SQL query $index = Piwik_Archive::INDEX_ECOMMERCE_ITEM_PRICE_VIEWED; - if(isset($newRowToAdd[$index]) - && !empty($newRowToAdd[$index])) + if(!empty($newRowToAdd[$index])) { $oldRowToUpdate[$index] = (float)$newRowToAdd[$index]; } diff --git a/core/DataTable/Filter/AddColumnsProcessedMetrics.php b/core/DataTable/Filter/AddColumnsProcessedMetrics.php index 4b7b99b1cbab6ac660fba8994abf88446aaf5b4e..a101c649d75f93741d1f2a0acfba52e978b532a2 100644 --- a/core/DataTable/Filter/AddColumnsProcessedMetrics.php +++ b/core/DataTable/Filter/AddColumnsProcessedMetrics.php @@ -38,7 +38,9 @@ class Piwik_DataTable_Filter_AddColumnsProcessedMetrics extends Piwik_DataTable_ foreach($table->getRows() as $key => $row) { $nbVisits = $this->getColumn($row, Piwik_Archive::INDEX_NB_VISITS); + $nbActions = $this->getColumn($row, Piwik_Archive::INDEX_NB_ACTIONS); if($nbVisits == 0 + && $nbActions == 0 && $this->deleteRowsWithNoVisit) { // case of keyword/website/campaign with a conversion for this day, @@ -48,7 +50,7 @@ class Piwik_DataTable_Filter_AddColumnsProcessedMetrics extends Piwik_DataTable_ } $nbVisitsConverted = (int)$this->getColumn($row, Piwik_Archive::INDEX_NB_VISITS_CONVERTED); - if($nbVisitsConverted != 0) + if($nbVisitsConverted > 0) { $conversionRate = round(100 * $nbVisitsConverted / $nbVisits, $this->roundPrecision); $row->addColumn('conversion_rate', $conversionRate."%"); @@ -63,7 +65,7 @@ class Piwik_DataTable_Filter_AddColumnsProcessedMetrics extends Piwik_DataTable_ // nb_actions / nb_visits => Actions/visit // sum_visit_length / nb_visits => Avg. Time on Site // bounce_count / nb_visits => Bounce Rate - $actionsPerVisit = round($this->getColumn($row, Piwik_Archive::INDEX_NB_ACTIONS) / $nbVisits, $this->roundPrecision); + $actionsPerVisit = round($nbActions / $nbVisits, $this->roundPrecision); $averageTimeOnSite = round($this->getColumn($row, Piwik_Archive::INDEX_SUM_VISIT_LENGTH) / $nbVisits, $rounding = 0); $bounceRate = round(100 * $this->getColumn($row, Piwik_Archive::INDEX_BOUNCE_COUNT) / $nbVisits, $this->roundPrecision); } diff --git a/core/ViewDataTable/HtmlTable/AllColumns.php b/core/ViewDataTable/HtmlTable/AllColumns.php index 3c1ea0a846c03bdba4ec739769ea819fefd275b7..e025e5561a6da84fe48bb32394b9a91f06dd4718 100644 --- a/core/ViewDataTable/HtmlTable/AllColumns.php +++ b/core/ViewDataTable/HtmlTable/AllColumns.php @@ -53,6 +53,7 @@ class Piwik_ViewDataTable_HtmlTable_AllColumns extends Piwik_ViewDataTable_HtmlT $this->setColumnsToDisplay(array('label', 'nb_visits', $columnUniqueVisitors, + 'nb_actions', 'nb_actions_per_visit', 'avg_time_on_site', 'bounce_rate', diff --git a/plugins/Actions/API.php b/plugins/Actions/API.php index d028b4026d3f88b098180e163f9f1ca6b290f55f..ed76c4c5046ec19a8898c2f1b8421ac4c8048f70 100644 --- a/plugins/Actions/API.php +++ b/plugins/Actions/API.php @@ -129,7 +129,11 @@ class Piwik_Actions_API else { $idSite = $callBackParameters[1]; - $searchedString = Piwik_Tracker_Action::excludeQueryParametersFromUrl($search, $idSite); + try { + $searchedString = Piwik_Tracker_Action::excludeQueryParametersFromUrl($search, $idSite); + } catch(Exception $e) { + $searchedString = $search; + } } $searchTree = Piwik_Actions::getActionExplodedNames($searchedString, $actionType); } @@ -146,6 +150,7 @@ class Piwik_Actions_API // if an array occurs inside the nested table, we only look for the first match (see below) $newTableArray = new Piwik_DataTable_Array; $newTableArray->metadata = $table->metadata; + $newTableArray->setKeyName($table->getKeyName()); foreach ($table->getArray() as $label => $subTable) { diff --git a/plugins/CustomVariables/API.php b/plugins/CustomVariables/API.php index c879ef3c1a99f33a9f8799e27ba8b48e583a578a..8f425df3203b054d85d0663c51396babff7573d7 100644 --- a/plugins/CustomVariables/API.php +++ b/plugins/CustomVariables/API.php @@ -77,15 +77,24 @@ class Piwik_CustomVariables_API /** * @return Piwik_DataTable */ - public function getCustomVariablesValuesFromNameId($idSite, $period, $date, $idSubtable, $segment = false) + public function getCustomVariablesValuesFromNameId($idSite, $period, $date, $idSubtable, $segment = false, $_leavePriceViewedColumn = false) { $dataTable = $this->getDataTable($idSite, $period, $date, $segment, $expanded = false, $idSubtable); - // Hack Ecommerce product price tracking to display correctly - $dataTable->renameColumn('price_viewed', 'price'); - $dataTable->queueFilter('ColumnCallbackReplace', - array('label', create_function('$label', 'return $label == Piwik_CustomVariables::LABEL_CUSTOM_VALUE_NOT_DEFINED ? "'. Piwik_Translate( 'General_NotDefined', Piwik_Translate('CustomVariables_ColumnCustomVariableValue')) .'" : $label;'))); + if(!$_leavePriceViewedColumn) + { + $dataTable->deleteColumn('price_viewed'); + } + else + { + // Hack Ecommerce product price tracking to display correctly + $dataTable->renameColumn('price_viewed', 'price'); + } + $dataTable->queueFilter('ColumnCallbackReplace', array('label', create_function('$label', ' + return $label == Piwik_CustomVariables::LABEL_CUSTOM_VALUE_NOT_DEFINED + ? "'. Piwik_Translate( 'General_NotDefined', Piwik_Translate('CustomVariables_ColumnCustomVariableValue')) .'" + : $label;'))); return $dataTable; } } diff --git a/plugins/CustomVariables/Controller.php b/plugins/CustomVariables/Controller.php index c12b7df64079c57b4650199e86e661f13ad8d188..83f206ae02c638475aa343627fd7d985cda392f1 100644 --- a/plugins/CustomVariables/Controller.php +++ b/plugins/CustomVariables/Controller.php @@ -32,7 +32,7 @@ class Piwik_CustomVariables_Controller extends Piwik_Controller $this->setPeriodVariablesView($view); $view->enableShowGoals(); - $view->setColumnsToDisplay( array('label','nb_visits') ); + $view->setColumnsToDisplay( array('label','nb_visits', 'nb_actions') ); $view->setColumnTranslation('label', Piwik_Translate('CustomVariables_ColumnCustomVariableName')); $view->setSortedColumn( 'nb_visits' ); $view->setLimit( 10 ); @@ -46,8 +46,9 @@ class Piwik_CustomVariables_Controller extends Piwik_Controller $view->init( $this->pluginName, __FUNCTION__, 'CustomVariables.getCustomVariablesValuesFromNameId' ); $view->disableSearchBox(); + $view->enableShowGoals(); $view->disableExcludeLowPopulation(); - $view->setColumnsToDisplay( array('label','nb_visits') ); + $view->setColumnsToDisplay( array('label','nb_visits', 'nb_actions') ); $view->setColumnTranslation('label', Piwik_Translate('CustomVariables_ColumnCustomVariableValue')); return $this->renderView($view, $fetch); diff --git a/plugins/CustomVariables/CustomVariables.php b/plugins/CustomVariables/CustomVariables.php index 1ae0e29fead63d60ba5cb1733a2f2ec736516314..dc83830216c760efafe75c4a2e9b1f8a1259822f 100644 --- a/plugins/CustomVariables/CustomVariables.php +++ b/plugins/CustomVariables/CustomVariables.php @@ -198,6 +198,12 @@ class Piwik_CustomVariables extends Piwik_Plugin $label = $row[$valueField]; + // Remove price tracked if it's zero or we if we are not currently tracking an ecommerce var + if(!in_array($row[$keyField], array('_pks', '_pkn', '_pkc'))) + { + unset($row[Piwik_Archive::INDEX_ECOMMERCE_ITEM_PRICE_VIEWED]); + } + // when custom variable value is a JSON array of categories // possibly JSON value $mustInsertCustomVariableValue = true; @@ -234,12 +240,16 @@ class Piwik_CustomVariables extends Piwik_Plugin $archiveProcessing->updateInterestStats( $row, $this->interestByCustomVariablesAndValue[$row[$keyField]][$row[$valueField]], $onlyMetricsAvailableInActionsTable); } - // Hack: when tracking Ecommerce product page view, we do not wish - // to track the "price" in the Custom Variable name report, only in the values report + // Do not report on Price viewed for the Custom Variable names unset($row[Piwik_Archive::INDEX_ECOMMERCE_ITEM_PRICE_VIEWED]); - if(!isset($this->interestByCustomVariables[$row[$keyField]])) $this->interestByCustomVariables[$row[$keyField]]= $archiveProcessing->getNewInterestRow($onlyMetricsAvailableInActionsTable); - $archiveProcessing->updateInterestStats( $row, $this->interestByCustomVariables[$row[$keyField]], $onlyMetricsAvailableInActionsTable); + // When tracking Custom Variables with scope=page we do not add up visits numbers + // as it is incorrect to sum visits this way + // for scope=visit this is allowed, since there is supposed to be one custom var value per custom variable name for a given visit + $doNotSumVisits = true; + + if(!isset($this->interestByCustomVariables[$row[$keyField]])) $this->interestByCustomVariables[$row[$keyField]]= $archiveProcessing->getNewInterestRow($onlyMetricsAvailableInActionsTable, $doNotSumVisits); + $archiveProcessing->updateInterestStats( $row, $this->interestByCustomVariables[$row[$keyField]], $onlyMetricsAvailableInActionsTable, $doNotSumVisits); } // Custom Vars names and values metrics for Goals diff --git a/plugins/Goals/API.php b/plugins/Goals/API.php index 88acb3b2f9384f4776d3b68ca8808cfb6836587e..0ce4212a13cee05bc05eae179464847b7ed49ea9 100644 --- a/plugins/Goals/API.php +++ b/plugins/Goals/API.php @@ -295,7 +295,7 @@ class Piwik_Goals_API protected function enrichItemsDataTableWithItemsViewMetrics($dataTable, $idSite, $period, $date, $idSubtable) { - $ecommerceViews = Piwik_CustomVariables_API::getInstance()->getCustomVariablesValuesFromNameId($idSite, $period, $date, $idSubtable); + $ecommerceViews = Piwik_CustomVariables_API::getInstance()->getCustomVariablesValuesFromNameId($idSite, $period, $date, $idSubtable, $segment = false, $_leavePriceViewedColumn = true); // For Product names and SKU reports, and for Category report // Use the Price (tracked on page views) diff --git a/tests/integration/Integration.php b/tests/integration/Integration.php index d72cbeddca7b731adbb19256db0f988ee5bc2c14..a7e79f3b804bad4d6371b2d0d7171f9174d4d834 100644 --- a/tests/integration/Integration.php +++ b/tests/integration/Integration.php @@ -364,10 +364,10 @@ abstract class Test_Integration extends Test_Database // Used in Actions.getPageUrl, .getDownload, etc. // tied to Main.test.php doTest_oneVisitorTwoVisits // will need refactoring when these same API functions are tested in a new function - 'downloadUrl' => 'http://piwik.org/path/again/latest.zip?phpsessid=this is ignored when searching', - 'outlinkUrl' => 'http://dev.piwik.org/svn', - 'pageUrl' => 'http://example.org/index.htm?sessionid=this is also ignored by default', - 'pageName' => ' Checkout / Purchasing... ', + 'downloadUrl' => urlencode('http://piwik.org/path/again/latest.zip?phpsessid=this is ignored when searching'), + 'outlinkUrl' => urlencode('http://dev.piwik.org/svn'), + 'pageUrl' => urlencode('http://example.org/index.htm?sessionid=this is also ignored by default'), + 'pageName' => urlencode(' Checkout / Purchasing... '), // do not show the millisec timer in response or tests would always fail as value is changing 'showTimer' => 0, @@ -396,7 +396,7 @@ abstract class Test_Integration extends Test_Database { $parametersToSet['idGoal'] = $idGoal; } - // Give it enough time for the current API test to finish (call all get* APIs) + Zend_Registry::get('config')->General->time_before_today_archive_considered_outdated = 10; $requestUrls = $this->generateUrlsApi($parametersToSet, $formats, $periods, $setDateLastN, $language, $segment); diff --git a/tests/integration/Main.test.php b/tests/integration/Main.test.php index fabbc84a5047690374e6c5978fe50919eb64669a..5e93edf495e809fab4627240cec29f35571549f0 100644 --- a/tests/integration/Main.test.php +++ b/tests/integration/Main.test.php @@ -399,7 +399,7 @@ class Test_Piwik_Integration_Main extends Test_Integration // test with excluded IP $t->setUserAgent('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 (.NET CLR 3.5.30729)'); // restore normal user agent $excludedIp = '154.1.12.34'; - Piwik_SitesManager_API::getInstance()->updateSite($idSite, 'new site name', $url=array('http://site.com'), $ecommerce = 0, $excludedIp . ',1.2.3.4'); + Piwik_SitesManager_API::getInstance()->updateSite($idSite, 'new site name', $url=array('http://site.com'),$ecommerce = 0, $excludedIp . ',1.2.3.4'); $t->setIp($excludedIp); $this->checkResponse($t->doTrackPageView('visit from IP excluded')); @@ -474,7 +474,7 @@ class Test_Piwik_Integration_Main extends Test_Integration // Testing URL excluded parameters $parameterToExclude = 'excluded_parameter'; - Piwik_SitesManager_API::getInstance()->updateSite($idSite, 'new name', $url=array('http://site.com'), $ecommerce = 0, null, $parameterToExclude . ',anotherParameter'); + Piwik_SitesManager_API::getInstance()->updateSite($idSite, 'new name', $url=array('http://site.com'),$ecommerce = 0, $excludedIps = null, $parameterToExclude . ',anotherParameter'); // Record 1st page view $urlPage1 = 'http://example.org/index.htm?excluded_Parameter=SHOULD_NOT_DISPLAY¶meter=Should display'; @@ -550,14 +550,17 @@ class Test_Piwik_Integration_Main extends Test_Integration 'Referers.getWebsites', 'Actions.getPageUrls', 'Actions.getPageTitles', - 'Actions.getOutlinks'); + 'Actions.getOutlinks', + 'Actions.getPageTitle', + 'Actions.getPageUrl' + ); $this->setApiToCall($apiToCall); // - // First visitor on Idsite 1: two page views $datetimeSpanOverTwoDays = '2010-01-03 23:55:00'; $visitorA = $this->getTracker($idSite, $datetimeSpanOverTwoDays, $defaultInit = true); $visitorA->setUrlReferrer( 'http://referer.com/page.htm?param=valuewith some spaces'); - $visitorA->setUrl('http://example.org/homepage'); + $visitorA->setUrl('http://example.org/index.htm'); $this->checkResponse($visitorA->doTrackPageView('first page view')); $visitorA->setForceVisitDateTime(Piwik_Date::factory($datetimeSpanOverTwoDays)->addHour(0.1)->getDatetime()); // Testing with empty URL and empty page title @@ -583,7 +586,7 @@ class Test_Piwik_Integration_Main extends Test_Integration $visitorB->DEBUG_APPEND_URL = '&_idvc=2'; $visitorB->setUrlReferrer( 'http://referer.com/Other_Page.htm' ); - $visitorB->setUrl('http://example.org/homepage'); + $visitorB->setUrl('http://example.org/index.htm'); $this->checkResponse($visitorB->doTrackPageView('second visitor/two days later/a new visit')); // Second page view 6 minutes later $visitorB->setForceVisitDateTime(Piwik_Date::factory($dateTime)->addHour(48)->addHour(0.1)->getDatetime()); @@ -596,6 +599,10 @@ class Test_Piwik_Integration_Main extends Test_Integration $visitorB->setForceVisitDateTime(Piwik_Date::factory($dateTime)->addHour(48)->addHour(0.25)->getDatetime()); $this->checkResponse($visitorB->doTrackAction('mailto:test@example.org/strangelink', 'link')); + // Actions.getPageTitle tested with this title + $visitorB->setForceVisitDateTime(Piwik_Date::factory($dateTime)->addHour(48)->addHour(0.25)->getDatetime()); + $this->checkResponse($visitorB->doTrackPageView('Checkout / Purchasing...')); + // - // First visitor on Idsite 2: one page view, with Website referer $visitorAsite2 = $this->getTracker($idSite2, Piwik_Date::factory($dateTime)->addHour(24)->getDatetime(), $defaultInit = true); @@ -611,9 +618,12 @@ class Test_Piwik_Integration_Main extends Test_Integration // $this->checkResponse($t2->doTrackPageView('I\'m a returning visitor...')); $periods = array('day', 'week', 'month', 'year'); - // Request data for the last 6 periods + // Request data for the last 6 periods and idSite=all $this->callGetApiCompareOutput(__FUNCTION__, 'xml', $allSites = 'all', $dateTime, $periods, $setDateLastN = true); + // Request data for the last 6 periods and idSite=1 + $this->callGetApiCompareOutput(__FUNCTION__.'_idSiteOne_', 'xml', $idSite, $dateTime, array('day','month'), $setDateLastN = true); + // We also test a single period to check that this use case (Reports per idSite in the response) works $this->setApiToCall(array('VisitsSummary.get', 'Goals.get')); $this->callGetApiCompareOutput(__FUNCTION__ . '_NotLastNPeriods', 'xml', $allSites = 'all', $dateTime, array('day', 'month'), $setDateLastN = false); @@ -621,6 +631,7 @@ class Test_Piwik_Integration_Main extends Test_Integration // testing metadata API for multiple periods $this->setApiNotToCall(array()); $this->setApiToCall( array('API.getProcessedReport' ) ); + $apiToCall = array_diff($apiToCall, array('Actions.getPageTitle', 'Actions.getPageUrl')); foreach($apiToCall as $api) { list($apiModule, $apiAction) = explode(".", $api); @@ -664,9 +675,14 @@ class Test_Piwik_Integration_Main extends Test_Integration $visitorA->setForceVisitDateTime(Piwik_Date::factory($dateTime)->addHour(0.2)->getDatetime()); $visitorA->setUrl('http://example.org/user/profile'); $visitorA->setCustomVariable($id = 1, $name = 'VisitorType', $value = 'LoggedIn'); + $visitorA->setCustomVariable($id = 4, $name = 'Status user', $value = 'Loggedin', $scope = 'page'); + $visitorA->setCustomVariable($id = 5, $name = 'Status user', $value = 'looking at profile page', $scope = 'page'); $this->checkResponse($visitorA->doTrackPageView('Profile page')); $visitorA->setCustomVariable($id = 2, $name = 'SET WITH EMPTY VALUE', $value = ''); + $visitorA->setCustomVariable($id = 1, $name = 'Language', $value = 'FR', $scope = 'page'); + $visitorA->setCustomVariable($id = 2, $name = 'SET WITH EMPTY VALUE PAGE SCOPE', $value = '', $scope = 'page'); + $visitorA->setCustomVariable($id = 4, $name = 'Status user', $value = 'looking at profile page', $scope = 'page'); $visitorA->setCustomVariable($id = 3, $name = 'Value will be VERY long and truncated', $value = 'abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----'); $this->checkResponse($visitorA->doTrackPageView('Profile page')); $this->checkResponse($visitorA->doTrackGoal($idGoal)); @@ -755,14 +771,14 @@ class Test_Piwik_Integration_Main extends Test_Integration $tests = array( // 1) CHECK 'day' archive stored in January - // We expect 2 segments * (2 custom variable name + 2 ref metrics + 2 subtable for the custom var values + 5 Referers blob) - 'archive_blob_2010_01' => 22, - // This contains all 'last N' weeks & days, (6 metrics + 2 referer metrics + 1 done flag ) * 2 segments + 1 Done flag per Plugin, for each "Last N" date + // We expect 2 segments * (1 custom variable name + 2 ref metrics + 6 subtable for the custom var values + 5 Referers blob) + 'archive_blob_2010_01' => 28, + // This contains all 'last N' weeks & days, (1 metrics + 2 referer metrics + 3 done flag ) * 2 segments + 1 Done flag per Plugin, for each "Last N" date 'archive_numeric_2010_01' => 138, // 2) CHECK 'week' archive stored in December (week starts the month before) - // We expect 2 segments * (2 custom variable name + 2 ref metrics + 2 subtable for the values of the name + 5 referers blob) - 'archive_blob_2009_12' => 22, + // We expect 2 segments * (1 custom variable name + 2 ref metrics + 6 subtable for the values of the name + 5 referers blob) + 'archive_blob_2009_12' => 28, // 6 metrics, // 2 Referer metrics (Referers_distinctSearchEngines/Referers_distinctKeywords), // 3 done flag (referers, CustomVar, VisitsSummary), @@ -773,7 +789,7 @@ class Test_Piwik_Integration_Main extends Test_Integration { $sql = "SELECT count(*) FROM " . Piwik_Common::prefixTable($table) ; $countBlobs = Zend_Registry::get('db')->fetchOne($sql); - $this->assertEqual( $expectedRows, $countBlobs); + $this->assertEqual( $expectedRows, $countBlobs, "$table: %s"); } } diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_Actions.getPageTitles_firstSite_lastN__API.getProcessedReport_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_Actions.getPageTitles_firstSite_lastN__API.getProcessedReport_day.xml index d8b1396f50f58ca0413870419dee1a4405d36dba..4427230a86972ad58f2000f363348ec242c0165c 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_Actions.getPageTitles_firstSite_lastN__API.getProcessedReport_day.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_Actions.getPageTitles_firstSite_lastN__API.getProcessedReport_day.xml @@ -77,6 +77,16 @@ <exit_rate>0%</exit_rate> <exit_nb_visits>0</exit_nb_visits> </row> + <row> + <label>Checkout</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>00:00:00</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <entry_nb_visits>0</entry_nb_visits> + </row> </result> <result prettyDate="Wednesday 6 January 2010" /> <result prettyDate="Thursday 7 January 2010" /> @@ -89,6 +99,9 @@ <result prettyDate="Tuesday 5 January 2010"> <row> + </row> + <row> + </row> </result> <result prettyDate="Wednesday 6 January 2010" /> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_Actions.getPageUrls_firstSite_lastN__API.getProcessedReport_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_Actions.getPageUrls_firstSite_lastN__API.getProcessedReport_day.xml index d606b027c600e601deff6b236eef77c4ce905ee3..366349e67f1caab9e85fe979ce4f93176a44490c 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_Actions.getPageUrls_firstSite_lastN__API.getProcessedReport_day.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_Actions.getPageUrls_firstSite_lastN__API.getProcessedReport_day.xml @@ -44,7 +44,7 @@ <reportData> <result prettyDate="Sunday 3 January 2010"> <row> - <label>/homepage</label> + <label>/index.htm</label> <nb_visits>1</nb_visits> <nb_hits>1</nb_hits> <avg_time_on_page>00:00:00</avg_time_on_page> @@ -78,7 +78,7 @@ </result> <result prettyDate="Tuesday 5 January 2010"> <row> - <label>/homepage</label> + <label>/index.htm</label> <nb_visits>1</nb_visits> <nb_hits>1</nb_hits> <entry_nb_visits>1</entry_nb_visits> @@ -90,12 +90,12 @@ <row> <label>/thankyou</label> <nb_visits>1</nb_visits> - <nb_hits>1</nb_hits> + <nb_hits>2</nb_hits> + <exit_nb_visits>1</exit_nb_visits> <avg_time_on_page>00:06:00</avg_time_on_page> <bounce_rate>0%</bounce_rate> - <exit_rate>0%</exit_rate> + <exit_rate>100%</exit_rate> <entry_nb_visits>0</entry_nb_visits> - <exit_nb_visits>0</exit_nb_visits> </row> </result> <result prettyDate="Wednesday 6 January 2010" /> @@ -106,7 +106,7 @@ <reportMetadata> <result prettyDate="Sunday 3 January 2010"> <row> - <url>http://example.org/homepage</url> + <url>http://example.org/index.htm</url> </row> <row> <url>http://example.org/products</url> @@ -119,7 +119,7 @@ </result> <result prettyDate="Tuesday 5 January 2010"> <row> - <url>http://example.org/homepage</url> + <url>http://example.org/index.htm</url> </row> <row> <url>http://example.org/thankyou</url> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_NotLastNPeriods__VisitsSummary.get_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_NotLastNPeriods__VisitsSummary.get_month.xml index 40c1940495f6c90bc403802c4febf93fd23cd98b..62e81ba40183da9408ad9a401253ce2d8d269e03 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_NotLastNPeriods__VisitsSummary.get_month.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_NotLastNPeriods__VisitsSummary.get_month.xml @@ -2,13 +2,13 @@ <results> <result idSite="1"> <bounce_count>1</bounce_count> - <max_actions>4</max_actions> - <nb_actions>7</nb_actions> + <max_actions>5</max_actions> + <nb_actions>8</nb_actions> <nb_uniq_visitors>2</nb_uniq_visitors> <nb_visits>3</nb_visits> <sum_visit_length>1262</sum_visit_length> <bounce_rate>33%</bounce_rate> - <nb_actions_per_visit>2.3</nb_actions_per_visit> + <nb_actions_per_visit>2.7</nb_actions_per_visit> <avg_time_on_site>421</avg_time_on_site> </result> <result idSite="2"> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_Referers.getWebsites_firstSite_lastN__API.getProcessedReport_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_Referers.getWebsites_firstSite_lastN__API.getProcessedReport_day.xml index 45f57b1ef79f270d6a315d65dccb94fa86dd2eb7..181547313965dd05d777bc0c1b1d4b0e15298444 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_Referers.getWebsites_firstSite_lastN__API.getProcessedReport_day.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_Referers.getWebsites_firstSite_lastN__API.getProcessedReport_day.xml @@ -76,8 +76,8 @@ <label>referer.com</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>1</nb_visits> - <nb_actions>4</nb_actions> - <nb_actions_per_visit>4</nb_actions_per_visit> + <nb_actions>5</nb_actions> + <nb_actions_per_visit>5</nb_actions_per_visit> <avg_time_on_site>00:15:01</avg_time_on_site> <bounce_rate>0%</bounce_rate> <revenue>$ 0</revenue> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_VisitFrequency.get_firstSite_lastN__API.getProcessedReport_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_VisitFrequency.get_firstSite_lastN__API.getProcessedReport_day.xml index e085e5353afdcf0412ebb122bf9ec5233e6c53f0..a199813f7b444ee167ff7d139e11e61e0ed9e453 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_VisitFrequency.get_firstSite_lastN__API.getProcessedReport_day.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_VisitFrequency.get_firstSite_lastN__API.getProcessedReport_day.xml @@ -43,10 +43,10 @@ <result prettyDate="Sunday 3 January 2010" /> <result prettyDate="Monday 4 January 2010" /> <result prettyDate="Tuesday 5 January 2010"> - <nb_actions_returning>4</nb_actions_returning> + <nb_actions_returning>5</nb_actions_returning> <nb_visits_returning>1</nb_visits_returning> <bounce_rate_returning>0%</bounce_rate_returning> - <nb_actions_per_visit_returning>4</nb_actions_per_visit_returning> + <nb_actions_per_visit_returning>5</nb_actions_per_visit_returning> <avg_time_on_site_returning>00:15:01</avg_time_on_site_returning> </result> <result prettyDate="Wednesday 6 January 2010" /> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_VisitsSummary.get_firstSite_lastN__API.getProcessedReport_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_VisitsSummary.get_firstSite_lastN__API.getProcessedReport_day.xml index 997a8b0b7d7da9f49b10522b1cb745de1983dbeb..40975802aba6290e129f1f80ec859473d303fce7 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_VisitsSummary.get_firstSite_lastN__API.getProcessedReport_day.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_VisitsSummary.get_firstSite_lastN__API.getProcessedReport_day.xml @@ -63,12 +63,12 @@ <avg_time_on_site>00:06:01</avg_time_on_site> </result> <result prettyDate="Tuesday 5 January 2010"> - <max_actions>4</max_actions> - <nb_actions>4</nb_actions> + <max_actions>5</max_actions> + <nb_actions>5</nb_actions> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>1</nb_visits> <bounce_rate>0%</bounce_rate> - <nb_actions_per_visit>4</nb_actions_per_visit> + <nb_actions_per_visit>5</nb_actions_per_visit> <avg_time_on_site>00:15:01</avg_time_on_site> </result> <result prettyDate="Wednesday 6 January 2010" /> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_day.xml index 3ae15d19fe32034f0c831c25c537216970bd29d4..639d0bbb378f65c2cfafe39e64d6ed9d7c746ce4 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_day.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_day.xml @@ -17,7 +17,6 @@ <nb_visits>1</nb_visits> <nb_hits>1</nb_hits> <sum_time_spent>0</sum_time_spent> - <exit_nb_visits>1</exit_nb_visits> <subtable> <row> <label>/strangelink</label> @@ -25,8 +24,6 @@ <nb_uniq_visitors>1</nb_uniq_visitors> <nb_hits>1</nb_hits> <sum_time_spent>0</sum_time_spent> - <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> - <exit_nb_visits>1</exit_nb_visits> <url>mailto:test@example.org/strangelink</url> </row> </subtable> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_month.xml index 81af46ca4d956211ec1c94cfb23c32a3c8f79edc..36207de586e794772a9bebc383f44867a1fb2dec 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_month.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_month.xml @@ -15,16 +15,13 @@ <nb_visits>1</nb_visits> <nb_hits>1</nb_hits> <sum_time_spent>0</sum_time_spent> - <exit_nb_visits>1</exit_nb_visits> <subtable> <row> <label>/strangelink</label> <nb_visits>1</nb_visits> <nb_hits>1</nb_hits> <sum_time_spent>0</sum_time_spent> - <exit_nb_visits>1</exit_nb_visits> <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> - <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> <url>mailto:test@example.org/strangelink</url> </row> </subtable> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_week.xml index 0423744ff29bd528b2363c1d43c05f05b44bdf6f..20c8c95a3766ab143267083efe309a2f11926f25 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_week.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_week.xml @@ -16,16 +16,13 @@ <nb_visits>1</nb_visits> <nb_hits>1</nb_hits> <sum_time_spent>0</sum_time_spent> - <exit_nb_visits>1</exit_nb_visits> <subtable> <row> <label>/strangelink</label> <nb_visits>1</nb_visits> <nb_hits>1</nb_hits> <sum_time_spent>0</sum_time_spent> - <exit_nb_visits>1</exit_nb_visits> <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> - <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> <url>mailto:test@example.org/strangelink</url> </row> </subtable> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_year.xml index aba3c0a521c1780f29885d8fc08b8486638187df..c6c429ab9284825f5bb8945321ba91ca0c1730fc 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_year.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getOutlinks_year.xml @@ -15,16 +15,13 @@ <nb_visits>1</nb_visits> <nb_hits>1</nb_hits> <sum_time_spent>0</sum_time_spent> - <exit_nb_visits>1</exit_nb_visits> <subtable> <row> <label>/strangelink</label> <nb_visits>1</nb_visits> <nb_hits>1</nb_hits> <sum_time_spent>0</sum_time_spent> - <exit_nb_visits>1</exit_nb_visits> <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> - <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> <url>mailto:test@example.org/strangelink</url> </row> </subtable> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitle_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitle_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..01e4fb8c2000718ab77f71c85cfe95a46c28492e --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitle_day.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result idSite="1"> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </result> + <result idSite="2" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitle_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitle_month.xml new file mode 100644 index 0000000000000000000000000000000000000000..a41e4a2bb45b2fb48876da2c54265b7a6fc31746 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitle_month.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result idSite="1"> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </result> + <result idSite="2" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitle_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitle_week.xml new file mode 100644 index 0000000000000000000000000000000000000000..a41e4a2bb45b2fb48876da2c54265b7a6fc31746 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitle_week.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result idSite="1"> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </result> + <result idSite="2" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitle_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitle_year.xml new file mode 100644 index 0000000000000000000000000000000000000000..a41e4a2bb45b2fb48876da2c54265b7a6fc31746 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitle_year.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result idSite="1"> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </result> + <result idSite="2" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_day.xml index ac2d573ffbf81d3da9a099d0aa1131285a407534..b9a446f324444ab9f87a94c2f2f518ee51567e49 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_day.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_day.xml @@ -39,7 +39,7 @@ <nb_hits>2</nb_hits> <sum_time_spent>720</sum_time_spent> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <avg_time_on_page>360</avg_time_on_page> @@ -52,7 +52,7 @@ <nb_hits>2</nb_hits> <sum_time_spent>720</sum_time_spent> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <avg_time_on_page>360</avg_time_on_page> @@ -67,7 +67,7 @@ <sum_time_spent>360</sum_time_spent> <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <avg_time_on_page>360</avg_time_on_page> @@ -88,6 +88,30 @@ </row> </subtable> </row> + <row> + <label>Checkout</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </subtable> + </row> </result> <result date="2010-01-06" /> <result date="2010-01-07" /> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_month.xml index 56cf340c9cbc979019b5eebe5a499df47ee9d4be..e25bd4e74f1d8482ddf38814fcf2bbdc77380256 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_month.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_month.xml @@ -25,7 +25,7 @@ <nb_hits>2</nb_hits> <sum_time_spent>720</sum_time_spent> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <avg_time_on_page>360</avg_time_on_page> @@ -38,7 +38,7 @@ <nb_hits>2</nb_hits> <sum_time_spent>720</sum_time_spent> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <avg_time_on_page>360</avg_time_on_page> @@ -51,7 +51,7 @@ <nb_hits>1</nb_hits> <sum_time_spent>360</sum_time_spent> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> @@ -74,6 +74,30 @@ </row> </subtable> </row> + <row> + <label>Checkout</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </subtable> + </row> <row> <label>Page Name not defined</label> <nb_visits>1</nb_visits> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_week.xml index d39b05b46ec714ab581fed57e004e0c097de3468..cde6f74b456f3c19064da404d6da4ae7f3272568 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_week.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_week.xml @@ -27,7 +27,7 @@ <nb_hits>2</nb_hits> <sum_time_spent>720</sum_time_spent> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <avg_time_on_page>360</avg_time_on_page> @@ -40,7 +40,7 @@ <nb_hits>2</nb_hits> <sum_time_spent>720</sum_time_spent> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <avg_time_on_page>360</avg_time_on_page> @@ -53,7 +53,7 @@ <nb_hits>1</nb_hits> <sum_time_spent>360</sum_time_spent> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> @@ -76,6 +76,30 @@ </row> </subtable> </row> + <row> + <label>Checkout</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </subtable> + </row> <row> <label>Page Name not defined</label> <nb_visits>1</nb_visits> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_year.xml index 35c34cd3e6b5203e2dba228bfac638fe527a0a1d..e19a7859b2907f536be5dcf4c07386fb520d841d 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_year.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageTitles_year.xml @@ -25,7 +25,7 @@ <nb_hits>2</nb_hits> <sum_time_spent>720</sum_time_spent> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <avg_time_on_page>360</avg_time_on_page> @@ -38,7 +38,7 @@ <nb_hits>2</nb_hits> <sum_time_spent>720</sum_time_spent> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <avg_time_on_page>360</avg_time_on_page> @@ -51,7 +51,7 @@ <nb_hits>1</nb_hits> <sum_time_spent>360</sum_time_spent> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> @@ -74,6 +74,30 @@ </row> </subtable> </row> + <row> + <label>Checkout</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </subtable> + </row> <row> <label>Page Name not defined</label> <nb_visits>1</nb_visits> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrl_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrl_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..1c7f2179e5ae80abb3710f64976aa31d817f256a --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrl_day.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result idSite="1" /> + <result idSite="2" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrl_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrl_month.xml new file mode 100644 index 0000000000000000000000000000000000000000..1c7f2179e5ae80abb3710f64976aa31d817f256a --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrl_month.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result idSite="1" /> + <result idSite="2" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrl_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrl_week.xml new file mode 100644 index 0000000000000000000000000000000000000000..1c7f2179e5ae80abb3710f64976aa31d817f256a --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrl_week.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result idSite="1" /> + <result idSite="2" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrl_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrl_year.xml new file mode 100644 index 0000000000000000000000000000000000000000..1c7f2179e5ae80abb3710f64976aa31d817f256a --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrl_year.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result idSite="1" /> + <result idSite="2" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_day.xml index 7e7eceac765d92e94f212cc960d7c63e796d4a45..385c391131663b50677ab29460fd14c0b88b9c82 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_day.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_day.xml @@ -3,7 +3,7 @@ <result idSite="1"> <result date="2010-01-03"> <row> - <label>/homepage</label> + <label>/index.htm</label> <nb_visits>1</nb_visits> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_hits>1</nb_hits> @@ -11,7 +11,7 @@ <avg_time_on_page>0</avg_time_on_page> <bounce_rate>0%</bounce_rate> <exit_rate>0%</exit_rate> - <url>http://example.org/homepage</url> + <url>http://example.org/index.htm</url> </row> <row> <label>/products</label> @@ -47,30 +47,32 @@ </result> <result date="2010-01-05"> <row> - <label>/homepage</label> + <label>/index.htm</label> <nb_visits>1</nb_visits> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_hits>1</nb_hits> <sum_time_spent>360</sum_time_spent> <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <avg_time_on_page>360</avg_time_on_page> <bounce_rate>0%</bounce_rate> <exit_rate>0%</exit_rate> - <url>http://example.org/homepage</url> + <url>http://example.org/index.htm</url> </row> <row> <label>/thankyou</label> <nb_visits>1</nb_visits> <nb_uniq_visitors>1</nb_uniq_visitors> - <nb_hits>1</nb_hits> + <nb_hits>2</nb_hits> <sum_time_spent>360</sum_time_spent> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> <avg_time_on_page>360</avg_time_on_page> <bounce_rate>0%</bounce_rate> - <exit_rate>0%</exit_rate> + <exit_rate>100%</exit_rate> <url>http://example.org/thankyou</url> </row> </result> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_month.xml index 55bfe31927edac29dd13a2f198c066ed9d87608e..676132eb44f76c9d825b800f3ec620639b019c84 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_month.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_month.xml @@ -3,12 +3,12 @@ <result idSite="1"> <result date="2010-01"> <row> - <label>/homepage</label> + <label>/index.htm</label> <nb_visits>2</nb_visits> <nb_hits>2</nb_hits> <sum_time_spent>360</sum_time_spent> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> @@ -16,7 +16,7 @@ <avg_time_on_page>180</avg_time_on_page> <bounce_rate>0%</bounce_rate> <exit_rate>0%</exit_rate> - <url>http://example.org/homepage</url> + <url>http://example.org/index.htm</url> </row> <row> <label>/products</label> @@ -39,12 +39,14 @@ <row> <label>/thankyou</label> <nb_visits>1</nb_visits> - <nb_hits>1</nb_hits> + <nb_hits>2</nb_hits> <sum_time_spent>360</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> <avg_time_on_page>360</avg_time_on_page> <bounce_rate>0%</bounce_rate> - <exit_rate>0%</exit_rate> + <exit_rate>100%</exit_rate> <url>http://example.org/thankyou</url> </row> <row> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_week.xml index 52a01f4ff6febe090d57f9be535fed55ceeb49dd..3a7a65f34a727d9544b1676a990ceab23f13ec94 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_week.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_week.xml @@ -3,7 +3,7 @@ <result idSite="1"> <result date="2009-12-28 to 2010-01-03"> <row> - <label>/homepage</label> + <label>/index.htm</label> <nb_visits>1</nb_visits> <nb_hits>1</nb_hits> <sum_time_spent>0</sum_time_spent> @@ -11,7 +11,7 @@ <avg_time_on_page>0</avg_time_on_page> <bounce_rate>0%</bounce_rate> <exit_rate>0%</exit_rate> - <url>http://example.org/homepage</url> + <url>http://example.org/index.htm</url> </row> <row> <label>/products</label> @@ -34,12 +34,12 @@ </result> <result date="2010-01-04 to 2010-01-10"> <row> - <label>/homepage</label> + <label>/index.htm</label> <nb_visits>1</nb_visits> <nb_hits>1</nb_hits> <sum_time_spent>360</sum_time_spent> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> @@ -47,17 +47,19 @@ <avg_time_on_page>360</avg_time_on_page> <bounce_rate>0%</bounce_rate> <exit_rate>0%</exit_rate> - <url>http://example.org/homepage</url> + <url>http://example.org/index.htm</url> </row> <row> <label>/thankyou</label> <nb_visits>1</nb_visits> - <nb_hits>1</nb_hits> + <nb_hits>2</nb_hits> <sum_time_spent>360</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> <avg_time_on_page>360</avg_time_on_page> <bounce_rate>0%</bounce_rate> - <exit_rate>0%</exit_rate> + <exit_rate>100%</exit_rate> <url>http://example.org/thankyou</url> </row> <row> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_year.xml index f47782a9711dd5ccf53c447e6e6e4133b8838323..e898de588decc055cf75878f854f432f0622581a 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_year.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Actions.getPageUrls_year.xml @@ -3,12 +3,12 @@ <result idSite="1"> <result date="2010"> <row> - <label>/homepage</label> + <label>/index.htm</label> <nb_visits>2</nb_visits> <nb_hits>2</nb_hits> <sum_time_spent>360</sum_time_spent> <entry_nb_visits>1</entry_nb_visits> - <entry_nb_actions>4</entry_nb_actions> + <entry_nb_actions>5</entry_nb_actions> <entry_sum_visit_length>901</entry_sum_visit_length> <entry_bounce_count>0</entry_bounce_count> <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> @@ -16,7 +16,7 @@ <avg_time_on_page>180</avg_time_on_page> <bounce_rate>0%</bounce_rate> <exit_rate>0%</exit_rate> - <url>http://example.org/homepage</url> + <url>http://example.org/index.htm</url> </row> <row> <label>/products</label> @@ -39,12 +39,14 @@ <row> <label>/thankyou</label> <nb_visits>1</nb_visits> - <nb_hits>1</nb_hits> + <nb_hits>2</nb_hits> <sum_time_spent>360</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> <avg_time_on_page>360</avg_time_on_page> <bounce_rate>0%</bounce_rate> - <exit_rate>0%</exit_rate> + <exit_rate>100%</exit_rate> <url>http://example.org/thankyou</url> </row> <row> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_day.xml index e5132a2ab50d8143679dc44d41e939ef021b2e80..13b96979bde344b71b4d4c580ba9dcfc7dbccd1b 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_day.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_day.xml @@ -31,8 +31,8 @@ <label>referer.com</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>1</nb_visits> - <nb_actions>4</nb_actions> - <max_actions>4</max_actions> + <nb_actions>5</nb_actions> + <max_actions>5</max_actions> <sum_visit_length>901</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> @@ -41,8 +41,8 @@ <label>http://referer.com/Other_Page.htm</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>1</nb_visits> - <nb_actions>4</nb_actions> - <max_actions>4</max_actions> + <nb_actions>5</nb_actions> + <max_actions>5</max_actions> <sum_visit_length>901</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_month.xml index f74a681f74dec98de9b9d574a8506c9d5529f4cb..02f0affebbe98b738523fdb88e6b5eef60fd6dd5 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_month.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_month.xml @@ -5,8 +5,8 @@ <row> <label>referer.com</label> <nb_visits>2</nb_visits> - <nb_actions>6</nb_actions> - <max_actions>4</max_actions> + <nb_actions>7</nb_actions> + <max_actions>5</max_actions> <sum_visit_length>1262</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> @@ -15,8 +15,8 @@ <row> <label>http://referer.com/Other_Page.htm</label> <nb_visits>1</nb_visits> - <nb_actions>4</nb_actions> - <max_actions>4</max_actions> + <nb_actions>5</nb_actions> + <max_actions>5</max_actions> <sum_visit_length>901</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_week.xml index 937b1833c49f3f0c67d6d7a09040b783ff3eb509..107c1ec4a941a2b3b88009058ac061d25d2fff59 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_week.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_week.xml @@ -6,8 +6,8 @@ <row> <label>referer.com</label> <nb_visits>2</nb_visits> - <nb_actions>6</nb_actions> - <max_actions>4</max_actions> + <nb_actions>7</nb_actions> + <max_actions>5</max_actions> <sum_visit_length>1262</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> @@ -16,8 +16,8 @@ <row> <label>http://referer.com/Other_Page.htm</label> <nb_visits>1</nb_visits> - <nb_actions>4</nb_actions> - <max_actions>4</max_actions> + <nb_actions>5</nb_actions> + <max_actions>5</max_actions> <sum_visit_length>901</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_year.xml index 682d2bff99ee6b9a0e87f14fe4fc0324e1c8a037..457ff90a4f900d9708eae44bafd7c391dbd11055 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_year.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__Referers.getWebsites_year.xml @@ -5,8 +5,8 @@ <row> <label>referer.com</label> <nb_visits>2</nb_visits> - <nb_actions>6</nb_actions> - <max_actions>4</max_actions> + <nb_actions>7</nb_actions> + <max_actions>5</max_actions> <sum_visit_length>1262</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> @@ -15,8 +15,8 @@ <row> <label>http://referer.com/Other_Page.htm</label> <nb_visits>1</nb_visits> - <nb_actions>4</nb_actions> - <max_actions>4</max_actions> + <nb_actions>5</nb_actions> + <max_actions>5</max_actions> <sum_visit_length>901</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_day.xml index 324911514d19229dcb0c94b149cb2572515cf59a..b40dd75842a7f381c68b5bd8e948e31a484554fd 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_day.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_day.xml @@ -4,13 +4,13 @@ <result date="2010-01-03" /> <result date="2010-01-04" /> <result date="2010-01-05"> - <max_actions_returning>4</max_actions_returning> - <nb_actions_returning>4</nb_actions_returning> + <max_actions_returning>5</max_actions_returning> + <nb_actions_returning>5</nb_actions_returning> <nb_uniq_visitors_returning>1</nb_uniq_visitors_returning> <nb_visits_returning>1</nb_visits_returning> <sum_visit_length_returning>901</sum_visit_length_returning> <bounce_rate_returning>0%</bounce_rate_returning> - <nb_actions_per_visit_returning>4</nb_actions_per_visit_returning> + <nb_actions_per_visit_returning>5</nb_actions_per_visit_returning> <avg_time_on_site_returning>901</avg_time_on_site_returning> </result> <result date="2010-01-06" /> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_month.xml index 82a4d35046a82b195fd0ffa62055f477658641b7..ca1b4d4aea51c511edca4428656c085879af1e7c 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_month.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_month.xml @@ -2,12 +2,12 @@ <results> <result idSite="1"> <result date="2010-01"> - <max_actions_returning>4</max_actions_returning> - <nb_actions_returning>4</nb_actions_returning> + <max_actions_returning>5</max_actions_returning> + <nb_actions_returning>5</nb_actions_returning> <nb_visits_returning>1</nb_visits_returning> <sum_visit_length_returning>901</sum_visit_length_returning> <bounce_rate_returning>0%</bounce_rate_returning> - <nb_actions_per_visit_returning>4</nb_actions_per_visit_returning> + <nb_actions_per_visit_returning>5</nb_actions_per_visit_returning> <avg_time_on_site_returning>901</avg_time_on_site_returning> </result> <result date="2010-02" /> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_week.xml index 8392876c38543d7743d21de53f92ec9c05778539..1246b430afaa25d878a00d6fbf43ba204959d543 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_week.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_week.xml @@ -3,12 +3,12 @@ <result idSite="1"> <result date="2009-12-28 to 2010-01-03" /> <result date="2010-01-04 to 2010-01-10"> - <max_actions_returning>4</max_actions_returning> - <nb_actions_returning>4</nb_actions_returning> + <max_actions_returning>5</max_actions_returning> + <nb_actions_returning>5</nb_actions_returning> <nb_visits_returning>1</nb_visits_returning> <sum_visit_length_returning>901</sum_visit_length_returning> <bounce_rate_returning>0%</bounce_rate_returning> - <nb_actions_per_visit_returning>4</nb_actions_per_visit_returning> + <nb_actions_per_visit_returning>5</nb_actions_per_visit_returning> <avg_time_on_site_returning>901</avg_time_on_site_returning> </result> <result date="2010-01-11 to 2010-01-17" /> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_year.xml index 3d288d7a287cbd26abbe9c1229990360d85698e0..c7f6af556374977afd4aa34f8d09c1ee9fcf9636 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_year.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitFrequency.get_year.xml @@ -2,12 +2,12 @@ <results> <result idSite="1"> <result date="2010"> - <max_actions_returning>4</max_actions_returning> - <nb_actions_returning>4</nb_actions_returning> + <max_actions_returning>5</max_actions_returning> + <nb_actions_returning>5</nb_actions_returning> <nb_visits_returning>1</nb_visits_returning> <sum_visit_length_returning>901</sum_visit_length_returning> <bounce_rate_returning>0%</bounce_rate_returning> - <nb_actions_per_visit_returning>4</nb_actions_per_visit_returning> + <nb_actions_per_visit_returning>5</nb_actions_per_visit_returning> <avg_time_on_site_returning>901</avg_time_on_site_returning> </result> <result date="2011" /> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_day.xml index d3da0bc6e334c4c94156ce7610be9a27dca50024..dfbd086bad2535e78acfa630b0866eff227ebe4b 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_day.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_day.xml @@ -22,13 +22,13 @@ <avg_time_on_site>361</avg_time_on_site> </result> <result date="2010-01-05"> - <max_actions>4</max_actions> - <nb_actions>4</nb_actions> + <max_actions>5</max_actions> + <nb_actions>5</nb_actions> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>1</nb_visits> <sum_visit_length>901</sum_visit_length> <bounce_rate>0%</bounce_rate> - <nb_actions_per_visit>4</nb_actions_per_visit> + <nb_actions_per_visit>5</nb_actions_per_visit> <avg_time_on_site>901</avg_time_on_site> </result> <result date="2010-01-06" /> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_month.xml index 472a1900e51fc0b4ca338d53bff4a11914b5b0d4..39db872931cf337be5c4c7b6a2c768ba9f8d24c8 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_month.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_month.xml @@ -3,13 +3,13 @@ <result idSite="1"> <result date="2010-01"> <bounce_count>1</bounce_count> - <max_actions>4</max_actions> - <nb_actions>7</nb_actions> + <max_actions>5</max_actions> + <nb_actions>8</nb_actions> <nb_uniq_visitors>2</nb_uniq_visitors> <nb_visits>3</nb_visits> <sum_visit_length>1262</sum_visit_length> <bounce_rate>33%</bounce_rate> - <nb_actions_per_visit>2.3</nb_actions_per_visit> + <nb_actions_per_visit>2.7</nb_actions_per_visit> <avg_time_on_site>421</avg_time_on_site> </result> <result date="2010-02" /> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_week.xml index 689e94d0d859a3490d1b3e667628371a3b0d2c67..81222eb2862d6be7c3ededd19194d390604d9e8f 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_week.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_week.xml @@ -12,13 +12,13 @@ <avg_time_on_site>0</avg_time_on_site> </result> <result date="2010-01-04 to 2010-01-10"> - <max_actions>4</max_actions> - <nb_actions>6</nb_actions> + <max_actions>5</max_actions> + <nb_actions>7</nb_actions> <nb_uniq_visitors>2</nb_uniq_visitors> <nb_visits>2</nb_visits> <sum_visit_length>1262</sum_visit_length> <bounce_rate>0%</bounce_rate> - <nb_actions_per_visit>3</nb_actions_per_visit> + <nb_actions_per_visit>3.5</nb_actions_per_visit> <avg_time_on_site>631</avg_time_on_site> </result> <result date="2010-01-11 to 2010-01-17" /> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_year.xml index 2c627256f969cfa98b737e360842565d27cf2983..c05ee35200f7511b3b5e13223bea9547228840ff 100644 --- a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_year.xml +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_year.xml @@ -3,12 +3,12 @@ <result idSite="1"> <result date="2010"> <bounce_count>1</bounce_count> - <max_actions>4</max_actions> - <nb_actions>7</nb_actions> + <max_actions>5</max_actions> + <nb_actions>8</nb_actions> <nb_visits>3</nb_visits> <sum_visit_length>1262</sum_visit_length> <bounce_rate>33%</bounce_rate> - <nb_actions_per_visit>2.3</nb_actions_per_visit> + <nb_actions_per_visit>2.7</nb_actions_per_visit> <avg_time_on_site>421</avg_time_on_site> </result> <result date="2011" /> diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getOutlinks_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getOutlinks_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..201b4ac829c38e683ad875d49540a804ad73dc05 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getOutlinks_day.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01-03" /> + <result date="2010-01-04" /> + <result date="2010-01-05"> + <row> + <label>/mailto:test@example.org</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>180</sum_time_spent> + <url>mailto:test@example.org</url> + </row> + <row> + <label>mailto:test@example.org</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <subtable> + <row> + <label>/strangelink</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <url>mailto:test@example.org/strangelink</url> + </row> + </subtable> + </row> + </result> + <result date="2010-01-06" /> + <result date="2010-01-07" /> + <result date="2010-01-08" /> + <result date="2010-01-09" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getOutlinks_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getOutlinks_month.xml new file mode 100644 index 0000000000000000000000000000000000000000..a2c256a1140ca927fd15cd13c25f5807c343f461 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getOutlinks_month.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01"> + <row> + <label>/mailto:test@example.org</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>180</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <url>mailto:test@example.org</url> + </row> + <row> + <label>mailto:test@example.org</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <subtable> + <row> + <label>/strangelink</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <url>mailto:test@example.org/strangelink</url> + </row> + </subtable> + </row> + </result> + <result date="2010-02" /> + <result date="2010-03" /> + <result date="2010-04" /> + <result date="2010-05" /> + <result date="2010-06" /> + <result date="2010-07" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getOutlinks_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getOutlinks_week.xml new file mode 100644 index 0000000000000000000000000000000000000000..fc5cd9bc3e826b9c5c4cb58029b4bec2367ddb06 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getOutlinks_week.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2009-12-28 to 2010-01-03" /> + <result date="2010-01-04 to 2010-01-10"> + <row> + <label>/mailto:test@example.org</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>180</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <url>mailto:test@example.org</url> + </row> + <row> + <label>mailto:test@example.org</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <subtable> + <row> + <label>/strangelink</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <url>mailto:test@example.org/strangelink</url> + </row> + </subtable> + </row> + </result> + <result date="2010-01-11 to 2010-01-17" /> + <result date="2010-01-18 to 2010-01-24" /> + <result date="2010-01-25 to 2010-01-31" /> + <result date="2010-02-01 to 2010-02-07" /> + <result date="2010-02-08 to 2010-02-14" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getOutlinks_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getOutlinks_year.xml new file mode 100644 index 0000000000000000000000000000000000000000..e6d2352cfdb6a93f9a4391edcd775b32756ceb06 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getOutlinks_year.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010"> + <row> + <label>/mailto:test@example.org</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>180</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <url>mailto:test@example.org</url> + </row> + <row> + <label>mailto:test@example.org</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <subtable> + <row> + <label>/strangelink</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <url>mailto:test@example.org/strangelink</url> + </row> + </subtable> + </row> + </result> + <result date="2011" /> + <result date="2012" /> + <result date="2013" /> + <result date="2014" /> + <result date="2015" /> + <result date="2016" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitle_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitle_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..f5f93d373d0097a3d8126e192db70acf3f10663b --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitle_day.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01-03" /> + <result date="2010-01-04" /> + <result date="2010-01-05"> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </result> + <result date="2010-01-06" /> + <result date="2010-01-07" /> + <result date="2010-01-08" /> + <result date="2010-01-09" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitle_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitle_month.xml new file mode 100644 index 0000000000000000000000000000000000000000..debbb85c81cf5c334d05d9253b29b20c87b16cbb --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitle_month.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01"> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </result> + <result date="2010-02" /> + <result date="2010-03" /> + <result date="2010-04" /> + <result date="2010-05" /> + <result date="2010-06" /> + <result date="2010-07" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitle_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitle_week.xml new file mode 100644 index 0000000000000000000000000000000000000000..2d01feeff1eb1df3b0e1163e14c1203d95abbfaa --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitle_week.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2009-12-28 to 2010-01-03" /> + <result date="2010-01-04 to 2010-01-10"> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </result> + <result date="2010-01-11 to 2010-01-17" /> + <result date="2010-01-18 to 2010-01-24" /> + <result date="2010-01-25 to 2010-01-31" /> + <result date="2010-02-01 to 2010-02-07" /> + <result date="2010-02-08 to 2010-02-14" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitle_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitle_year.xml new file mode 100644 index 0000000000000000000000000000000000000000..8d67dcde61deed143c94645ad2693427aebb753e --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitle_year.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010"> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </result> + <result date="2011" /> + <result date="2012" /> + <result date="2013" /> + <result date="2014" /> + <result date="2015" /> + <result date="2016" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitles_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitles_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..f8df8e7753c922e505f9ac0088f748ad0b09cd0a --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitles_day.xml @@ -0,0 +1,119 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01-03"> + <row> + <label> first page view</label> + <nb_visits>2</nb_visits> + <nb_uniq_visitors>2</nb_uniq_visitors> + <nb_hits>2</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>50%</exit_rate> + </row> + </result> + <result date="2010-01-04"> + <row> + <label>Page Name not defined</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> + </result> + <result date="2010-01-05"> + <row> + <label>second visitor</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>720</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <subtable> + <row> + <label>two days later</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>720</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <subtable> + <row> + <label> a new visit</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>360</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> + <row> + <label> second page view</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>360</sum_time_spent> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> + </subtable> + </row> + </subtable> + </row> + <row> + <label>Checkout</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </subtable> + </row> + </result> + <result date="2010-01-06" /> + <result date="2010-01-07" /> + <result date="2010-01-08" /> + <result date="2010-01-09" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitles_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitles_month.xml new file mode 100644 index 0000000000000000000000000000000000000000..a09dd95cc547d4c22dad68cb6f19716768bf1ce0 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitles_month.xml @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01"> + <row> + <label> first page view</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>50%</exit_rate> + </row> + <row> + <label>second visitor</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>720</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <subtable> + <row> + <label>two days later</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>720</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <subtable> + <row> + <label> a new visit</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>360</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> + <row> + <label> second page view</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>360</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> + </subtable> + </row> + </subtable> + </row> + <row> + <label>Checkout</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </subtable> + </row> + <row> + <label>Page Name not defined</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> + </result> + <result date="2010-02" /> + <result date="2010-03" /> + <result date="2010-04" /> + <result date="2010-05" /> + <result date="2010-06" /> + <result date="2010-07" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitles_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitles_week.xml new file mode 100644 index 0000000000000000000000000000000000000000..f6cfb936ac32355bf58f5da6986dd588f01061be --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitles_week.xml @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2009-12-28 to 2010-01-03"> + <row> + <label> first page view</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>50%</exit_rate> + </row> + </result> + <result date="2010-01-04 to 2010-01-10"> + <row> + <label>second visitor</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>720</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <subtable> + <row> + <label>two days later</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>720</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <subtable> + <row> + <label> a new visit</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>360</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> + <row> + <label> second page view</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>360</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> + </subtable> + </row> + </subtable> + </row> + <row> + <label>Checkout</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </subtable> + </row> + <row> + <label>Page Name not defined</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> + </result> + <result date="2010-01-11 to 2010-01-17" /> + <result date="2010-01-18 to 2010-01-24" /> + <result date="2010-01-25 to 2010-01-31" /> + <result date="2010-02-01 to 2010-02-07" /> + <result date="2010-02-08 to 2010-02-14" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitles_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitles_year.xml new file mode 100644 index 0000000000000000000000000000000000000000..4c291132514547ab9089f503eda6154b373b05d6 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageTitles_year.xml @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010"> + <row> + <label> first page view</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>50%</exit_rate> + </row> + <row> + <label>second visitor</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>720</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <subtable> + <row> + <label>two days later</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>720</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <subtable> + <row> + <label> a new visit</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>360</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> + <row> + <label> second page view</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>360</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> + </subtable> + </row> + </subtable> + </row> + <row> + <label>Checkout</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </subtable> + </row> + <row> + <label>Page Name not defined</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> + </result> + <result date="2011" /> + <result date="2012" /> + <result date="2013" /> + <result date="2014" /> + <result date="2015" /> + <result date="2016" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrl_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrl_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..ec8112ff61b3506ac22211079d8e854617f55fad --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrl_day.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01-03"> + <row> + <label>/index.htm</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/index.htm</url> + </row> + </result> + <result date="2010-01-04" /> + <result date="2010-01-05"> + <row> + <label>/index.htm</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>360</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/index.htm</url> + </row> + </result> + <result date="2010-01-06" /> + <result date="2010-01-07" /> + <result date="2010-01-08" /> + <result date="2010-01-09" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrl_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrl_month.xml new file mode 100644 index 0000000000000000000000000000000000000000..f4556b0023d874ebc96419b35412b50cce28a3d1 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrl_month.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01"> + <row> + <label>/index.htm</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>360</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <avg_time_on_page>180</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/index.htm</url> + </row> + </result> + <result date="2010-02" /> + <result date="2010-03" /> + <result date="2010-04" /> + <result date="2010-05" /> + <result date="2010-06" /> + <result date="2010-07" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrl_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrl_week.xml new file mode 100644 index 0000000000000000000000000000000000000000..7ef8c11406bc8ea76f74ada90078943d3ab3cd82 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrl_week.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2009-12-28 to 2010-01-03"> + <row> + <label>/index.htm</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/index.htm</url> + </row> + </result> + <result date="2010-01-04 to 2010-01-10"> + <row> + <label>/index.htm</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>360</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/index.htm</url> + </row> + </result> + <result date="2010-01-11 to 2010-01-17" /> + <result date="2010-01-18 to 2010-01-24" /> + <result date="2010-01-25 to 2010-01-31" /> + <result date="2010-02-01 to 2010-02-07" /> + <result date="2010-02-08 to 2010-02-14" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrl_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrl_year.xml new file mode 100644 index 0000000000000000000000000000000000000000..dc464d51d3b3dfd682f9439f7832c2487029cbf8 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrl_year.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010"> + <row> + <label>/index.htm</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>360</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <avg_time_on_page>180</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/index.htm</url> + </row> + </result> + <result date="2011" /> + <result date="2012" /> + <result date="2013" /> + <result date="2014" /> + <result date="2015" /> + <result date="2016" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrls_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrls_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..dddd4d74d13e3c4a360f62df152a19ac4d122a12 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrls_day.xml @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01-03"> + <row> + <label>/index.htm</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/index.htm</url> + </row> + <row> + <label>/products</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/products</url> + </row> + </result> + <result date="2010-01-04"> + <row> + <label>Page URL not defined</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url /> + </row> + </result> + <result date="2010-01-05"> + <row> + <label>/index.htm</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>360</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/index.htm</url> + </row> + <row> + <label>/thankyou</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>2</nb_hits> + <sum_time_spent>360</sum_time_spent> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/thankyou</url> + </row> + </result> + <result date="2010-01-06" /> + <result date="2010-01-07" /> + <result date="2010-01-08" /> + <result date="2010-01-09" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrls_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrls_month.xml new file mode 100644 index 0000000000000000000000000000000000000000..5634e51a288242da55484e7de1930d373d0b71e1 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrls_month.xml @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01"> + <row> + <label>/index.htm</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>360</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <avg_time_on_page>180</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/index.htm</url> + </row> + <row> + <label>/products</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/products</url> + </row> + <row> + <label>/thankyou</label> + <nb_visits>1</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>360</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/thankyou</url> + </row> + <row> + <label>Page URL not defined</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url /> + </row> + </result> + <result date="2010-02" /> + <result date="2010-03" /> + <result date="2010-04" /> + <result date="2010-05" /> + <result date="2010-06" /> + <result date="2010-07" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrls_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrls_week.xml new file mode 100644 index 0000000000000000000000000000000000000000..bf24c591bf3f9305833efa70932b4ae472344fa7 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrls_week.xml @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2009-12-28 to 2010-01-03"> + <row> + <label>/index.htm</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/index.htm</url> + </row> + <row> + <label>/products</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/products</url> + </row> + </result> + <result date="2010-01-04 to 2010-01-10"> + <row> + <label>/index.htm</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>360</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/index.htm</url> + </row> + <row> + <label>/thankyou</label> + <nb_visits>1</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>360</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/thankyou</url> + </row> + <row> + <label>Page URL not defined</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url /> + </row> + </result> + <result date="2010-01-11 to 2010-01-17" /> + <result date="2010-01-18 to 2010-01-24" /> + <result date="2010-01-25 to 2010-01-31" /> + <result date="2010-02-01 to 2010-02-07" /> + <result date="2010-02-08 to 2010-02-14" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrls_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrls_year.xml new file mode 100644 index 0000000000000000000000000000000000000000..2e4bba682d2c288b87013f4334e52c958910452a --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Actions.getPageUrls_year.xml @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010"> + <row> + <label>/index.htm</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>360</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>5</entry_nb_actions> + <entry_sum_visit_length>901</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <avg_time_on_page>180</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/index.htm</url> + </row> + <row> + <label>/products</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/products</url> + </row> + <row> + <label>/thankyou</label> + <nb_visits>1</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>360</sum_time_spent> + <exit_nb_visits>1</exit_nb_visits> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>360</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/thankyou</url> + </row> + <row> + <label>Page URL not defined</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url /> + </row> + </result> + <result date="2011" /> + <result date="2012" /> + <result date="2013" /> + <result date="2014" /> + <result date="2015" /> + <result date="2016" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Referers.getWebsites_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Referers.getWebsites_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..390a6a5749ae24864612b897257ad2c73c473c19 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Referers.getWebsites_day.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01-03" /> + <result date="2010-01-04"> + <row> + <label>referer.com</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>2</nb_actions> + <max_actions>2</max_actions> + <sum_visit_length>361</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <subtable> + <row> + <label>http://referer.com/page.htm?param=valuewith some spaces</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>2</nb_actions> + <max_actions>2</max_actions> + <sum_visit_length>361</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + </subtable> + </row> + </result> + <result date="2010-01-05"> + <row> + <label>referer.com</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>5</nb_actions> + <max_actions>5</max_actions> + <sum_visit_length>901</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <subtable> + <row> + <label>http://referer.com/Other_Page.htm</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>5</nb_actions> + <max_actions>5</max_actions> + <sum_visit_length>901</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + </subtable> + </row> + </result> + <result date="2010-01-06" /> + <result date="2010-01-07" /> + <result date="2010-01-08" /> + <result date="2010-01-09" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Referers.getWebsites_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Referers.getWebsites_month.xml new file mode 100644 index 0000000000000000000000000000000000000000..87fc736ba0329eafed8da498e69dfbc9e6cd5015 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Referers.getWebsites_month.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01"> + <row> + <label>referer.com</label> + <nb_visits>2</nb_visits> + <nb_actions>7</nb_actions> + <max_actions>5</max_actions> + <sum_visit_length>1262</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + <subtable> + <row> + <label>http://referer.com/Other_Page.htm</label> + <nb_visits>1</nb_visits> + <nb_actions>5</nb_actions> + <max_actions>5</max_actions> + <sum_visit_length>901</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + <row> + <label>http://referer.com/page.htm?param=valuewith some spaces</label> + <nb_visits>1</nb_visits> + <nb_actions>2</nb_actions> + <max_actions>2</max_actions> + <sum_visit_length>361</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> + </result> + <result date="2010-02" /> + <result date="2010-03" /> + <result date="2010-04" /> + <result date="2010-05" /> + <result date="2010-06" /> + <result date="2010-07" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Referers.getWebsites_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Referers.getWebsites_week.xml new file mode 100644 index 0000000000000000000000000000000000000000..d1951136929d862a9364cffd17c4c1b56f9974b5 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Referers.getWebsites_week.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2009-12-28 to 2010-01-03" /> + <result date="2010-01-04 to 2010-01-10"> + <row> + <label>referer.com</label> + <nb_visits>2</nb_visits> + <nb_actions>7</nb_actions> + <max_actions>5</max_actions> + <sum_visit_length>1262</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + <subtable> + <row> + <label>http://referer.com/Other_Page.htm</label> + <nb_visits>1</nb_visits> + <nb_actions>5</nb_actions> + <max_actions>5</max_actions> + <sum_visit_length>901</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + <row> + <label>http://referer.com/page.htm?param=valuewith some spaces</label> + <nb_visits>1</nb_visits> + <nb_actions>2</nb_actions> + <max_actions>2</max_actions> + <sum_visit_length>361</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> + </result> + <result date="2010-01-11 to 2010-01-17" /> + <result date="2010-01-18 to 2010-01-24" /> + <result date="2010-01-25 to 2010-01-31" /> + <result date="2010-02-01 to 2010-02-07" /> + <result date="2010-02-08 to 2010-02-14" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Referers.getWebsites_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Referers.getWebsites_year.xml new file mode 100644 index 0000000000000000000000000000000000000000..23e808e1e341246370c2e7db5f99d8b65d645cb8 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___Referers.getWebsites_year.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010"> + <row> + <label>referer.com</label> + <nb_visits>2</nb_visits> + <nb_actions>7</nb_actions> + <max_actions>5</max_actions> + <sum_visit_length>1262</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + <subtable> + <row> + <label>http://referer.com/Other_Page.htm</label> + <nb_visits>1</nb_visits> + <nb_actions>5</nb_actions> + <max_actions>5</max_actions> + <sum_visit_length>901</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + <row> + <label>http://referer.com/page.htm?param=valuewith some spaces</label> + <nb_visits>1</nb_visits> + <nb_actions>2</nb_actions> + <max_actions>2</max_actions> + <sum_visit_length>361</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> + </result> + <result date="2011" /> + <result date="2012" /> + <result date="2013" /> + <result date="2014" /> + <result date="2015" /> + <result date="2016" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitFrequency.get_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitFrequency.get_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..bf273ff429d17043123a1617db72079bc313689b --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitFrequency.get_day.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01-03" /> + <result date="2010-01-04" /> + <result date="2010-01-05"> + <max_actions_returning>5</max_actions_returning> + <nb_actions_returning>5</nb_actions_returning> + <nb_uniq_visitors_returning>1</nb_uniq_visitors_returning> + <nb_visits_returning>1</nb_visits_returning> + <sum_visit_length_returning>901</sum_visit_length_returning> + <bounce_rate_returning>0%</bounce_rate_returning> + <nb_actions_per_visit_returning>5</nb_actions_per_visit_returning> + <avg_time_on_site_returning>901</avg_time_on_site_returning> + </result> + <result date="2010-01-06" /> + <result date="2010-01-07" /> + <result date="2010-01-08" /> + <result date="2010-01-09" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitFrequency.get_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitFrequency.get_month.xml new file mode 100644 index 0000000000000000000000000000000000000000..bedaee43c4656d0671bf44e4e01e3542aed6a816 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitFrequency.get_month.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01"> + <max_actions_returning>5</max_actions_returning> + <nb_actions_returning>5</nb_actions_returning> + <nb_visits_returning>1</nb_visits_returning> + <sum_visit_length_returning>901</sum_visit_length_returning> + <bounce_rate_returning>0%</bounce_rate_returning> + <nb_actions_per_visit_returning>5</nb_actions_per_visit_returning> + <avg_time_on_site_returning>901</avg_time_on_site_returning> + </result> + <result date="2010-02" /> + <result date="2010-03" /> + <result date="2010-04" /> + <result date="2010-05" /> + <result date="2010-06" /> + <result date="2010-07" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitFrequency.get_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitFrequency.get_week.xml new file mode 100644 index 0000000000000000000000000000000000000000..50da602c21a6f56893568beedc99ecc091e60bee --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitFrequency.get_week.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2009-12-28 to 2010-01-03" /> + <result date="2010-01-04 to 2010-01-10"> + <max_actions_returning>5</max_actions_returning> + <nb_actions_returning>5</nb_actions_returning> + <nb_visits_returning>1</nb_visits_returning> + <sum_visit_length_returning>901</sum_visit_length_returning> + <bounce_rate_returning>0%</bounce_rate_returning> + <nb_actions_per_visit_returning>5</nb_actions_per_visit_returning> + <avg_time_on_site_returning>901</avg_time_on_site_returning> + </result> + <result date="2010-01-11 to 2010-01-17" /> + <result date="2010-01-18 to 2010-01-24" /> + <result date="2010-01-25 to 2010-01-31" /> + <result date="2010-02-01 to 2010-02-07" /> + <result date="2010-02-08 to 2010-02-14" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitFrequency.get_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitFrequency.get_year.xml new file mode 100644 index 0000000000000000000000000000000000000000..ee9bc5d62b3bc1bfcf89fc5e8d1d98ca936df923 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitFrequency.get_year.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010"> + <max_actions_returning>5</max_actions_returning> + <nb_actions_returning>5</nb_actions_returning> + <nb_visits_returning>1</nb_visits_returning> + <sum_visit_length_returning>901</sum_visit_length_returning> + <bounce_rate_returning>0%</bounce_rate_returning> + <nb_actions_per_visit_returning>5</nb_actions_per_visit_returning> + <avg_time_on_site_returning>901</avg_time_on_site_returning> + </result> + <result date="2011" /> + <result date="2012" /> + <result date="2013" /> + <result date="2014" /> + <result date="2015" /> + <result date="2016" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_day.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..be1c6c3f05ac45a47812055866bd1fdc9d447098 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_day.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01-03"> + <bounce_count>1</bounce_count> + <max_actions>1</max_actions> + <nb_actions>1</nb_actions> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <bounce_rate>100%</bounce_rate> + <nb_actions_per_visit>1</nb_actions_per_visit> + <avg_time_on_site>0</avg_time_on_site> + </result> + <result date="2010-01-04"> + <max_actions>2</max_actions> + <nb_actions>2</nb_actions> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <sum_visit_length>361</sum_visit_length> + <bounce_rate>0%</bounce_rate> + <nb_actions_per_visit>2</nb_actions_per_visit> + <avg_time_on_site>361</avg_time_on_site> + </result> + <result date="2010-01-05"> + <max_actions>5</max_actions> + <nb_actions>5</nb_actions> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <sum_visit_length>901</sum_visit_length> + <bounce_rate>0%</bounce_rate> + <nb_actions_per_visit>5</nb_actions_per_visit> + <avg_time_on_site>901</avg_time_on_site> + </result> + <result date="2010-01-06" /> + <result date="2010-01-07" /> + <result date="2010-01-08" /> + <result date="2010-01-09" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_month.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_month.xml new file mode 100644 index 0000000000000000000000000000000000000000..97dcf9402dbd054b6af7c7d21c23834f1c65687a --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_month.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010-01"> + <bounce_count>1</bounce_count> + <max_actions>5</max_actions> + <nb_actions>8</nb_actions> + <nb_uniq_visitors>2</nb_uniq_visitors> + <nb_visits>3</nb_visits> + <sum_visit_length>1262</sum_visit_length> + <bounce_rate>33%</bounce_rate> + <nb_actions_per_visit>2.7</nb_actions_per_visit> + <avg_time_on_site>421</avg_time_on_site> + </result> + <result date="2010-02" /> + <result date="2010-03" /> + <result date="2010-04" /> + <result date="2010-05" /> + <result date="2010-06" /> + <result date="2010-07" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_week.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_week.xml new file mode 100644 index 0000000000000000000000000000000000000000..fc87cc3c73a430d1fe7855255dad85699f6166cb --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_week.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2009-12-28 to 2010-01-03"> + <bounce_count>1</bounce_count> + <max_actions>1</max_actions> + <nb_actions>1</nb_actions> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <bounce_rate>100%</bounce_rate> + <nb_actions_per_visit>1</nb_actions_per_visit> + <avg_time_on_site>0</avg_time_on_site> + </result> + <result date="2010-01-04 to 2010-01-10"> + <max_actions>5</max_actions> + <nb_actions>7</nb_actions> + <nb_uniq_visitors>2</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <sum_visit_length>1262</sum_visit_length> + <bounce_rate>0%</bounce_rate> + <nb_actions_per_visit>3.5</nb_actions_per_visit> + <avg_time_on_site>631</avg_time_on_site> + </result> + <result date="2010-01-11 to 2010-01-17" /> + <result date="2010-01-18 to 2010-01-24" /> + <result date="2010-01-25 to 2010-01-31" /> + <result date="2010-02-01 to 2010-02-07" /> + <result date="2010-02-08 to 2010-02-14" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_year.xml b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_year.xml new file mode 100644 index 0000000000000000000000000000000000000000..11f73e549fb3c2cf32210b933f8438773ac3eb85 --- /dev/null +++ b/tests/integration/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_year.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8" ?> +<results> + <result date="2010"> + <bounce_count>1</bounce_count> + <max_actions>5</max_actions> + <nb_actions>8</nb_actions> + <nb_visits>3</nb_visits> + <sum_visit_length>1262</sum_visit_length> + <bounce_rate>33%</bounce_rate> + <nb_actions_per_visit>2.7</nb_actions_per_visit> + <avg_time_on_site>421</avg_time_on_site> + </result> + <result date="2011" /> + <result date="2012" /> + <result date="2013" /> + <result date="2014" /> + <result date="2015" /> + <result date="2016" /> +</results> \ No newline at end of file diff --git a/tests/integration/expected/test_ecommerceOrderWithItems__CustomVariables.getCustomVariables_day.xml b/tests/integration/expected/test_ecommerceOrderWithItems__CustomVariables.getCustomVariables_day.xml index 1c2fe9653a5d39a5ff09873bdadbde5ac9882053..e45ee1e2f5fe32cde810fdc519aedfde9520bb9a 100644 --- a/tests/integration/expected/test_ecommerceOrderWithItems__CustomVariables.getCustomVariables_day.xml +++ b/tests/integration/expected/test_ecommerceOrderWithItems__CustomVariables.getCustomVariables_day.xml @@ -1,113 +1,5 @@ <?xml version="1.0" encoding="utf-8" ?> <result> - <row> - <label>Product Category</label> - <nb_uniq_visitors>4</nb_uniq_visitors> - <nb_visits>8</nb_visits> - <nb_actions>13</nb_actions> - <subtable> - <row> - <label>Electronics & Cameras</label> - <nb_uniq_visitors>2</nb_uniq_visitors> - <nb_visits>3</nb_visits> - <nb_actions>6</nb_actions> - <price_viewed>814.37</price_viewed> - </row> - <row> - <label>Value not defined</label> - <nb_uniq_visitors>1</nb_uniq_visitors> - <nb_visits>3</nb_visits> - <nb_actions>5</nb_actions> - <price_viewed>666</price_viewed> - </row> - <row> - <label>Category TWO LEFT in cart</label> - <nb_uniq_visitors>1</nb_uniq_visitors> - <nb_visits>2</nb_visits> - <nb_actions>2</nb_actions> - </row> - <row> - <label>Multiple Category 1</label> - <nb_uniq_visitors>1</nb_uniq_visitors> - <nb_visits>1</nb_visits> - <nb_actions>1</nb_actions> - </row> - <row> - <label>Multiple Category 2</label> - <nb_uniq_visitors>1</nb_uniq_visitors> - <nb_visits>1</nb_visits> - <nb_actions>1</nb_actions> - </row> - <row> - <label>Multiple Category 4</label> - <nb_uniq_visitors>1</nb_uniq_visitors> - <nb_visits>1</nb_visits> - <nb_actions>1</nb_actions> - </row> - <row> - <label>Multiple Category 5</label> - <nb_uniq_visitors>1</nb_uniq_visitors> - <nb_visits>1</nb_visits> - <nb_actions>1</nb_actions> - </row> - </subtable> - </row> - <row> - <label>Product Name</label> - <nb_uniq_visitors>3</nb_uniq_visitors> - <nb_visits>6</nb_visits> - <nb_actions>11</nb_actions> - <subtable> - <row> - <label>PRODUCT name</label> - <nb_uniq_visitors>1</nb_uniq_visitors> - <nb_visits>2</nb_visits> - <nb_actions>5</nb_actions> - <price_viewed>814.37</price_viewed> - </row> - <row> - <label>PRODUCT THREE LEFT in cart</label> - <nb_uniq_visitors>1</nb_uniq_visitors> - <nb_visits>2</nb_visits> - <nb_actions>4</nb_actions> - <price_viewed>666</price_viewed> - </row> - <row> - <label>PRODUCT TWO LEFT in cart</label> - <nb_uniq_visitors>1</nb_uniq_visitors> - <nb_visits>2</nb_visits> - <nb_actions>2</nb_actions> - </row> - </subtable> - </row> - <row> - <label>Product SKU</label> - <nb_uniq_visitors>3</nb_uniq_visitors> - <nb_visits>6</nb_visits> - <nb_actions>11</nb_actions> - <subtable> - <row> - <label>SKU VERY nice indeed</label> - <nb_uniq_visitors>1</nb_uniq_visitors> - <nb_visits>3</nb_visits> - <nb_actions>8</nb_actions> - <price_viewed>666</price_viewed> - </row> - <row> - <label>SKU IN ABANDONED CART TWO</label> - <nb_uniq_visitors>1</nb_uniq_visitors> - <nb_visits>2</nb_visits> - <nb_actions>2</nb_actions> - </row> - <row> - <label>SKU2</label> - <nb_uniq_visitors>1</nb_uniq_visitors> - <nb_visits>1</nb_visits> - <nb_actions>1</nb_actions> - <price_viewed>1111.11</price_viewed> - </row> - </subtable> - </row> <row> <label>VisitorType</label> <nb_uniq_visitors>1</nb_uniq_visitors> @@ -238,4 +130,106 @@ </row> </subtable> </row> + <row> + <label>Product Category</label> + <nb_actions>13</nb_actions> + <subtable> + <row> + <label>Value not defined</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>3</nb_visits> + <nb_actions>5</nb_actions> + <price_viewed>666</price_viewed> + </row> + <row> + <label>Electronics & Cameras</label> + <nb_uniq_visitors>2</nb_uniq_visitors> + <nb_visits>3</nb_visits> + <nb_actions>6</nb_actions> + <price_viewed>814.37</price_viewed> + </row> + <row> + <label>Category TWO LEFT in cart</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>2</nb_actions> + </row> + <row> + <label>Multiple Category 5</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + </row> + <row> + <label>Multiple Category 4</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + </row> + <row> + <label>Multiple Category 1</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + </row> + <row> + <label>Multiple Category 2</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + </row> + </subtable> + </row> + <row> + <label>Product SKU</label> + <nb_actions>11</nb_actions> + <subtable> + <row> + <label>SKU VERY nice indeed</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>3</nb_visits> + <nb_actions>8</nb_actions> + <price_viewed>666</price_viewed> + </row> + <row> + <label>SKU IN ABANDONED CART TWO</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>2</nb_actions> + </row> + <row> + <label>SKU2</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <price_viewed>1111.11</price_viewed> + </row> + </subtable> + </row> + <row> + <label>Product Name</label> + <nb_actions>11</nb_actions> + <subtable> + <row> + <label>PRODUCT TWO LEFT in cart</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>2</nb_actions> + </row> + <row> + <label>PRODUCT THREE LEFT in cart</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>4</nb_actions> + <price_viewed>666</price_viewed> + </row> + <row> + <label>PRODUCT name</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>5</nb_actions> + <price_viewed>814.37</price_viewed> + </row> + </subtable> + </row> </result> \ No newline at end of file diff --git a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getDownload_day.xml b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getDownload_day.xml index 1c598ec49c01304a54e4e134599ea15cf14792cb..106f23f16bb7dddc98ac7def1dd2c59d64a48127 100644 --- a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getDownload_day.xml +++ b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getDownload_day.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8" ?> <results> - <result defaultKeyName="2009-01-04" /> - <result defaultKeyName="2009-01-05" /> - <result defaultKeyName="2009-01-06" /> - <result defaultKeyName="2009-01-07" /> - <result defaultKeyName="2009-01-08" /> - <result defaultKeyName="2009-01-09" /> - <result defaultKeyName="2009-01-10" /> + <result date="2009-01-04" /> + <result date="2009-01-05" /> + <result date="2009-01-06" /> + <result date="2009-01-07" /> + <result date="2009-01-08" /> + <result date="2009-01-09" /> + <result date="2009-01-10" /> </results> \ No newline at end of file diff --git a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getDownload_week.xml b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getDownload_week.xml index 7fd44d3e505ff1c1de2985ffc88e4a796ccf7895..915e319c6eaa21ff48116dd9773a0975adc64311 100644 --- a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getDownload_week.xml +++ b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getDownload_week.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8" ?> <results> - <result defaultKeyName="2008-12-29 to 2009-01-04" /> - <result defaultKeyName="2009-01-05 to 2009-01-11" /> - <result defaultKeyName="2009-01-12 to 2009-01-18" /> - <result defaultKeyName="2009-01-19 to 2009-01-25" /> - <result defaultKeyName="2009-01-26 to 2009-02-01" /> - <result defaultKeyName="2009-02-02 to 2009-02-08" /> - <result defaultKeyName="2009-02-09 to 2009-02-15" /> + <result date="2008-12-29 to 2009-01-04" /> + <result date="2009-01-05 to 2009-01-11" /> + <result date="2009-01-12 to 2009-01-18" /> + <result date="2009-01-19 to 2009-01-25" /> + <result date="2009-01-26 to 2009-02-01" /> + <result date="2009-02-02 to 2009-02-08" /> + <result date="2009-02-09 to 2009-02-15" /> </results> \ No newline at end of file diff --git a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getOutlink_day.xml b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getOutlink_day.xml index 1c598ec49c01304a54e4e134599ea15cf14792cb..106f23f16bb7dddc98ac7def1dd2c59d64a48127 100644 --- a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getOutlink_day.xml +++ b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getOutlink_day.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8" ?> <results> - <result defaultKeyName="2009-01-04" /> - <result defaultKeyName="2009-01-05" /> - <result defaultKeyName="2009-01-06" /> - <result defaultKeyName="2009-01-07" /> - <result defaultKeyName="2009-01-08" /> - <result defaultKeyName="2009-01-09" /> - <result defaultKeyName="2009-01-10" /> + <result date="2009-01-04" /> + <result date="2009-01-05" /> + <result date="2009-01-06" /> + <result date="2009-01-07" /> + <result date="2009-01-08" /> + <result date="2009-01-09" /> + <result date="2009-01-10" /> </results> \ No newline at end of file diff --git a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getOutlink_week.xml b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getOutlink_week.xml index 7fd44d3e505ff1c1de2985ffc88e4a796ccf7895..915e319c6eaa21ff48116dd9773a0975adc64311 100644 --- a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getOutlink_week.xml +++ b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getOutlink_week.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8" ?> <results> - <result defaultKeyName="2008-12-29 to 2009-01-04" /> - <result defaultKeyName="2009-01-05 to 2009-01-11" /> - <result defaultKeyName="2009-01-12 to 2009-01-18" /> - <result defaultKeyName="2009-01-19 to 2009-01-25" /> - <result defaultKeyName="2009-01-26 to 2009-02-01" /> - <result defaultKeyName="2009-02-02 to 2009-02-08" /> - <result defaultKeyName="2009-02-09 to 2009-02-15" /> + <result date="2008-12-29 to 2009-01-04" /> + <result date="2009-01-05 to 2009-01-11" /> + <result date="2009-01-12 to 2009-01-18" /> + <result date="2009-01-19 to 2009-01-25" /> + <result date="2009-01-26 to 2009-02-01" /> + <result date="2009-02-02 to 2009-02-08" /> + <result date="2009-02-09 to 2009-02-15" /> </results> \ No newline at end of file diff --git a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageTitle_day.xml b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageTitle_day.xml index 1c598ec49c01304a54e4e134599ea15cf14792cb..106f23f16bb7dddc98ac7def1dd2c59d64a48127 100644 --- a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageTitle_day.xml +++ b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageTitle_day.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8" ?> <results> - <result defaultKeyName="2009-01-04" /> - <result defaultKeyName="2009-01-05" /> - <result defaultKeyName="2009-01-06" /> - <result defaultKeyName="2009-01-07" /> - <result defaultKeyName="2009-01-08" /> - <result defaultKeyName="2009-01-09" /> - <result defaultKeyName="2009-01-10" /> + <result date="2009-01-04" /> + <result date="2009-01-05" /> + <result date="2009-01-06" /> + <result date="2009-01-07" /> + <result date="2009-01-08" /> + <result date="2009-01-09" /> + <result date="2009-01-10" /> </results> \ No newline at end of file diff --git a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageTitle_week.xml b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageTitle_week.xml index 7fd44d3e505ff1c1de2985ffc88e4a796ccf7895..915e319c6eaa21ff48116dd9773a0975adc64311 100644 --- a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageTitle_week.xml +++ b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageTitle_week.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8" ?> <results> - <result defaultKeyName="2008-12-29 to 2009-01-04" /> - <result defaultKeyName="2009-01-05 to 2009-01-11" /> - <result defaultKeyName="2009-01-12 to 2009-01-18" /> - <result defaultKeyName="2009-01-19 to 2009-01-25" /> - <result defaultKeyName="2009-01-26 to 2009-02-01" /> - <result defaultKeyName="2009-02-02 to 2009-02-08" /> - <result defaultKeyName="2009-02-09 to 2009-02-15" /> + <result date="2008-12-29 to 2009-01-04" /> + <result date="2009-01-05 to 2009-01-11" /> + <result date="2009-01-12 to 2009-01-18" /> + <result date="2009-01-19 to 2009-01-25" /> + <result date="2009-01-26 to 2009-02-01" /> + <result date="2009-02-02 to 2009-02-08" /> + <result date="2009-02-09 to 2009-02-15" /> </results> \ No newline at end of file diff --git a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageUrl_day.xml b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageUrl_day.xml index 1c598ec49c01304a54e4e134599ea15cf14792cb..106f23f16bb7dddc98ac7def1dd2c59d64a48127 100644 --- a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageUrl_day.xml +++ b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageUrl_day.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8" ?> <results> - <result defaultKeyName="2009-01-04" /> - <result defaultKeyName="2009-01-05" /> - <result defaultKeyName="2009-01-06" /> - <result defaultKeyName="2009-01-07" /> - <result defaultKeyName="2009-01-08" /> - <result defaultKeyName="2009-01-09" /> - <result defaultKeyName="2009-01-10" /> + <result date="2009-01-04" /> + <result date="2009-01-05" /> + <result date="2009-01-06" /> + <result date="2009-01-07" /> + <result date="2009-01-08" /> + <result date="2009-01-09" /> + <result date="2009-01-10" /> </results> \ No newline at end of file diff --git a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageUrl_week.xml b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageUrl_week.xml index 7fd44d3e505ff1c1de2985ffc88e4a796ccf7895..915e319c6eaa21ff48116dd9773a0975adc64311 100644 --- a/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageUrl_week.xml +++ b/tests/integration/expected/test_noVisit_PeriodIsLast__Actions.getPageUrl_week.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8" ?> <results> - <result defaultKeyName="2008-12-29 to 2009-01-04" /> - <result defaultKeyName="2009-01-05 to 2009-01-11" /> - <result defaultKeyName="2009-01-12 to 2009-01-18" /> - <result defaultKeyName="2009-01-19 to 2009-01-25" /> - <result defaultKeyName="2009-01-26 to 2009-02-01" /> - <result defaultKeyName="2009-02-02 to 2009-02-08" /> - <result defaultKeyName="2009-02-09 to 2009-02-15" /> + <result date="2008-12-29 to 2009-01-04" /> + <result date="2009-01-05 to 2009-01-11" /> + <result date="2009-01-12 to 2009-01-18" /> + <result date="2009-01-19 to 2009-01-25" /> + <result date="2009-01-26 to 2009-02-01" /> + <result date="2009-02-02 to 2009-02-08" /> + <result date="2009-02-09 to 2009-02-15" /> </results> \ No newline at end of file diff --git a/tests/integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__CustomVariables.getCustomVariables_range.xml b/tests/integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__CustomVariables.getCustomVariables_range.xml index b8d19de225c91985889646e10dda862d5066018f..943746aadb849fd910bfd7bf50aedf393bfbb56a 100644 --- a/tests/integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__CustomVariables.getCustomVariables_range.xml +++ b/tests/integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__CustomVariables.getCustomVariables_range.xml @@ -10,18 +10,18 @@ <goals> <row idgoal='1'> <nb_conversions>2</nb_conversions> - + <nb_visits_converted>2</nb_visits_converted> <revenue>1000</revenue> </row> <row idgoal='2'> <nb_conversions>1</nb_conversions> - + <nb_visits_converted>1</nb_visits_converted> <revenue>0</revenue> </row> </goals> <nb_conversions>3</nb_conversions> <revenue>1000</revenue> - + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> <subtable> <row> <label>LoggedOut</label> @@ -33,18 +33,18 @@ <goals> <row idgoal='1'> <nb_conversions>1</nb_conversions> - + <nb_visits_converted>1</nb_visits_converted> <revenue>1000</revenue> </row> <row idgoal='2'> <nb_conversions>1</nb_conversions> - + <nb_visits_converted>1</nb_visits_converted> <revenue>0</revenue> </row> </goals> <nb_conversions>2</nb_conversions> <revenue>1000</revenue> - + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> </row> <row> <label>LoggedIn</label> @@ -56,13 +56,13 @@ <goals> <row idgoal='1'> <nb_conversions>1</nb_conversions> - + <nb_visits_converted>1</nb_visits_converted> <revenue>0</revenue> </row> </goals> <nb_conversions>1</nb_conversions> <revenue>0</revenue> - + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> </row> </subtable> </row> @@ -76,13 +76,13 @@ <goals> <row idgoal='1'> <nb_conversions>1</nb_conversions> - + <nb_visits_converted>1</nb_visits_converted> <revenue>1000</revenue> </row> </goals> <nb_conversions>1</nb_conversions> <revenue>1000</revenue> - + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> <subtable> <row> <label>abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz</label> @@ -94,13 +94,13 @@ <goals> <row idgoal='1'> <nb_conversions>1</nb_conversions> - + <nb_visits_converted>1</nb_visits_converted> <revenue>1000</revenue> </row> </goals> <nb_conversions>1</nb_conversions> <revenue>1000</revenue> - + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> </row> </subtable> </row> @@ -114,13 +114,13 @@ <goals> <row idgoal='1'> <nb_conversions>1</nb_conversions> - + <nb_visits_converted>1</nb_visits_converted> <revenue>0</revenue> </row> </goals> <nb_conversions>1</nb_conversions> <revenue>0</revenue> - + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> <subtable> <row> <label>Value not defined</label> @@ -132,13 +132,13 @@ <goals> <row idgoal='1'> <nb_conversions>1</nb_conversions> - + <nb_visits_converted>1</nb_visits_converted> <revenue>0</revenue> </row> </goals> <nb_conversions>1</nb_conversions> <revenue>0</revenue> - + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> </row> </subtable> </row> @@ -152,13 +152,13 @@ <goals> <row idgoal='1'> <nb_conversions>1</nb_conversions> - + <nb_visits_converted>1</nb_visits_converted> <revenue>0</revenue> </row> </goals> <nb_conversions>1</nb_conversions> <revenue>0</revenue> - + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> <subtable> <row> <label>abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrst</label> @@ -170,13 +170,55 @@ <goals> <row idgoal='1'> <nb_conversions>1</nb_conversions> - + <nb_visits_converted>1</nb_visits_converted> <revenue>0</revenue> </row> </goals> <nb_conversions>1</nb_conversions> <revenue>0</revenue> - + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> + <row> + <label>Status user</label> + <nb_actions>3</nb_actions> + <subtable> + <row> + <label>looking at profile page</label> + <nb_visits>2</nb_visits> + <nb_actions>2</nb_actions> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + </row> + <row> + <label>Loggedin</label> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> + <row> + <label>SET WITH EMPTY VALUE PAGE SCOPE</label> + <nb_actions>1</nb_actions> + <subtable> + <row> + <label>Value not defined</label> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> + <row> + <label>Language</label> + <nb_actions>1</nb_actions> + <subtable> + <row> + <label>FR</label> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> </row> </subtable> </row> diff --git a/tests/integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getLastVisitsDetails_range.xml b/tests/integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getLastVisitsDetails_range.xml index 8d99e44fb88ff71ee5e03b07f302be25abf7e1c1..014329e27109d718ffc70954e8d9942c0e480b30 100644 --- a/tests/integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getLastVisitsDetails_range.xml +++ b/tests/integration/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getLastVisitsDetails_range.xml @@ -221,6 +221,16 @@ <pageIdAction>4</pageIdAction> <pageId>3</pageId> + <customVariables> + <row> + <customVariableName1>Language</customVariableName1> + <customVariableValue1>FR</customVariableValue1> + </row> + <row> + <customVariableName4>Status user</customVariableName4> + <customVariableValue4>looking at profile page</customVariableValue4> + </row> + </customVariables> <icon /> </row> <row> @@ -230,6 +240,16 @@ <pageIdAction>4</pageIdAction> <pageId>2</pageId> + <customVariables> + <row> + <customVariableName4>Status user</customVariableName4> + <customVariableValue4>Loggedin</customVariableValue4> + </row> + <row> + <customVariableName5>Status user</customVariableName5> + <customVariableValue5>looking at profile page</customVariableValue5> + </row> + </customVariables> <icon /> </row> </actionDetails> diff --git a/tests/integration/expected/test_twoVisitsWithCustomVariables__CustomVariables.getCustomVariables_day.xml b/tests/integration/expected/test_twoVisitsWithCustomVariables__CustomVariables.getCustomVariables_day.xml index 28d186c97975206648773d9a386a4f55ff99b780..5b4e18c03d531f083029e7737f7f6588e45f6d1f 100644 --- a/tests/integration/expected/test_twoVisitsWithCustomVariables__CustomVariables.getCustomVariables_day.xml +++ b/tests/integration/expected/test_twoVisitsWithCustomVariables__CustomVariables.getCustomVariables_day.xml @@ -182,6 +182,48 @@ </row> </subtable> </row> + <row> + <label>Status user</label> + <nb_actions>3</nb_actions> + <subtable> + <row> + <label>looking at profile page</label> + <nb_uniq_visitors>2</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>2</nb_actions> + </row> + <row> + <label>Loggedin</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + </row> + </subtable> + </row> + <row> + <label>SET WITH EMPTY VALUE PAGE SCOPE</label> + <nb_actions>1</nb_actions> + <subtable> + <row> + <label>Value not defined</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + </row> + </subtable> + </row> + <row> + <label>Language</label> + <nb_actions>1</nb_actions> + <subtable> + <row> + <label>FR</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + </row> + </subtable> + </row> </result> <result date="2010-01-04" /> <result date="2010-01-05" /> diff --git a/tests/integration/expected/test_twoVisitsWithCustomVariables__CustomVariables.getCustomVariables_week.xml b/tests/integration/expected/test_twoVisitsWithCustomVariables__CustomVariables.getCustomVariables_week.xml index 2b25ac4bcb3045e41ede4a49cbfbe6ed2277fc9c..ac3f3fd3fc2c5428c634819a4e4ad439deefb2b4 100644 --- a/tests/integration/expected/test_twoVisitsWithCustomVariables__CustomVariables.getCustomVariables_week.xml +++ b/tests/integration/expected/test_twoVisitsWithCustomVariables__CustomVariables.getCustomVariables_week.xml @@ -182,6 +182,48 @@ </row> </subtable> </row> + <row> + <label>Status user</label> + <nb_actions>3</nb_actions> + <subtable> + <row> + <label>looking at profile page</label> + <nb_visits>2</nb_visits> + <nb_actions>2</nb_actions> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + </row> + <row> + <label>Loggedin</label> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> + <row> + <label>SET WITH EMPTY VALUE PAGE SCOPE</label> + <nb_actions>1</nb_actions> + <subtable> + <row> + <label>Value not defined</label> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> + <row> + <label>Language</label> + <nb_actions>1</nb_actions> + <subtable> + <row> + <label>FR</label> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> </result> <result date="2010-01-04 to 2010-01-10" /> <result date="2010-01-11 to 2010-01-17" /> diff --git a/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__CustomVariables.getCustomVariables_day.xml b/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__CustomVariables.getCustomVariables_day.xml index 28d186c97975206648773d9a386a4f55ff99b780..5b4e18c03d531f083029e7737f7f6588e45f6d1f 100644 --- a/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__CustomVariables.getCustomVariables_day.xml +++ b/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__CustomVariables.getCustomVariables_day.xml @@ -182,6 +182,48 @@ </row> </subtable> </row> + <row> + <label>Status user</label> + <nb_actions>3</nb_actions> + <subtable> + <row> + <label>looking at profile page</label> + <nb_uniq_visitors>2</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>2</nb_actions> + </row> + <row> + <label>Loggedin</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + </row> + </subtable> + </row> + <row> + <label>SET WITH EMPTY VALUE PAGE SCOPE</label> + <nb_actions>1</nb_actions> + <subtable> + <row> + <label>Value not defined</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + </row> + </subtable> + </row> + <row> + <label>Language</label> + <nb_actions>1</nb_actions> + <subtable> + <row> + <label>FR</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + </row> + </subtable> + </row> </result> <result date="2010-01-04" /> <result date="2010-01-05" /> diff --git a/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__CustomVariables.getCustomVariables_week.xml b/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__CustomVariables.getCustomVariables_week.xml index 2b25ac4bcb3045e41ede4a49cbfbe6ed2277fc9c..ac3f3fd3fc2c5428c634819a4e4ad439deefb2b4 100644 --- a/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__CustomVariables.getCustomVariables_week.xml +++ b/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__CustomVariables.getCustomVariables_week.xml @@ -182,6 +182,48 @@ </row> </subtable> </row> + <row> + <label>Status user</label> + <nb_actions>3</nb_actions> + <subtable> + <row> + <label>looking at profile page</label> + <nb_visits>2</nb_visits> + <nb_actions>2</nb_actions> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + </row> + <row> + <label>Loggedin</label> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> + <row> + <label>SET WITH EMPTY VALUE PAGE SCOPE</label> + <nb_actions>1</nb_actions> + <subtable> + <row> + <label>Value not defined</label> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> + <row> + <label>Language</label> + <nb_actions>1</nb_actions> + <subtable> + <row> + <label>FR</label> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> </result> <result date="2010-01-04 to 2010-01-10" /> <result date="2010-01-11 to 2010-01-17" /> diff --git a/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchVisitorType__CustomVariables.getCustomVariables_day.xml b/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchVisitorType__CustomVariables.getCustomVariables_day.xml index cd0a713ac975c64fc89c4e085d08af4abad8bf4c..0d96c8759e8a183173220aa27cd7f120936a2269 100644 --- a/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchVisitorType__CustomVariables.getCustomVariables_day.xml +++ b/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchVisitorType__CustomVariables.getCustomVariables_day.xml @@ -133,6 +133,48 @@ </row> </subtable> </row> + <row> + <label>Status user</label> + <nb_actions>3</nb_actions> + <subtable> + <row> + <label>looking at profile page</label> + <nb_uniq_visitors>2</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>2</nb_actions> + </row> + <row> + <label>Loggedin</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + </row> + </subtable> + </row> + <row> + <label>SET WITH EMPTY VALUE PAGE SCOPE</label> + <nb_actions>1</nb_actions> + <subtable> + <row> + <label>Value not defined</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + </row> + </subtable> + </row> + <row> + <label>Language</label> + <nb_actions>1</nb_actions> + <subtable> + <row> + <label>FR</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + </row> + </subtable> + </row> </result> <result date="2010-01-04" /> <result date="2010-01-05" /> diff --git a/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchVisitorType__CustomVariables.getCustomVariables_week.xml b/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchVisitorType__CustomVariables.getCustomVariables_week.xml index 52fae48742b3d304e4160b9fb36455f4fa1d9ca8..f809f87888d62bba039c8b33948d3fa09aaf1b3f 100644 --- a/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchVisitorType__CustomVariables.getCustomVariables_week.xml +++ b/tests/integration/expected/test_twoVisitsWithCustomVariables_segmentMatchVisitorType__CustomVariables.getCustomVariables_week.xml @@ -133,6 +133,48 @@ </row> </subtable> </row> + <row> + <label>Status user</label> + <nb_actions>3</nb_actions> + <subtable> + <row> + <label>looking at profile page</label> + <nb_visits>2</nb_visits> + <nb_actions>2</nb_actions> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + </row> + <row> + <label>Loggedin</label> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> + <row> + <label>SET WITH EMPTY VALUE PAGE SCOPE</label> + <nb_actions>1</nb_actions> + <subtable> + <row> + <label>Value not defined</label> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> + <row> + <label>Language</label> + <nb_actions>1</nb_actions> + <subtable> + <row> + <label>FR</label> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> </result> <result date="2010-01-04 to 2010-01-10" /> <result date="2010-01-11 to 2010-01-17" />