diff options
author | Kate Butler <kate@innocraft.com> | 2019-04-24 03:08:50 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2019-04-24 03:08:50 +0300 |
commit | 79ae22abc5fbd8595c1bf53bdb7402f184c09de3 (patch) | |
tree | 77657e17d3be7242ba7886e5d44d911e6c20c06e /plugins | |
parent | 7dffd74ccc615c086173c8f6789a2b5033bf53da (diff) |
Permit segmenting by order ID (#14316)
* Ability to segment by ecommerce order ID
* Auto-complete for ecommerce orderId dimension
* New data fixture for testing auto-suggest of order IDs
* Fix API test expected files to match new fixture
* Add new expected file for order ID segment API test
* Revert Order metric name back to previous value
* Fix unit test
Diffstat (limited to 'plugins')
65 files changed, 446 insertions, 231 deletions
diff --git a/plugins/API/API.php b/plugins/API/API.php index 0f8e2dda46..a303827daa 100644 --- a/plugins/API/API.php +++ b/plugins/API/API.php @@ -223,6 +223,18 @@ class API extends \Piwik\Plugin\API // Select also flattened keys (custom variables "page" scope, page URLs for one visit, page titles for one visit) $valuesBis = $table->getColumnsStartingWith($segmentName . ColumnDelete::APPEND_TO_COLUMN_NAME_TO_KEEP); $values = array_merge($values, $valuesBis); + + // Select values from the action details if needed for this particular segment + if (empty(array_filter($values)) && $this->doesSegmentNeedActionsData($segmentName)) { + foreach ($table->getRows() as $row) { + foreach ($row->getColumn('actionDetails') as $actionRow) { + if (isset($actionRow[$segmentName])) { + $values[] = $actionRow[$segmentName]; + } + } + } + } + return $values; } @@ -703,7 +715,7 @@ class API extends \Piwik\Plugin\API $segmentsNeedActionsInfo = array('visitConvertedGoalId', 'pageUrl', 'pageTitle', 'siteSearchKeyword', 'entryPageTitle', 'entryPageUrl', 'exitPageTitle', 'exitPageUrl', - 'outlinkUrl', 'downloadUrl', 'eventUrl' + 'outlinkUrl', 'downloadUrl', 'eventUrl', 'orderId' ); $isCustomVariablePage = stripos($segmentName, 'customVariablePage') !== false; $isEventSegment = stripos($segmentName, 'event') !== false; diff --git a/plugins/API/tests/System/AutoSuggestAPITest.php b/plugins/API/tests/System/AutoSuggestAPITest.php index c1472b506a..821c7847aa 100644 --- a/plugins/API/tests/System/AutoSuggestAPITest.php +++ b/plugins/API/tests/System/AutoSuggestAPITest.php @@ -20,6 +20,7 @@ use Piwik\Plugins\CustomVariables\Columns\CustomVariableName; use Piwik\Plugins\CustomVariables\Columns\CustomVariableValue; use Piwik\Plugins\CustomVariables\Model; use Piwik\Tests\Fixtures\ManyVisitsWithGeoIP; +use Piwik\Tests\Fixtures\ManyVisitsWithGeoIPAndEcommerce; use Piwik\Tests\Framework\TestCase\SystemTestCase; use Piwik\Tracker\Cache; @@ -256,5 +257,5 @@ $lookBack = ceil((time() - $date) / 86400); API::$_autoSuggestLookBack = $lookBack; -\Piwik\Plugins\API\tests\System\AutoSuggestAPITest::$fixture = new ManyVisitsWithGeoIP(); +\Piwik\Plugins\API\tests\System\AutoSuggestAPITest::$fixture = new ManyVisitsWithGeoIPAndEcommerce(); \Piwik\Plugins\API\tests\System\AutoSuggestAPITest::$fixture->dateTime = Date::factory($date)->getDatetime(); diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml index f9828ace23..6521ffee87 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml @@ -219,7 +219,7 @@ <type>download</type> <url>http://example.org/path/file8.zip</url> <pageTitle /> - <pageIdAction>47</pageIdAction> + <pageIdAction>50</pageIdAction> <pageId>48</pageId> @@ -238,7 +238,7 @@ <type>outlink</type> <url>http://example-outlink.org/8.html</url> <pageTitle /> - <pageIdAction>48</pageIdAction> + <pageIdAction>51</pageIdAction> <pageId>49</pageId> @@ -591,7 +591,7 @@ <type>download</type> <url>http://example.org/path/file7.zip</url> <pageTitle /> - <pageIdAction>42</pageIdAction> + <pageIdAction>45</pageIdAction> <pageId>42</pageId> @@ -610,7 +610,7 @@ <type>outlink</type> <url>http://example-outlink.org/7.html</url> <pageTitle /> - <pageIdAction>43</pageIdAction> + <pageIdAction>46</pageIdAction> <pageId>43</pageId> @@ -703,9 +703,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -857,9 +857,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -988,7 +988,7 @@ <type>download</type> <url>http://example.org/path/file6.zip</url> <pageTitle /> - <pageIdAction>37</pageIdAction> + <pageIdAction>40</pageIdAction> <pageId>37</pageId> @@ -1007,7 +1007,7 @@ <type>outlink</type> <url>http://example-outlink.org/6.html</url> <pageTitle /> - <pageIdAction>38</pageIdAction> + <pageIdAction>41</pageIdAction> <pageId>38</pageId> @@ -1023,6 +1023,31 @@ <bandwidth_pretty>0 M</bandwidth_pretty> </row> <row> + <type>ecommerceOrder</type> + <orderId>1007</orderId> + <revenue>111.11</revenue> + <revenueSubTotal>100</revenueSubTotal> + <revenueTax>11</revenueTax> + <revenueShipping>0</revenueShipping> + <revenueDiscount>0</revenueDiscount> + <items>1</items> + + <itemDetails> + <row> + <itemSKU>ABCD1234</itemSKU> + <itemName>My Product</itemName> + <itemCategory>My Category</itemCategory> + <price>100</price> + <quantity>1</quantity> + </row> + </itemDetails> + <icon>plugins/Morpheus/images/ecommerceOrder.png</icon> + <iconSVG>plugins/Morpheus/images/ecommerceOrder.svg</iconSVG> + <title>Ordered (1007)</title> + <subtitle>$ 111.11 revenue - 1 items: My Product)</subtitle> + + </row> + <row> <type>event</type> <url>http://piwik.net/space/quest/iv</url> <pageIdAction>8</pageIdAction> @@ -1063,12 +1088,12 @@ <visitConverted>1</visitConverted> <visitConvertedIcon>plugins/Morpheus/images/goal.svg</visitConvertedIcon> <visitCount>5</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> - <visitEcommerceStatusIcon /> + <visitEcommerceStatus>ordered</visitEcommerceStatus> + <visitEcommerceStatusIcon>plugins/Morpheus/images/ecommerceOrder.svg</visitEcommerceStatusIcon> <daysSinceFirstVisit>100</daysSinceFirstVisit> <daysSinceLastEcommerceOrder>50</daysSinceLastEcommerceOrder> - <visitDuration>1621</visitDuration> - <visitDurationPretty>27 min 1s</visitDurationPretty> + <visitDuration>1623</visitDuration> + <visitDurationPretty>27 min 3s</visitDurationPretty> <searches>1</searches> <actions>5</actions> <interactions>2</interactions> @@ -1100,9 +1125,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -1254,9 +1279,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -1360,7 +1385,7 @@ <type>download</type> <url>http://example.org/path/file5.zip</url> <pageTitle /> - <pageIdAction>32</pageIdAction> + <pageIdAction>35</pageIdAction> <pageId>31</pageId> @@ -1379,7 +1404,7 @@ <type>outlink</type> <url>http://example-outlink.org/5.html</url> <pageTitle /> - <pageIdAction>33</pageIdAction> + <pageIdAction>36</pageIdAction> <pageId>32</pageId> @@ -1757,7 +1782,7 @@ <type>download</type> <url>http://example.org/path/file4.zip</url> <pageTitle /> - <pageIdAction>27</pageIdAction> + <pageIdAction>30</pageIdAction> <pageId>26</pageId> @@ -1776,7 +1801,7 @@ <type>outlink</type> <url>http://example-outlink.org/4.html</url> <pageTitle /> - <pageIdAction>28</pageIdAction> + <pageIdAction>31</pageIdAction> <pageId>27</pageId> @@ -2129,7 +2154,7 @@ <type>download</type> <url>http://example.org/path/file3.zip</url> <pageTitle /> - <pageIdAction>22</pageIdAction> + <pageIdAction>25</pageIdAction> <pageId>20</pageId> @@ -2148,7 +2173,7 @@ <type>outlink</type> <url>http://example-outlink.org/3.html</url> <pageTitle /> - <pageIdAction>23</pageIdAction> + <pageIdAction>26</pageIdAction> <pageId>21</pageId> @@ -2164,6 +2189,31 @@ <bandwidth_pretty>0 M</bandwidth_pretty> </row> <row> + <type>ecommerceOrder</type> + <orderId>1004</orderId> + <revenue>111.11</revenue> + <revenueSubTotal>100</revenueSubTotal> + <revenueTax>11</revenueTax> + <revenueShipping>0</revenueShipping> + <revenueDiscount>0</revenueDiscount> + <items>1</items> + + <itemDetails> + <row> + <itemSKU>ABCD1234</itemSKU> + <itemName>My Product</itemName> + <itemCategory>My Category</itemCategory> + <price>100</price> + <quantity>1</quantity> + </row> + </itemDetails> + <icon>plugins/Morpheus/images/ecommerceOrder.png</icon> + <iconSVG>plugins/Morpheus/images/ecommerceOrder.svg</iconSVG> + <title>Ordered (1004)</title> + <subtitle>$ 111.11 revenue - 1 items: My Product)</subtitle> + + </row> + <row> <type>event</type> <url>http://piwik.net/space/quest/iv</url> <pageIdAction>8</pageIdAction> @@ -2204,12 +2254,12 @@ <visitConverted>1</visitConverted> <visitConvertedIcon>plugins/Morpheus/images/goal.svg</visitConvertedIcon> <visitCount>5</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> - <visitEcommerceStatusIcon /> + <visitEcommerceStatus>ordered</visitEcommerceStatus> + <visitEcommerceStatusIcon>plugins/Morpheus/images/ecommerceOrder.svg</visitEcommerceStatusIcon> <daysSinceFirstVisit>100</daysSinceFirstVisit> <daysSinceLastEcommerceOrder>50</daysSinceLastEcommerceOrder> - <visitDuration>1621</visitDuration> - <visitDurationPretty>27 min 1s</visitDurationPretty> + <visitDuration>1623</visitDuration> + <visitDurationPretty>27 min 3s</visitDurationPretty> <searches>0</searches> <actions>4</actions> <interactions>1</interactions> @@ -2241,9 +2291,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -2347,7 +2397,7 @@ <type>download</type> <url>http://example.org/path/file3.zip</url> <pageTitle /> - <pageIdAction>22</pageIdAction> + <pageIdAction>25</pageIdAction> <pageId>81</pageId> @@ -2366,7 +2416,7 @@ <type>outlink</type> <url>http://example-outlink.org/3.html</url> <pageTitle /> - <pageIdAction>23</pageIdAction> + <pageIdAction>26</pageIdAction> <pageId>82</pageId> @@ -2382,6 +2432,31 @@ <bandwidth_pretty>0 M</bandwidth_pretty> </row> <row> + <type>ecommerceOrder</type> + <orderId>3004</orderId> + <revenue>111.11</revenue> + <revenueSubTotal>100</revenueSubTotal> + <revenueTax>11</revenueTax> + <revenueShipping>0</revenueShipping> + <revenueDiscount>0</revenueDiscount> + <items>1</items> + + <itemDetails> + <row> + <itemSKU>ABCD1234</itemSKU> + <itemName>My Product</itemName> + <itemCategory>My Category</itemCategory> + <price>100</price> + <quantity>1</quantity> + </row> + </itemDetails> + <icon>plugins/Morpheus/images/ecommerceOrder.png</icon> + <iconSVG>plugins/Morpheus/images/ecommerceOrder.svg</iconSVG> + <title>Ordered (3004)</title> + <subtitle>$ 111.11 revenue - 1 items: My Product)</subtitle> + + </row> + <row> <type>event</type> <url>http://piwik.net/space/quest/iv</url> <pageIdAction>8</pageIdAction> @@ -2422,12 +2497,12 @@ <visitConverted>1</visitConverted> <visitConvertedIcon>plugins/Morpheus/images/goal.svg</visitConvertedIcon> <visitCount>5</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> - <visitEcommerceStatusIcon /> + <visitEcommerceStatus>ordered</visitEcommerceStatus> + <visitEcommerceStatusIcon>plugins/Morpheus/images/ecommerceOrder.svg</visitEcommerceStatusIcon> <daysSinceFirstVisit>100</daysSinceFirstVisit> <daysSinceLastEcommerceOrder>50</daysSinceLastEcommerceOrder> - <visitDuration>1621</visitDuration> - <visitDurationPretty>27 min 1s</visitDurationPretty> + <visitDuration>1623</visitDuration> + <visitDurationPretty>27 min 3s</visitDurationPretty> <searches>0</searches> <actions>4</actions> <interactions>1</interactions> @@ -2459,9 +2534,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/CH.png</browserIcon> <browserCode>CH</browserCode> <browserVersion>34.0</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -2605,9 +2680,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -2759,9 +2834,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/CH.png</browserIcon> <browserCode>CH</browserCode> <browserVersion>34.0</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -2890,7 +2965,7 @@ <type>download</type> <url>http://example.org/path/file2.zip</url> <pageTitle /> - <pageIdAction>17</pageIdAction> + <pageIdAction>20</pageIdAction> <pageId>15</pageId> @@ -2909,7 +2984,7 @@ <type>outlink</type> <url>http://example-outlink.org/2.html</url> <pageTitle /> - <pageIdAction>18</pageIdAction> + <pageIdAction>21</pageIdAction> <pageId>16</pageId> @@ -3002,9 +3077,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -3133,7 +3208,7 @@ <type>download</type> <url>http://example.org/path/file2.zip</url> <pageTitle /> - <pageIdAction>17</pageIdAction> + <pageIdAction>20</pageIdAction> <pageId>76</pageId> @@ -3152,7 +3227,7 @@ <type>outlink</type> <url>http://example-outlink.org/2.html</url> <pageTitle /> - <pageIdAction>18</pageIdAction> + <pageIdAction>21</pageIdAction> <pageId>77</pageId> @@ -3245,9 +3320,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/IE.png</browserIcon> <browserCode>IE</browserCode> <browserVersion>11.0</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -3391,9 +3466,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -3545,9 +3620,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/IE.png</browserIcon> <browserCode>IE</browserCode> <browserVersion>11.0</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -3651,7 +3726,7 @@ <type>download</type> <url>http://example.org/path/file1.zip</url> <pageTitle /> - <pageIdAction>12</pageIdAction> + <pageIdAction>15</pageIdAction> <pageId>9</pageId> @@ -3670,7 +3745,7 @@ <type>outlink</type> <url>http://example-outlink.org/1.html</url> <pageTitle /> - <pageIdAction>13</pageIdAction> + <pageIdAction>16</pageIdAction> <pageId>10</pageId> @@ -3763,9 +3838,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -3869,7 +3944,7 @@ <type>download</type> <url>http://example.org/path/file1.zip</url> <pageTitle /> - <pageIdAction>12</pageIdAction> + <pageIdAction>15</pageIdAction> <pageId>59</pageId> @@ -3888,7 +3963,7 @@ <type>outlink</type> <url>http://example-outlink.org/1.html</url> <pageTitle /> - <pageIdAction>13</pageIdAction> + <pageIdAction>16</pageIdAction> <pageId>60</pageId> @@ -3981,9 +4056,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/AN.png</browserIcon> <browserCode>AN</browserCode> <browserVersion /> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -4087,7 +4162,7 @@ <type>download</type> <url>http://example.org/path/file1.zip</url> <pageTitle /> - <pageIdAction>12</pageIdAction> + <pageIdAction>15</pageIdAction> <pageId>70</pageId> @@ -4106,7 +4181,7 @@ <type>outlink</type> <url>http://example-outlink.org/1.html</url> <pageTitle /> - <pageIdAction>13</pageIdAction> + <pageIdAction>16</pageIdAction> <pageId>71</pageId> @@ -4199,9 +4274,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/IE.png</browserIcon> <browserCode>IE</browserCode> <browserVersion>8.0</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -4297,7 +4372,7 @@ <type>download</type> <url>http://example.org/path/file1.zip</url> <pageTitle /> - <pageIdAction>12</pageIdAction> + <pageIdAction>15</pageIdAction> <pageId>92</pageId> @@ -4316,7 +4391,7 @@ <type>outlink</type> <url>http://example-outlink.org/1.html</url> <pageTitle /> - <pageIdAction>13</pageIdAction> + <pageIdAction>16</pageIdAction> <pageId>93</pageId> @@ -4409,9 +4484,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.0</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -4563,9 +4638,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -4717,9 +4792,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/AN.png</browserIcon> <browserCode>AN</browserCode> <browserVersion /> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -4871,9 +4946,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/IE.png</browserIcon> <browserCode>IE</browserCode> <browserVersion>8.0</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -5025,9 +5100,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.0</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -5191,6 +5266,31 @@ <bandwidth_pretty>0 M</bandwidth_pretty> </row> <row> + <type>ecommerceOrder</type> + <orderId>1001</orderId> + <revenue>111.11</revenue> + <revenueSubTotal>100</revenueSubTotal> + <revenueTax>11</revenueTax> + <revenueShipping>0</revenueShipping> + <revenueDiscount>0</revenueDiscount> + <items>1</items> + + <itemDetails> + <row> + <itemSKU>ABCD1234</itemSKU> + <itemName>My Product</itemName> + <itemCategory>My Category</itemCategory> + <price>100</price> + <quantity>1</quantity> + </row> + </itemDetails> + <icon>plugins/Morpheus/images/ecommerceOrder.png</icon> + <iconSVG>plugins/Morpheus/images/ecommerceOrder.svg</iconSVG> + <title>Ordered (1001)</title> + <subtitle>$ 111.11 revenue - 1 items: My Product)</subtitle> + + </row> + <row> <type>event</type> <url>http://piwik.net/space/quest/iv</url> <pageIdAction>8</pageIdAction> @@ -5231,12 +5331,12 @@ <visitConverted>1</visitConverted> <visitConvertedIcon>plugins/Morpheus/images/goal.svg</visitConvertedIcon> <visitCount>5</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> - <visitEcommerceStatusIcon /> + <visitEcommerceStatus>ordered</visitEcommerceStatus> + <visitEcommerceStatusIcon>plugins/Morpheus/images/ecommerceOrder.svg</visitEcommerceStatusIcon> <daysSinceFirstVisit>100</daysSinceFirstVisit> <daysSinceLastEcommerceOrder>50</daysSinceLastEcommerceOrder> - <visitDuration>1621</visitDuration> - <visitDurationPretty>27 min 1s</visitDurationPretty> + <visitDuration>1623</visitDuration> + <visitDurationPretty>27 min 3s</visitDurationPretty> <searches>1</searches> <actions>5</actions> <interactions>2</interactions> @@ -5268,9 +5368,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -5434,6 +5534,31 @@ <bandwidth_pretty>0 M</bandwidth_pretty> </row> <row> + <type>ecommerceOrder</type> + <orderId>2001</orderId> + <revenue>111.11</revenue> + <revenueSubTotal>100</revenueSubTotal> + <revenueTax>11</revenueTax> + <revenueShipping>0</revenueShipping> + <revenueDiscount>0</revenueDiscount> + <items>1</items> + + <itemDetails> + <row> + <itemSKU>ABCD1234</itemSKU> + <itemName>My Product</itemName> + <itemCategory>My Category</itemCategory> + <price>100</price> + <quantity>1</quantity> + </row> + </itemDetails> + <icon>plugins/Morpheus/images/ecommerceOrder.png</icon> + <iconSVG>plugins/Morpheus/images/ecommerceOrder.svg</iconSVG> + <title>Ordered (2001)</title> + <subtitle>$ 111.11 revenue - 1 items: My Product)</subtitle> + + </row> + <row> <type>event</type> <url>http://piwik.net/space/quest/iv</url> <pageIdAction>8</pageIdAction> @@ -5474,12 +5599,12 @@ <visitConverted>1</visitConverted> <visitConvertedIcon>plugins/Morpheus/images/goal.svg</visitConvertedIcon> <visitCount>5</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> - <visitEcommerceStatusIcon /> + <visitEcommerceStatus>ordered</visitEcommerceStatus> + <visitEcommerceStatusIcon>plugins/Morpheus/images/ecommerceOrder.svg</visitEcommerceStatusIcon> <daysSinceFirstVisit>100</daysSinceFirstVisit> <daysSinceLastEcommerceOrder>50</daysSinceLastEcommerceOrder> - <visitDuration>1621</visitDuration> - <visitDurationPretty>27 min 1s</visitDurationPretty> + <visitDuration>1623</visitDuration> + <visitDurationPretty>27 min 3s</visitDurationPretty> <searches>1</searches> <actions>5</actions> <interactions>2</interactions> @@ -5511,9 +5636,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/CM.png</browserIcon> <browserCode>CM</browserCode> <browserVersion>33.0</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -5677,6 +5802,31 @@ <bandwidth_pretty>0 M</bandwidth_pretty> </row> <row> + <type>ecommerceOrder</type> + <orderId>3001</orderId> + <revenue>111.11</revenue> + <revenueSubTotal>100</revenueSubTotal> + <revenueTax>11</revenueTax> + <revenueShipping>0</revenueShipping> + <revenueDiscount>0</revenueDiscount> + <items>1</items> + + <itemDetails> + <row> + <itemSKU>ABCD1234</itemSKU> + <itemName>My Product</itemName> + <itemCategory>My Category</itemCategory> + <price>100</price> + <quantity>1</quantity> + </row> + </itemDetails> + <icon>plugins/Morpheus/images/ecommerceOrder.png</icon> + <iconSVG>plugins/Morpheus/images/ecommerceOrder.svg</iconSVG> + <title>Ordered (3001)</title> + <subtitle>$ 111.11 revenue - 1 items: My Product)</subtitle> + + </row> + <row> <type>event</type> <url>http://piwik.net/space/quest/iv</url> <pageIdAction>8</pageIdAction> @@ -5717,12 +5867,12 @@ <visitConverted>1</visitConverted> <visitConvertedIcon>plugins/Morpheus/images/goal.svg</visitConvertedIcon> <visitCount>5</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> - <visitEcommerceStatusIcon /> + <visitEcommerceStatus>ordered</visitEcommerceStatus> + <visitEcommerceStatusIcon>plugins/Morpheus/images/ecommerceOrder.svg</visitEcommerceStatusIcon> <daysSinceFirstVisit>100</daysSinceFirstVisit> <daysSinceLastEcommerceOrder>50</daysSinceLastEcommerceOrder> - <visitDuration>1621</visitDuration> - <visitDurationPretty>27 min 1s</visitDurationPretty> + <visitDuration>1623</visitDuration> + <visitDurationPretty>27 min 3s</visitDurationPretty> <searches>1</searches> <actions>5</actions> <interactions>2</interactions> @@ -5754,9 +5904,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/CH.png</browserIcon> <browserCode>CH</browserCode> <browserVersion>32.0</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -5912,6 +6062,31 @@ <bandwidth_pretty>0 M</bandwidth_pretty> </row> <row> + <type>ecommerceOrder</type> + <orderId>4001</orderId> + <revenue>111.11</revenue> + <revenueSubTotal>100</revenueSubTotal> + <revenueTax>11</revenueTax> + <revenueShipping>0</revenueShipping> + <revenueDiscount>0</revenueDiscount> + <items>1</items> + + <itemDetails> + <row> + <itemSKU>ABCD1234</itemSKU> + <itemName>My Product</itemName> + <itemCategory>My Category</itemCategory> + <price>100</price> + <quantity>1</quantity> + </row> + </itemDetails> + <icon>plugins/Morpheus/images/ecommerceOrder.png</icon> + <iconSVG>plugins/Morpheus/images/ecommerceOrder.svg</iconSVG> + <title>Ordered (4001)</title> + <subtitle>$ 111.11 revenue - 1 items: My Product)</subtitle> + + </row> + <row> <type>event</type> <url>http://piwik.net/space/quest/iv</url> <pageIdAction>8</pageIdAction> @@ -5952,12 +6127,12 @@ <visitConverted>1</visitConverted> <visitConvertedIcon>plugins/Morpheus/images/goal.svg</visitConvertedIcon> <visitCount>5</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> - <visitEcommerceStatusIcon /> + <visitEcommerceStatus>ordered</visitEcommerceStatus> + <visitEcommerceStatusIcon>plugins/Morpheus/images/ecommerceOrder.svg</visitEcommerceStatusIcon> <daysSinceFirstVisit>100</daysSinceFirstVisit> <daysSinceLastEcommerceOrder>50</daysSinceLastEcommerceOrder> - <visitDuration>1621</visitDuration> - <visitDurationPretty>27 min 1s</visitDurationPretty> + <visitDuration>1623</visitDuration> + <visitDurationPretty>27 min 3s</visitDurationPretty> <searches>1</searches> <actions>5</actions> <interactions>2</interactions> @@ -5989,9 +6164,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/QQ.png</browserIcon> <browserCode>QQ</browserCode> <browserVersion>5.0</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -6143,9 +6318,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -6297,9 +6472,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/CM.png</browserIcon> <browserCode>CM</browserCode> <browserVersion>33.0</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -6451,9 +6626,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/CH.png</browserIcon> <browserCode>CH</browserCode> <browserVersion>32.0</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> @@ -6605,9 +6780,9 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/QQ.png</browserIcon> <browserCode>QQ</browserCode> <browserVersion>5.0</browserVersion> - <totalEcommerceRevenue>0</totalEcommerceRevenue> - <totalEcommerceConversions>0</totalEcommerceConversions> - <totalEcommerceItems>0</totalEcommerceItems> + <totalEcommerceRevenue>111.11</totalEcommerceRevenue> + <totalEcommerceConversions>1</totalEcommerceConversions> + <totalEcommerceItems>1</totalEcommerceItems> <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_actionServerMinute__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_actionServerMinute__VisitsSummary.get_range.xml index c52a442d2f..e0d7aff01a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_actionServerMinute__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_actionServerMinute__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>95</nb_actions> <nb_visits_converted>35</nb_visits_converted> <bounce_count>18</bounce_count> - <sum_visit_length>27565</sum_visit_length> + <sum_visit_length>27579</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>51%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_actionType__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_actionType__VisitsSummary.get_range.xml index c52a442d2f..e0d7aff01a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_actionType__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_actionType__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>95</nb_actions> <nb_visits_converted>35</nb_visits_converted> <bounce_count>18</bounce_count> - <sum_visit_length>27565</sum_visit_length> + <sum_visit_length>27579</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>51%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_actionUrl__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_actionUrl__VisitsSummary.get_range.xml index eb20b7dcf9..b5c4efe72a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_actionUrl__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_actionUrl__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>77</nb_actions> <nb_visits_converted>17</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>27557</sum_visit_length> + <sum_visit_length>27571</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>4.5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1622</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserCode__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserCode__VisitsSummary.get_range.xml index 28a968d919..b539d48000 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserCode__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserCode__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>55</nb_actions> <nb_visits_converted>20</nb_visits_converted> <bounce_count>10</bounce_count> - <sum_visit_length>16215</sum_visit_length> + <sum_visit_length>16221</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>50%</bounce_rate> <nb_actions_per_visit>2.8</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserEngine__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserEngine__VisitsSummary.get_range.xml index 4269cea13d..2b2cde7429 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserEngine__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserEngine__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>12</nb_actions> <nb_visits_converted>5</nb_visits_converted> <bounce_count>3</bounce_count> - <sum_visit_length>3243</sum_visit_length> + <sum_visit_length>3245</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>60%</bounce_rate> <nb_actions_per_visit>2.4</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserVersion__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserVersion__VisitsSummary.get_range.xml index bcea1c4ec4..aa0686ed99 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserVersion__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserVersion__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>50</nb_actions> <nb_visits_converted>18</nb_visits_converted> <bounce_count>9</bounce_count> - <sum_visit_length>14593</sum_visit_length> + <sum_visit_length>14599</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>50%</bounce_rate> <nb_actions_per_visit>2.8</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_city__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_city__VisitsSummary.get_range.xml index b5a939a130..0b970c70f4 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_city__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_city__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>28</nb_actions> <nb_visits_converted>10</nb_visits_converted> <bounce_count>5</bounce_count> - <sum_visit_length>8107</sum_visit_length> + <sum_visit_length>8109</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>50%</bounce_rate> <nb_actions_per_visit>2.8</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_continentCode__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_continentCode__VisitsSummary.get_range.xml index 1dc5b7681d..64544a39a1 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_continentCode__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_continentCode__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>56</nb_actions> <nb_visits_converted>20</nb_visits_converted> <bounce_count>10</bounce_count> - <sum_visit_length>16214</sum_visit_length> + <sum_visit_length>16224</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>50%</bounce_rate> <nb_actions_per_visit>2.8</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_countryCode__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_countryCode__VisitsSummary.get_range.xml index b5a939a130..02a24ce0eb 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_countryCode__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_countryCode__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>28</nb_actions> <nb_visits_converted>10</nb_visits_converted> <bounce_count>5</bounce_count> - <sum_visit_length>8107</sum_visit_length> + <sum_visit_length>8111</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>50%</bounce_rate> <nb_actions_per_visit>2.8</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableName1__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableName1__VisitsSummary.get_range.xml index c8fba4a59b..04f59252bd 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableName1__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableName1__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>76</nb_actions> <nb_visits_converted>30</nb_visits_converted> <bounce_count>17</bounce_count> - <sum_visit_length>21081</sum_visit_length> + <sum_visit_length>21091</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>57%</bounce_rate> <nb_actions_per_visit>2.5</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableName5__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableName5__VisitsSummary.get_range.xml index c8fba4a59b..04f59252bd 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableName5__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableName5__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>76</nb_actions> <nb_visits_converted>30</nb_visits_converted> <bounce_count>17</bounce_count> - <sum_visit_length>21081</sum_visit_length> + <sum_visit_length>21091</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>57%</bounce_rate> <nb_actions_per_visit>2.5</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableName__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableName__VisitsSummary.get_range.xml index c8fba4a59b..04f59252bd 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableName__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableName__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>76</nb_actions> <nb_visits_converted>30</nb_visits_converted> <bounce_count>17</bounce_count> - <sum_visit_length>21081</sum_visit_length> + <sum_visit_length>21091</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>57%</bounce_rate> <nb_actions_per_visit>2.5</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariablePageValue4__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariablePageValue4__VisitsSummary.get_range.xml index 125518f3a5..4be0b7b205 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariablePageValue4__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariablePageValue4__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>45</nb_actions> <nb_visits_converted>9</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>14589</sum_visit_length> + <sum_visit_length>14599</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1622</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariablePageValue__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariablePageValue__VisitsSummary.get_range.xml index 125518f3a5..4be0b7b205 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariablePageValue__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariablePageValue__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>45</nb_actions> <nb_visits_converted>9</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>14589</sum_visit_length> + <sum_visit_length>14599</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1622</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableValue1__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableValue1__VisitsSummary.get_range.xml index f3e5435061..7383e9718d 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableValue1__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableValue1__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>19</nb_actions> <nb_visits_converted>7</nb_visits_converted> <bounce_count>4</bounce_count> - <sum_visit_length>4863</sum_visit_length> + <sum_visit_length>4869</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>57%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> - <avg_time_on_site>695</avg_time_on_site> + <avg_time_on_site>696</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableValue5__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableValue5__VisitsSummary.get_range.xml index f3e5435061..7383e9718d 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableValue5__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableValue5__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>19</nb_actions> <nb_visits_converted>7</nb_visits_converted> <bounce_count>4</bounce_count> - <sum_visit_length>4863</sum_visit_length> + <sum_visit_length>4869</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>57%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> - <avg_time_on_site>695</avg_time_on_site> + <avg_time_on_site>696</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableValue__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableValue__VisitsSummary.get_range.xml index f3e5435061..7383e9718d 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableValue__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_customVariableValue__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>19</nb_actions> <nb_visits_converted>7</nb_visits_converted> <bounce_count>4</bounce_count> - <sum_visit_length>4863</sum_visit_length> + <sum_visit_length>4869</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>57%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> - <avg_time_on_site>695</avg_time_on_site> + <avg_time_on_site>696</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_daysSinceFirstVisit__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_daysSinceFirstVisit__VisitsSummary.get_range.xml index 3c23ae5e4b..4106085607 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_daysSinceFirstVisit__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_daysSinceFirstVisit__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>85</nb_actions> <nb_visits_converted>25</nb_visits_converted> <bounce_count>8</bounce_count> - <sum_visit_length>27565</sum_visit_length> + <sum_visit_length>27579</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>32%</bounce_rate> <nb_actions_per_visit>3.4</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_daysSinceLastEcommerceOrder__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_daysSinceLastEcommerceOrder__VisitsSummary.get_range.xml index eb20b7dcf9..b5c4efe72a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_daysSinceLastEcommerceOrder__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_daysSinceLastEcommerceOrder__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>77</nb_actions> <nb_visits_converted>17</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>27557</sum_visit_length> + <sum_visit_length>27571</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>4.5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1622</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_daysSinceLastVisit__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_daysSinceLastVisit__VisitsSummary.get_range.xml index eb20b7dcf9..b5c4efe72a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_daysSinceLastVisit__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_daysSinceLastVisit__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>77</nb_actions> <nb_visits_converted>17</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>27557</sum_visit_length> + <sum_visit_length>27571</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>4.5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1622</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_deviceModel__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_deviceModel__VisitsSummary.get_range.xml index 6e71b7139a..196e0e2535 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_deviceModel__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_deviceModel__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>73</nb_actions> <nb_visits_converted>27</nb_visits_converted> <bounce_count>14</bounce_count> - <sum_visit_length>21079</sum_visit_length> + <sum_visit_length>21087</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>52%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_deviceType__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_deviceType__VisitsSummary.get_range.xml index 6e71b7139a..196e0e2535 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_deviceType__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_deviceType__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>73</nb_actions> <nb_visits_converted>27</nb_visits_converted> <bounce_count>14</bounce_count> - <sum_visit_length>21079</sum_visit_length> + <sum_visit_length>21087</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>52%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_downloadUrl__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_downloadUrl__VisitsSummary.get_range.xml index 678b7ca235..a582e4fc8e 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_downloadUrl__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_downloadUrl__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>20</nb_actions> <nb_visits_converted>4</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>6484</sum_visit_length> + <sum_visit_length>6492</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1623</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventAction__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventAction__VisitsSummary.get_range.xml index 678b7ca235..a582e4fc8e 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventAction__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventAction__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>20</nb_actions> <nb_visits_converted>4</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>6484</sum_visit_length> + <sum_visit_length>6492</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1623</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventCategory__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventCategory__VisitsSummary.get_range.xml index 678b7ca235..a582e4fc8e 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventCategory__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventCategory__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>20</nb_actions> <nb_visits_converted>4</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>6484</sum_visit_length> + <sum_visit_length>6492</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1623</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventName__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventName__VisitsSummary.get_range.xml index 678b7ca235..a582e4fc8e 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventName__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventName__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>20</nb_actions> <nb_visits_converted>4</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>6484</sum_visit_length> + <sum_visit_length>6492</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1623</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventUrl__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventUrl__VisitsSummary.get_range.xml index eb20b7dcf9..b5c4efe72a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventUrl__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_eventUrl__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>77</nb_actions> <nb_visits_converted>17</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>27557</sum_visit_length> + <sum_visit_length>27571</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>4.5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1622</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_events__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_events__VisitsSummary.get_range.xml index eb20b7dcf9..b5c4efe72a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_events__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_events__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>77</nb_actions> <nb_visits_converted>17</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>27557</sum_visit_length> + <sum_visit_length>27571</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>4.5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1622</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_fingerprint__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_fingerprint__VisitsSummary.get_range.xml index 0e04d3f6d9..d2daf5d2f8 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_fingerprint__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_fingerprint__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>6</nb_actions> <nb_visits_converted>2</nb_visits_converted> <bounce_count>1</bounce_count> - <sum_visit_length>1621</sum_visit_length> + <sum_visit_length>1623</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>50%</bounce_rate> <nb_actions_per_visit>3</nb_actions_per_visit> - <avg_time_on_site>811</avg_time_on_site> + <avg_time_on_site>812</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_interactions__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_interactions__VisitsSummary.get_range.xml index 9140fa1a46..e884adf450 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_interactions__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_interactions__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>50</nb_actions> <nb_visits_converted>26</nb_visits_converted> <bounce_count>18</bounce_count> - <sum_visit_length>12976</sum_visit_length> + <sum_visit_length>12980</sum_visit_length> <max_actions>4</max_actions> <bounce_rate>69%</bounce_rate> <nb_actions_per_visit>1.9</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_languageCode__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_languageCode__VisitsSummary.get_range.xml index 6202c38a2f..1eeaed6995 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_languageCode__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_languageCode__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>74</nb_actions> <nb_visits_converted>28</nb_visits_converted> <bounce_count>15</bounce_count> - <sum_visit_length>21079</sum_visit_length> + <sum_visit_length>21089</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>54%</bounce_rate> <nb_actions_per_visit>2.6</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_latitude__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_latitude__VisitsSummary.get_range.xml index 1583658083..58db26f696 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_latitude__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_latitude__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>16</nb_actions> <nb_visits_converted>6</nb_visits_converted> <bounce_count>3</bounce_count> - <sum_visit_length>4865</sum_visit_length> + <sum_visit_length>4867</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>50%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_longitude__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_longitude__VisitsSummary.get_range.xml index 1583658083..58db26f696 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_longitude__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_longitude__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>16</nb_actions> <nb_visits_converted>6</nb_visits_converted> <bounce_count>3</bounce_count> - <sum_visit_length>4865</sum_visit_length> + <sum_visit_length>4867</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>50%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_operatingSystemCode__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_operatingSystemCode__VisitsSummary.get_range.xml index ef5b0960c0..1cc44d0602 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_operatingSystemCode__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_operatingSystemCode__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>68</nb_actions> <nb_visits_converted>25</nb_visits_converted> <bounce_count>13</bounce_count> - <sum_visit_length>19457</sum_visit_length> + <sum_visit_length>19465</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>52%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> - <avg_time_on_site>778</avg_time_on_site> + <avg_time_on_site>779</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_operatingSystemVersion__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_operatingSystemVersion__VisitsSummary.get_range.xml index eaface92a5..e885a088fb 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_operatingSystemVersion__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_operatingSystemVersion__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>51</nb_actions> <nb_visits_converted>19</nb_visits_converted> <bounce_count>10</bounce_count> - <sum_visit_length>14593</sum_visit_length> + <sum_visit_length>14599</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>53%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_orderId__API.getSuggestedValuesForSegment.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_orderId__API.getSuggestedValuesForSegment.xml new file mode 100644 index 0000000000..1098a305da --- /dev/null +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_orderId__API.getSuggestedValuesForSegment.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row>1001</row> + <row>1004</row> + <row>1007</row> + <row>2001</row> + <row>3001</row> + <row>3004</row> + <row>4001</row> +</result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_orderId__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_orderId__VisitsSummary.get_range.xml new file mode 100644 index 0000000000..ded93de039 --- /dev/null +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_orderId__VisitsSummary.get_range.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_visits>1</nb_visits> + <nb_actions>5</nb_actions> + <nb_visits_converted>1</nb_visits_converted> + <bounce_count>0</bounce_count> + <sum_visit_length>1623</sum_visit_length> + <max_actions>5</max_actions> + <bounce_rate>0%</bounce_rate> + <nb_actions_per_visit>5</nb_actions_per_visit> + <avg_time_on_site>1623</avg_time_on_site> +</result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_outlinkUrl__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_outlinkUrl__VisitsSummary.get_range.xml index 678b7ca235..a582e4fc8e 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_outlinkUrl__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_outlinkUrl__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>20</nb_actions> <nb_visits_converted>4</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>6484</sum_visit_length> + <sum_visit_length>6492</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1623</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_referrerType__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_referrerType__VisitsSummary.get_range.xml index e0791e085c..a2c18c80f9 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_referrerType__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_referrerType__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>94</nb_actions> <nb_visits_converted>34</nb_visits_converted> <bounce_count>17</bounce_count> - <sum_visit_length>27565</sum_visit_length> + <sum_visit_length>27579</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>50%</bounce_rate> <nb_actions_per_visit>2.8</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_regionCode__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_regionCode__VisitsSummary.get_range.xml index 1583658083..58db26f696 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_regionCode__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_regionCode__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>16</nb_actions> <nb_visits_converted>6</nb_visits_converted> <bounce_count>3</bounce_count> - <sum_visit_length>4865</sum_visit_length> + <sum_visit_length>4867</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>50%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_resolution__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_resolution__VisitsSummary.get_range.xml index c52a442d2f..e0d7aff01a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_resolution__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_resolution__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>95</nb_actions> <nb_visits_converted>35</nb_visits_converted> <bounce_count>18</bounce_count> - <sum_visit_length>27565</sum_visit_length> + <sum_visit_length>27579</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>51%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_searches__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_searches__VisitsSummary.get_range.xml index 125518f3a5..4be0b7b205 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_searches__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_searches__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>45</nb_actions> <nb_visits_converted>9</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>14589</sum_visit_length> + <sum_visit_length>14599</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1622</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_siteSearchKeyword__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_siteSearchKeyword__VisitsSummary.get_range.xml index 125518f3a5..4be0b7b205 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_siteSearchKeyword__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_siteSearchKeyword__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>45</nb_actions> <nb_visits_converted>9</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>14589</sum_visit_length> + <sum_visit_length>14599</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1622</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitConvertedGoalId__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitConvertedGoalId__VisitsSummary.get_range.xml index c52a442d2f..e0d7aff01a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitConvertedGoalId__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitConvertedGoalId__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>95</nb_actions> <nb_visits_converted>35</nb_visits_converted> <bounce_count>18</bounce_count> - <sum_visit_length>27565</sum_visit_length> + <sum_visit_length>27579</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>51%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitConverted__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitConverted__VisitsSummary.get_range.xml index c52a442d2f..e0d7aff01a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitConverted__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitConverted__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>95</nb_actions> <nb_visits_converted>35</nb_visits_converted> <bounce_count>18</bounce_count> - <sum_visit_length>27565</sum_visit_length> + <sum_visit_length>27579</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>51%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitCount__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitCount__VisitsSummary.get_range.xml index 98f8df195a..5f6553b786 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitCount__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitCount__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>90</nb_actions> <nb_visits_converted>30</nb_visits_converted> <bounce_count>13</bounce_count> - <sum_visit_length>27565</sum_visit_length> + <sum_visit_length>27579</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>43%</bounce_rate> <nb_actions_per_visit>3</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitDuration__API.getSuggestedValuesForSegment.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitDuration__API.getSuggestedValuesForSegment.xml index 095e2caff1..603ab11347 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitDuration__API.getSuggestedValuesForSegment.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitDuration__API.getSuggestedValuesForSegment.xml @@ -2,4 +2,5 @@ <result> <row>1621</row> <row>1</row> + <row>1623</row> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitDuration__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitDuration__VisitsSummary.get_range.xml index eb20b7dcf9..f6406a6a05 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitDuration__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitDuration__VisitsSummary.get_range.xml @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="utf-8" ?> <result> - <nb_visits>17</nb_visits> - <nb_actions>77</nb_actions> - <nb_visits_converted>17</nb_visits_converted> + <nb_visits>10</nb_visits> + <nb_actions>44</nb_actions> + <nb_visits_converted>10</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>27557</sum_visit_length> + <sum_visit_length>16210</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> - <nb_actions_per_visit>4.5</nb_actions_per_visit> + <nb_actions_per_visit>4.4</nb_actions_per_visit> <avg_time_on_site>1621</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEcommerceStatus__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEcommerceStatus__VisitsSummary.get_range.xml index c52a442d2f..22e494d0c3 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEcommerceStatus__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEcommerceStatus__VisitsSummary.get_range.xml @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="utf-8" ?> <result> - <nb_visits>35</nb_visits> - <nb_actions>95</nb_actions> - <nb_visits_converted>35</nb_visits_converted> + <nb_visits>28</nb_visits> + <nb_actions>62</nb_actions> + <nb_visits_converted>28</nb_visits_converted> <bounce_count>18</bounce_count> - <sum_visit_length>27565</sum_visit_length> + <sum_visit_length>16218</sum_visit_length> <max_actions>5</max_actions> - <bounce_rate>51%</bounce_rate> - <nb_actions_per_visit>2.7</nb_actions_per_visit> - <avg_time_on_site>788</avg_time_on_site> + <bounce_rate>64%</bounce_rate> + <nb_actions_per_visit>2.2</nb_actions_per_visit> + <avg_time_on_site>579</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerDayOfWeek__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerDayOfWeek__VisitsSummary.get_range.xml index c07d0eb617..08ff0fac55 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerDayOfWeek__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerDayOfWeek__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>7</nb_actions> <nb_visits_converted>3</nb_visits_converted> <bounce_count>2</bounce_count> - <sum_visit_length>1621</sum_visit_length> + <sum_visit_length>1623</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>67%</bounce_rate> <nb_actions_per_visit>2.3</nb_actions_per_visit> - <avg_time_on_site>540</avg_time_on_site> + <avg_time_on_site>541</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerDayOfYear__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerDayOfYear__VisitsSummary.get_range.xml index b1a10577da..26b7cb42da 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerDayOfYear__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerDayOfYear__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>24</nb_actions> <nb_visits_converted>8</nb_visits_converted> <bounce_count>4</bounce_count> - <sum_visit_length>6484</sum_visit_length> + <sum_visit_length>6492</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>50%</bounce_rate> <nb_actions_per_visit>3</nb_actions_per_visit> - <avg_time_on_site>811</avg_time_on_site> + <avg_time_on_site>812</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerMonth__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerMonth__VisitsSummary.get_range.xml index c52a442d2f..e0d7aff01a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerMonth__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerMonth__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>95</nb_actions> <nb_visits_converted>35</nb_visits_converted> <bounce_count>18</bounce_count> - <sum_visit_length>27565</sum_visit_length> + <sum_visit_length>27579</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>51%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerQuarter__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerQuarter__VisitsSummary.get_range.xml index c52a442d2f..e0d7aff01a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerQuarter__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerQuarter__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>95</nb_actions> <nb_visits_converted>35</nb_visits_converted> <bounce_count>18</bounce_count> - <sum_visit_length>27565</sum_visit_length> + <sum_visit_length>27579</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>51%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerSecond__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerSecond__VisitsSummary.get_range.xml index c52a442d2f..e0d7aff01a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerSecond__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerSecond__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>95</nb_actions> <nb_visits_converted>35</nb_visits_converted> <bounce_count>18</bounce_count> - <sum_visit_length>27565</sum_visit_length> + <sum_visit_length>27579</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>51%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerWeekOfYear__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerWeekOfYear__VisitsSummary.get_range.xml index a5d671efdd..549d12e955 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerWeekOfYear__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitEndServerWeekOfYear__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>83</nb_actions> <nb_visits_converted>30</nb_visits_converted> <bounce_count>15</bounce_count> - <sum_visit_length>24322</sum_visit_length> + <sum_visit_length>24336</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>50%</bounce_rate> <nb_actions_per_visit>2.8</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitIp__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitIp__VisitsSummary.get_range.xml index c07d0eb617..08ff0fac55 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitIp__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitIp__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>7</nb_actions> <nb_visits_converted>3</nb_visits_converted> <bounce_count>2</bounce_count> - <sum_visit_length>1621</sum_visit_length> + <sum_visit_length>1623</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>67%</bounce_rate> <nb_actions_per_visit>2.3</nb_actions_per_visit> - <avg_time_on_site>540</avg_time_on_site> + <avg_time_on_site>541</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitLocalHour__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitLocalHour__VisitsSummary.get_range.xml index c52a442d2f..e0d7aff01a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitLocalHour__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitLocalHour__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>95</nb_actions> <nb_visits_converted>35</nb_visits_converted> <bounce_count>18</bounce_count> - <sum_visit_length>27565</sum_visit_length> + <sum_visit_length>27579</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>51%</bounce_rate> <nb_actions_per_visit>2.7</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitServerHour__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitServerHour__VisitsSummary.get_range.xml index eb20b7dcf9..b5c4efe72a 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitServerHour__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitServerHour__VisitsSummary.get_range.xml @@ -4,9 +4,9 @@ <nb_actions>77</nb_actions> <nb_visits_converted>17</nb_visits_converted> <bounce_count>0</bounce_count> - <sum_visit_length>27557</sum_visit_length> + <sum_visit_length>27571</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> <nb_actions_per_visit>4.5</nb_actions_per_visit> - <avg_time_on_site>1621</avg_time_on_site> + <avg_time_on_site>1622</avg_time_on_site> </result>
\ No newline at end of file diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitorId__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitorId__VisitsSummary.get_range.xml index f0c215da1a..d7fe9062df 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitorId__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitorId__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>11</nb_actions> <nb_visits_converted>4</nb_visits_converted> <bounce_count>2</bounce_count> - <sum_visit_length>3243</sum_visit_length> + <sum_visit_length>3245</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>50%</bounce_rate> <nb_actions_per_visit>2.8</nb_actions_per_visit> diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitorType__VisitsSummary.get_range.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitorType__VisitsSummary.get_range.xml index 98f8df195a..5f6553b786 100644 --- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitorType__VisitsSummary.get_range.xml +++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_visitorType__VisitsSummary.get_range.xml @@ -4,7 +4,7 @@ <nb_actions>90</nb_actions> <nb_visits_converted>30</nb_visits_converted> <bounce_count>13</bounce_count> - <sum_visit_length>27565</sum_visit_length> + <sum_visit_length>27579</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>43%</bounce_rate> <nb_actions_per_visit>3</nb_actions_per_visit> diff --git a/plugins/Ecommerce/Columns/Order.php b/plugins/Ecommerce/Columns/Order.php index 346c474753..3fd1409a1f 100644 --- a/plugins/Ecommerce/Columns/Order.php +++ b/plugins/Ecommerce/Columns/Order.php @@ -11,6 +11,7 @@ namespace Piwik\Plugins\Ecommerce\Columns; use Piwik\Columns\DimensionMetricFactory; use Piwik\Columns\Discriminator; use Piwik\Columns\MetricsList; +use Piwik\Piwik; use Piwik\Plugin\ArchivedMetric; use Piwik\Tracker\GoalManager; @@ -19,13 +20,15 @@ class Order extends BaseConversion protected $columnName = 'idorder'; protected $type = self::TYPE_NUMBER; protected $category = 'Goals_Ecommerce'; - protected $nameSingular = 'Ecommerce_Order'; + protected $nameSingular = 'Ecommerce_OrderId'; protected $namePlural = 'Ecommerce_Orders'; protected $metricId = 'orders'; + protected $segmentName = 'orderId'; public function configureMetrics(MetricsList $metricsList, DimensionMetricFactory $dimensionMetricFactory) { $metric = $dimensionMetricFactory->createMetric(ArchivedMetric::AGGREGATION_UNIQUE); + $metric->setTranslatedName(Piwik::translate('Ecommerce_OrderId')); $metricsList->addMetric($metric); } diff --git a/plugins/Ecommerce/lang/en.json b/plugins/Ecommerce/lang/en.json index 958bea3ed7..bd2960eee4 100644 --- a/plugins/Ecommerce/lang/en.json +++ b/plugins/Ecommerce/lang/en.json @@ -3,6 +3,7 @@ "PluginDescription": "Ecommerce lets you track when users add products to carts, and when they convert to an ecommerce sale. Also track products and product categories views and abandoned carts.", "Sales": "Sales", "Order": "Order", + "OrderId": "Order ID", "Orders": "Orders", "SalesBy": "Sales by %s", "SalesAdjective": "Sales %s", |