diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2017-09-27 10:36:57 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-09-27 10:36:57 +0300 |
commit | 9611b36d22bcdaa3b46993a2e759012ce2a6a0ae (patch) | |
tree | 4f6394347a13b1d9aaea34c44f0f5e03a2d64a92 | |
parent | d9f1535688938f17321caf1d4db73649b02d2229 (diff) |
Tracking: Write current interaction position for all actions (#12125)
* write current interaction position for all actions
* fix some tests
* fix more tests
* update tests
18 files changed, 348 insertions, 280 deletions
diff --git a/plugins/Actions/Columns/InteractionPosition.php b/plugins/Actions/Columns/InteractionPosition.php index 34bd9064f2..13c85ede65 100644 --- a/plugins/Actions/Columns/InteractionPosition.php +++ b/plugins/Actions/Columns/InteractionPosition.php @@ -8,6 +8,7 @@ */ namespace Piwik\Plugins\Actions\Columns; +use Piwik\Plugins\Events\Actions\ActionEvent; use Piwik\Tracker\Action; use Piwik\Tracker\Request; use Piwik\Tracker\Visitor; @@ -33,7 +34,13 @@ class InteractionPosition extends ActionDimension if ($shouldCount && $visitor->isNewVisit()) { return 1; } else if ($shouldCount) { - return VisitTotalInteractions::getCurrentInteractionPosition($request); + return VisitTotalInteractions::getNextInteractionPosition($request); + } + + // we re-use same interaction position as last page view eg for events etc. + $position = VisitTotalInteractions::getCurrentInteractionPosition($request); + if ($position >= 1) { + return $position; } return false; diff --git a/plugins/Actions/Columns/VisitTotalInteractions.php b/plugins/Actions/Columns/VisitTotalInteractions.php index 14a5572ad4..9c10b1e03a 100644 --- a/plugins/Actions/Columns/VisitTotalInteractions.php +++ b/plugins/Actions/Columns/VisitTotalInteractions.php @@ -74,6 +74,17 @@ class VisitTotalInteractions extends VisitDimension { $position = $request->getMetadata('Actions', 'visit_total_interactions'); + return (int) $position; + } + + /** + * @param Request $request + * @return int + */ + public static function getNextInteractionPosition($request) + { + $position = self::getCurrentInteractionPosition($request); + $position = $position + 1; // Remove this in Piwik 4 diff --git a/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_day.xml index 52061fb273..ffc826a4ca 100644 --- a/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_day.xml +++ b/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_day.xml @@ -38,7 +38,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -56,7 +56,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -74,7 +74,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -92,7 +92,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -110,7 +110,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction>submit</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -128,7 +128,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -146,7 +146,7 @@ <contentTarget>http://piwik.org/</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -164,7 +164,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -182,7 +182,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -200,7 +200,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -218,7 +218,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -230,13 +230,18 @@ + + + + + + <userId /> <visitorType>new</visitorType> <visitorTypeIcon /> <visitConverted>0</visitConverted> <visitConvertedIcon /> <visitCount>1</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> <visitEcommerceStatusIcon /> <daysSinceFirstVisit>0</daysSinceFirstVisit> @@ -272,10 +277,10 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0.00</totalEcommerceRevenue> + <totalEcommerceRevenue>0</totalEcommerceRevenue> <totalEcommerceConversions>0</totalEcommerceConversions> <totalEcommerceItems>0</totalEcommerceItems> - <totalAbandonedCartsRevenue>0.00</totalAbandonedCartsRevenue> + <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> <events>0</events> @@ -350,7 +355,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -368,7 +373,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -386,7 +391,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -404,7 +409,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -422,7 +427,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction>submit</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -440,7 +445,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -458,7 +463,7 @@ <contentTarget>http://piwik.org/</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -476,7 +481,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -494,7 +499,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -512,7 +517,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -530,7 +535,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -542,13 +547,18 @@ + + + + + + <userId /> <visitorType>new</visitorType> <visitorTypeIcon /> <visitConverted>0</visitConverted> <visitConvertedIcon /> <visitCount>1</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> <visitEcommerceStatusIcon /> <daysSinceFirstVisit>0</daysSinceFirstVisit> @@ -584,10 +594,10 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0.00</totalEcommerceRevenue> + <totalEcommerceRevenue>0</totalEcommerceRevenue> <totalEcommerceConversions>0</totalEcommerceConversions> <totalEcommerceItems>0</totalEcommerceItems> - <totalAbandonedCartsRevenue>0.00</totalAbandonedCartsRevenue> + <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> <events>0</events> diff --git a/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_month.xml b/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_month.xml index 52061fb273..ffc826a4ca 100644 --- a/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_month.xml +++ b/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_month.xml @@ -38,7 +38,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -56,7 +56,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -74,7 +74,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -92,7 +92,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -110,7 +110,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction>submit</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -128,7 +128,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -146,7 +146,7 @@ <contentTarget>http://piwik.org/</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -164,7 +164,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -182,7 +182,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -200,7 +200,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -218,7 +218,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -230,13 +230,18 @@ + + + + + + <userId /> <visitorType>new</visitorType> <visitorTypeIcon /> <visitConverted>0</visitConverted> <visitConvertedIcon /> <visitCount>1</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> <visitEcommerceStatusIcon /> <daysSinceFirstVisit>0</daysSinceFirstVisit> @@ -272,10 +277,10 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0.00</totalEcommerceRevenue> + <totalEcommerceRevenue>0</totalEcommerceRevenue> <totalEcommerceConversions>0</totalEcommerceConversions> <totalEcommerceItems>0</totalEcommerceItems> - <totalAbandonedCartsRevenue>0.00</totalAbandonedCartsRevenue> + <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> <events>0</events> @@ -350,7 +355,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -368,7 +373,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -386,7 +391,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -404,7 +409,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -422,7 +427,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction>submit</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -440,7 +445,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -458,7 +463,7 @@ <contentTarget>http://piwik.org/</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -476,7 +481,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -494,7 +499,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -512,7 +517,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -530,7 +535,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -542,13 +547,18 @@ + + + + + + <userId /> <visitorType>new</visitorType> <visitorTypeIcon /> <visitConverted>0</visitConverted> <visitConvertedIcon /> <visitCount>1</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> <visitEcommerceStatusIcon /> <daysSinceFirstVisit>0</daysSinceFirstVisit> @@ -584,10 +594,10 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0.00</totalEcommerceRevenue> + <totalEcommerceRevenue>0</totalEcommerceRevenue> <totalEcommerceConversions>0</totalEcommerceConversions> <totalEcommerceItems>0</totalEcommerceItems> - <totalAbandonedCartsRevenue>0.00</totalAbandonedCartsRevenue> + <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> <events>0</events> diff --git a/plugins/Contents/tests/System/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/System/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml index 52061fb273..ffc826a4ca 100644 --- a/plugins/Contents/tests/System/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml +++ b/plugins/Contents/tests/System/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml @@ -38,7 +38,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -56,7 +56,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -74,7 +74,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -92,7 +92,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -110,7 +110,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction>submit</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -128,7 +128,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -146,7 +146,7 @@ <contentTarget>http://piwik.org/</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -164,7 +164,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -182,7 +182,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -200,7 +200,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -218,7 +218,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -230,13 +230,18 @@ + + + + + + <userId /> <visitorType>new</visitorType> <visitorTypeIcon /> <visitConverted>0</visitConverted> <visitConvertedIcon /> <visitCount>1</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> <visitEcommerceStatusIcon /> <daysSinceFirstVisit>0</daysSinceFirstVisit> @@ -272,10 +277,10 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0.00</totalEcommerceRevenue> + <totalEcommerceRevenue>0</totalEcommerceRevenue> <totalEcommerceConversions>0</totalEcommerceConversions> <totalEcommerceItems>0</totalEcommerceItems> - <totalAbandonedCartsRevenue>0.00</totalAbandonedCartsRevenue> + <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> <events>0</events> @@ -350,7 +355,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -368,7 +373,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -386,7 +391,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -404,7 +409,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -422,7 +427,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction>submit</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -440,7 +445,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -458,7 +463,7 @@ <contentTarget>http://piwik.org/</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -476,7 +481,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -494,7 +499,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -512,7 +517,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -530,7 +535,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -542,13 +547,18 @@ + + + + + + <userId /> <visitorType>new</visitorType> <visitorTypeIcon /> <visitConverted>0</visitConverted> <visitConvertedIcon /> <visitCount>1</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> <visitEcommerceStatusIcon /> <daysSinceFirstVisit>0</daysSinceFirstVisit> @@ -584,10 +594,10 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0.00</totalEcommerceRevenue> + <totalEcommerceRevenue>0</totalEcommerceRevenue> <totalEcommerceConversions>0</totalEcommerceConversions> <totalEcommerceItems>0</totalEcommerceItems> - <totalAbandonedCartsRevenue>0.00</totalAbandonedCartsRevenue> + <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> <events>0</events> diff --git a/plugins/Contents/tests/System/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/System/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml index 52061fb273..ffc826a4ca 100644 --- a/plugins/Contents/tests/System/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml +++ b/plugins/Contents/tests/System/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml @@ -38,7 +38,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -56,7 +56,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -74,7 +74,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -92,7 +92,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -110,7 +110,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction>submit</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -128,7 +128,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -146,7 +146,7 @@ <contentTarget>http://piwik.org/</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -164,7 +164,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -182,7 +182,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -200,7 +200,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -218,7 +218,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -230,13 +230,18 @@ + + + + + + <userId /> <visitorType>new</visitorType> <visitorTypeIcon /> <visitConverted>0</visitConverted> <visitConvertedIcon /> <visitCount>1</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> <visitEcommerceStatusIcon /> <daysSinceFirstVisit>0</daysSinceFirstVisit> @@ -272,10 +277,10 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0.00</totalEcommerceRevenue> + <totalEcommerceRevenue>0</totalEcommerceRevenue> <totalEcommerceConversions>0</totalEcommerceConversions> <totalEcommerceItems>0</totalEcommerceItems> - <totalAbandonedCartsRevenue>0.00</totalAbandonedCartsRevenue> + <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> <events>0</events> @@ -350,7 +355,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -368,7 +373,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -386,7 +391,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -404,7 +409,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -422,7 +427,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction>submit</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -440,7 +445,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -458,7 +463,7 @@ <contentTarget>http://piwik.org/</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -476,7 +481,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -494,7 +499,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -512,7 +517,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -530,7 +535,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -542,13 +547,18 @@ + + + + + + <userId /> <visitorType>new</visitorType> <visitorTypeIcon /> <visitConverted>0</visitConverted> <visitConvertedIcon /> <visitCount>1</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> <visitEcommerceStatusIcon /> <daysSinceFirstVisit>0</daysSinceFirstVisit> @@ -584,10 +594,10 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0.00</totalEcommerceRevenue> + <totalEcommerceRevenue>0</totalEcommerceRevenue> <totalEcommerceConversions>0</totalEcommerceConversions> <totalEcommerceItems>0</totalEcommerceItems> - <totalAbandonedCartsRevenue>0.00</totalAbandonedCartsRevenue> + <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> <events>0</events> diff --git a/plugins/Contents/tests/System/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/System/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml index 52061fb273..ffc826a4ca 100644 --- a/plugins/Contents/tests/System/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml +++ b/plugins/Contents/tests/System/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml @@ -38,7 +38,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -56,7 +56,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -74,7 +74,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -92,7 +92,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -110,7 +110,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction>submit</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -128,7 +128,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -146,7 +146,7 @@ <contentTarget>http://piwik.org/</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -164,7 +164,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -182,7 +182,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -200,7 +200,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -218,7 +218,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -230,13 +230,18 @@ + + + + + + <userId /> <visitorType>new</visitorType> <visitorTypeIcon /> <visitConverted>0</visitConverted> <visitConvertedIcon /> <visitCount>1</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> <visitEcommerceStatusIcon /> <daysSinceFirstVisit>0</daysSinceFirstVisit> @@ -272,10 +277,10 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0.00</totalEcommerceRevenue> + <totalEcommerceRevenue>0</totalEcommerceRevenue> <totalEcommerceConversions>0</totalEcommerceConversions> <totalEcommerceItems>0</totalEcommerceItems> - <totalAbandonedCartsRevenue>0.00</totalAbandonedCartsRevenue> + <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> <events>0</events> @@ -350,7 +355,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -368,7 +373,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -386,7 +391,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -404,7 +409,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -422,7 +427,7 @@ <contentTarget>http://www.example.com</contentTarget> <contentInteraction>submit</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -440,7 +445,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -458,7 +463,7 @@ <contentTarget>http://piwik.org/</contentTarget> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -476,7 +481,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -494,7 +499,7 @@ <contentTarget>http://piwik.org/download</contentTarget> <contentInteraction>click</contentInteraction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -512,7 +517,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -530,7 +535,7 @@ <contentTarget /> <contentInteraction /> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <bandwidth_pretty>0 M</bandwidth_pretty> </row> @@ -542,13 +547,18 @@ + + + + + + <userId /> <visitorType>new</visitorType> <visitorTypeIcon /> <visitConverted>0</visitConverted> <visitConvertedIcon /> <visitCount>1</visitCount> - <visitEcommerceStatus>none</visitEcommerceStatus> <visitEcommerceStatusIcon /> <daysSinceFirstVisit>0</daysSinceFirstVisit> @@ -584,10 +594,10 @@ <browserIcon>plugins/Morpheus/icons/dist/browsers/FF.png</browserIcon> <browserCode>FF</browserCode> <browserVersion>3.6</browserVersion> - <totalEcommerceRevenue>0.00</totalEcommerceRevenue> + <totalEcommerceRevenue>0</totalEcommerceRevenue> <totalEcommerceConversions>0</totalEcommerceConversions> <totalEcommerceItems>0</totalEcommerceItems> - <totalAbandonedCartsRevenue>0.00</totalAbandonedCartsRevenue> + <totalAbandonedCartsRevenue>0</totalAbandonedCartsRevenue> <totalAbandonedCarts>0</totalAbandonedCarts> <totalAbandonedCartsItems>0</totalAbandonedCartsItems> <events>0</events> diff --git a/tests/PHPUnit/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml b/tests/PHPUnit/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml index 6a8ce872e0..bf269dec87 100644 --- a/tests/PHPUnit/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml +++ b/tests/PHPUnit/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml @@ -203,7 +203,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -219,7 +219,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -234,7 +234,7 @@ <eventCategory>Cat8</eventCategory> <eventAction>Action8</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name8</eventName> @@ -543,7 +543,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -559,7 +559,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -574,7 +574,7 @@ <eventCategory>Cat7</eventCategory> <eventAction>Action7</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name7</eventName> @@ -905,7 +905,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -921,7 +921,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -936,7 +936,7 @@ <eventCategory>Cat6</eventCategory> <eventAction>Action6</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name6</eventName> @@ -1245,7 +1245,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -1261,7 +1261,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -1276,7 +1276,7 @@ <eventCategory>Cat5</eventCategory> <eventAction>Action5</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name5</eventName> @@ -1607,7 +1607,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -1623,7 +1623,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -1638,7 +1638,7 @@ <eventCategory>Cat4</eventCategory> <eventAction>Action4</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name4</eventName> @@ -1947,7 +1947,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -1963,7 +1963,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -1978,7 +1978,7 @@ <eventCategory>Cat3</eventCategory> <eventAction>Action3</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name3</eventName> @@ -2143,7 +2143,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -2159,7 +2159,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -2174,7 +2174,7 @@ <eventCategory>Cat3</eventCategory> <eventAction>Action3</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name3</eventName> @@ -2641,7 +2641,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -2657,7 +2657,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -2672,7 +2672,7 @@ <eventCategory>Cat2</eventCategory> <eventAction>Action2</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name2</eventName> @@ -2859,7 +2859,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -2875,7 +2875,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -2890,7 +2890,7 @@ <eventCategory>Cat2</eventCategory> <eventAction>Action2</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name2</eventName> @@ -3335,7 +3335,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -3351,7 +3351,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -3366,7 +3366,7 @@ <eventCategory>Cat1</eventCategory> <eventAction>Action1</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name1</eventName> @@ -3531,7 +3531,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -3547,7 +3547,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -3562,7 +3562,7 @@ <eventCategory>Cat1</eventCategory> <eventAction>Action1</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name1</eventName> @@ -3727,7 +3727,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -3743,7 +3743,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -3758,7 +3758,7 @@ <eventCategory>Cat1</eventCategory> <eventAction>Action1</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name1</eventName> @@ -3915,7 +3915,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -3931,7 +3931,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -3946,7 +3946,7 @@ <eventCategory>Cat1</eventCategory> <eventAction>Action1</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name1</eventName> @@ -4709,7 +4709,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -4725,7 +4725,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -4740,7 +4740,7 @@ <eventCategory>Cat0</eventCategory> <eventAction>Action0</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name0</eventName> @@ -4927,7 +4927,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -4943,7 +4943,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -4958,7 +4958,7 @@ <eventCategory>Cat0</eventCategory> <eventAction>Action0</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name0</eventName> @@ -5145,7 +5145,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -5161,7 +5161,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -5176,7 +5176,7 @@ <eventCategory>Cat0</eventCategory> <eventAction>Action0</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name0</eventName> @@ -5355,7 +5355,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -5371,7 +5371,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -5386,7 +5386,7 @@ <eventCategory>Cat0</eventCategory> <eventAction>Action0</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name0</eventName> diff --git a/tests/PHPUnit/System/expected/test_CustomEvents__Live.getLastVisitsDetails_day.xml b/tests/PHPUnit/System/expected/test_CustomEvents__Live.getLastVisitsDetails_day.xml index 10aac9415c..f7a460e131 100644 --- a/tests/PHPUnit/System/expected/test_CustomEvents__Live.getLastVisitsDetails_day.xml +++ b/tests/PHPUnit/System/expected/test_CustomEvents__Live.getLastVisitsDetails_day.xml @@ -620,7 +620,7 @@ <bandwidth /> <timeSpent>60</timeSpent> <timeSpentPretty>1 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>La fiancée de l'eau</eventName> @@ -644,7 +644,7 @@ <bandwidth /> <timeSpent>60</timeSpent> <timeSpentPretty>1 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>La fiancée de l'eau</eventName> @@ -668,7 +668,7 @@ <bandwidth /> <timeSpent>60</timeSpent> <timeSpentPretty>1 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>La fiancée de l'eau</eventName> @@ -692,7 +692,7 @@ <bandwidth /> <timeSpent>30</timeSpent> <timeSpentPretty>30s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>La fiancée de l'eau</eventName> @@ -716,7 +716,7 @@ <bandwidth /> <timeSpent>30</timeSpent> <timeSpentPretty>30s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>La fiancée de l'eau</eventName> @@ -740,7 +740,7 @@ <bandwidth /> <timeSpent>1</timeSpent> <timeSpentPretty>1s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>La fiancée de l'eau</eventName> @@ -765,7 +765,7 @@ <bandwidth /> <timeSpent>0</timeSpent> <timeSpentPretty>0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>La fiancée de l'eau</eventName> @@ -801,7 +801,7 @@ <bandwidth /> <timeSpent>1499</timeSpent> <timeSpentPretty>24 min 59s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -836,7 +836,7 @@ <bandwidth /> <timeSpent>120</timeSpent> <timeSpentPretty>2 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Princess Mononoke (もののけ姫)</eventName> @@ -854,7 +854,7 @@ <bandwidth /> <timeSpent>120</timeSpent> <timeSpentPretty>2 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Ponyo (崖の上のポニョ)</eventName> @@ -872,7 +872,7 @@ <bandwidth /> <timeSpent>60</timeSpent> <timeSpentPretty>1 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> @@ -890,7 +890,7 @@ <bandwidth /> <timeSpent>120</timeSpent> <timeSpentPretty>2 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> @@ -908,7 +908,7 @@ <bandwidth /> <timeSpent>1320</timeSpent> <timeSpentPretty>22 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> @@ -924,7 +924,7 @@ <eventCategory>Movie</eventCategory> <eventAction>play25%</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> @@ -1792,7 +1792,7 @@ <bandwidth /> <timeSpent>120</timeSpent> <timeSpentPretty>2 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Princess Mononoke (もののけ姫)</eventName> @@ -1810,7 +1810,7 @@ <bandwidth /> <timeSpent>120</timeSpent> <timeSpentPretty>2 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Ponyo (崖の上のポニョ)</eventName> @@ -1828,7 +1828,7 @@ <bandwidth /> <timeSpent>60</timeSpent> <timeSpentPretty>1 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> @@ -1846,7 +1846,7 @@ <bandwidth /> <timeSpent>120</timeSpent> <timeSpentPretty>2 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> @@ -1864,7 +1864,7 @@ <bandwidth /> <timeSpent>1320</timeSpent> <timeSpentPretty>22 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> @@ -1880,7 +1880,7 @@ <eventCategory>Movie</eventCategory> <eventAction>play25%</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> diff --git a/tests/PHPUnit/System/expected/test_CustomEvents__Live.getLastVisitsDetails_month.xml b/tests/PHPUnit/System/expected/test_CustomEvents__Live.getLastVisitsDetails_month.xml index eda32c0417..02029dea52 100644 --- a/tests/PHPUnit/System/expected/test_CustomEvents__Live.getLastVisitsDetails_month.xml +++ b/tests/PHPUnit/System/expected/test_CustomEvents__Live.getLastVisitsDetails_month.xml @@ -763,7 +763,7 @@ <bandwidth /> <timeSpent>120</timeSpent> <timeSpentPretty>2 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Princess Mononoke (もののけ姫)</eventName> @@ -781,7 +781,7 @@ <bandwidth /> <timeSpent>120</timeSpent> <timeSpentPretty>2 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Ponyo (崖の上のポニョ)</eventName> @@ -799,7 +799,7 @@ <bandwidth /> <timeSpent>60</timeSpent> <timeSpentPretty>1 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> @@ -817,7 +817,7 @@ <bandwidth /> <timeSpent>120</timeSpent> <timeSpentPretty>2 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> @@ -835,7 +835,7 @@ <bandwidth /> <timeSpent>1320</timeSpent> <timeSpentPretty>22 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> @@ -851,7 +851,7 @@ <eventCategory>Movie</eventCategory> <eventAction>play25%</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> @@ -1572,7 +1572,7 @@ <bandwidth /> <timeSpent>60</timeSpent> <timeSpentPretty>1 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>La fiancée de l'eau</eventName> @@ -1596,7 +1596,7 @@ <bandwidth /> <timeSpent>60</timeSpent> <timeSpentPretty>1 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>La fiancée de l'eau</eventName> @@ -1620,7 +1620,7 @@ <bandwidth /> <timeSpent>60</timeSpent> <timeSpentPretty>1 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>La fiancée de l'eau</eventName> @@ -1644,7 +1644,7 @@ <bandwidth /> <timeSpent>30</timeSpent> <timeSpentPretty>30s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>La fiancée de l'eau</eventName> @@ -1668,7 +1668,7 @@ <bandwidth /> <timeSpent>30</timeSpent> <timeSpentPretty>30s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>La fiancée de l'eau</eventName> @@ -1692,7 +1692,7 @@ <bandwidth /> <timeSpent>1</timeSpent> <timeSpentPretty>1s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>La fiancée de l'eau</eventName> @@ -1717,7 +1717,7 @@ <bandwidth /> <timeSpent>0</timeSpent> <timeSpentPretty>0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>La fiancée de l'eau</eventName> @@ -1753,7 +1753,7 @@ <bandwidth /> <timeSpent>1499</timeSpent> <timeSpentPretty>24 min 59s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -1788,7 +1788,7 @@ <bandwidth /> <timeSpent>120</timeSpent> <timeSpentPretty>2 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Princess Mononoke (もののけ姫)</eventName> @@ -1806,7 +1806,7 @@ <bandwidth /> <timeSpent>120</timeSpent> <timeSpentPretty>2 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Ponyo (崖の上のポニョ)</eventName> @@ -1824,7 +1824,7 @@ <bandwidth /> <timeSpent>60</timeSpent> <timeSpentPretty>1 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> @@ -1842,7 +1842,7 @@ <bandwidth /> <timeSpent>120</timeSpent> <timeSpentPretty>2 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> @@ -1860,7 +1860,7 @@ <bandwidth /> <timeSpent>1320</timeSpent> <timeSpentPretty>22 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> @@ -1876,7 +1876,7 @@ <eventCategory>Movie</eventCategory> <eventAction>play25%</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Spirited Away (千と千尋の神隠し)</eventName> diff --git a/tests/PHPUnit/System/expected/test_ImportLogs__Live.getLastVisitsDetails_range.xml b/tests/PHPUnit/System/expected/test_ImportLogs__Live.getLastVisitsDetails_range.xml index 669e84156b..a98159d82a 100644 --- a/tests/PHPUnit/System/expected/test_ImportLogs__Live.getLastVisitsDetails_range.xml +++ b/tests/PHPUnit/System/expected/test_ImportLogs__Live.getLastVisitsDetails_range.xml @@ -1396,7 +1396,7 @@ <pageId>38</pageId> <bandwidth>43</bandwidth> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <customVariables> diff --git a/tests/PHPUnit/System/expected/test_ImportLogs_siteIdThree_TrackedUsingLogReplayWithFixedSiteId__Live.getLastVisitsDetails_range.xml b/tests/PHPUnit/System/expected/test_ImportLogs_siteIdThree_TrackedUsingLogReplayWithFixedSiteId__Live.getLastVisitsDetails_range.xml index b2aeea41a4..cc6d2b123f 100644 --- a/tests/PHPUnit/System/expected/test_ImportLogs_siteIdThree_TrackedUsingLogReplayWithFixedSiteId__Live.getLastVisitsDetails_range.xml +++ b/tests/PHPUnit/System/expected/test_ImportLogs_siteIdThree_TrackedUsingLogReplayWithFixedSiteId__Live.getLastVisitsDetails_range.xml @@ -1297,7 +1297,7 @@ <pageId>58</pageId> <bandwidth>43</bandwidth> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <customVariables> diff --git a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_offsetAndLimit_1__Live.getLastVisitsDetails_month.xml b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_offsetAndLimit_1__Live.getLastVisitsDetails_month.xml index 1b4a9e1d57..85b17b7a45 100644 --- a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_offsetAndLimit_1__Live.getLastVisitsDetails_month.xml +++ b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_offsetAndLimit_1__Live.getLastVisitsDetails_month.xml @@ -77,7 +77,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -93,7 +93,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -108,7 +108,7 @@ <eventCategory>Cat8</eventCategory> <eventAction>Action8</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name8</eventName> @@ -417,7 +417,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -433,7 +433,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -448,7 +448,7 @@ <eventCategory>Cat7</eventCategory> <eventAction>Action7</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name7</eventName> diff --git a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_offsetAndLimit_2__Live.getLastVisitsDetails_month.xml b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_offsetAndLimit_2__Live.getLastVisitsDetails_month.xml index 392b2a5b61..8946517d6c 100644 --- a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_offsetAndLimit_2__Live.getLastVisitsDetails_month.xml +++ b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_offsetAndLimit_2__Live.getLastVisitsDetails_month.xml @@ -221,7 +221,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -237,7 +237,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -252,7 +252,7 @@ <eventCategory>Cat6</eventCategory> <eventAction>Action6</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name6</eventName> diff --git a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByIdVisit__Live.getLastVisitsDetails_month.xml b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByIdVisit__Live.getLastVisitsDetails_month.xml index d5a74b37a4..1208ce24d4 100644 --- a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByIdVisit__Live.getLastVisitsDetails_month.xml +++ b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortByIdVisit__Live.getLastVisitsDetails_month.xml @@ -203,7 +203,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -219,7 +219,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -234,7 +234,7 @@ <eventCategory>Cat8</eventCategory> <eventAction>Action8</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name8</eventName> @@ -543,7 +543,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -559,7 +559,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -574,7 +574,7 @@ <eventCategory>Cat7</eventCategory> <eventAction>Action7</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name7</eventName> @@ -905,7 +905,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -921,7 +921,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -936,7 +936,7 @@ <eventCategory>Cat6</eventCategory> <eventAction>Action6</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name6</eventName> diff --git a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortDesc__Live.getLastVisitsDetails_month.xml b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortDesc__Live.getLastVisitsDetails_month.xml index d5a74b37a4..1208ce24d4 100644 --- a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortDesc__Live.getLastVisitsDetails_month.xml +++ b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest_Live.getLastVisitsDetails_sortDesc__Live.getLastVisitsDetails_month.xml @@ -203,7 +203,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -219,7 +219,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -234,7 +234,7 @@ <eventCategory>Cat8</eventCategory> <eventAction>Action8</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name8</eventName> @@ -543,7 +543,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -559,7 +559,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -574,7 +574,7 @@ <eventCategory>Cat7</eventCategory> <eventAction>Action7</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name7</eventName> @@ -905,7 +905,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -921,7 +921,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -936,7 +936,7 @@ <eventCategory>Cat6</eventCategory> <eventAction>Action6</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name6</eventName> diff --git a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__Live.getLastVisitsDetails_month.xml b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__Live.getLastVisitsDetails_month.xml index bf8fcc7b87..2400354385 100644 --- a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__Live.getLastVisitsDetails_month.xml +++ b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__Live.getLastVisitsDetails_month.xml @@ -203,7 +203,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -219,7 +219,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -234,7 +234,7 @@ <eventCategory>Cat8</eventCategory> <eventAction>Action8</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name8</eventName> @@ -543,7 +543,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -559,7 +559,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -574,7 +574,7 @@ <eventCategory>Cat7</eventCategory> <eventAction>Action7</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name7</eventName> @@ -905,7 +905,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -921,7 +921,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -936,7 +936,7 @@ <eventCategory>Cat6</eventCategory> <eventAction>Action6</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name6</eventName> @@ -1245,7 +1245,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -1261,7 +1261,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -1276,7 +1276,7 @@ <eventCategory>Cat5</eventCategory> <eventAction>Action5</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>1</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name5</eventName> @@ -1607,7 +1607,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -1623,7 +1623,7 @@ <bandwidth /> <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -1638,7 +1638,7 @@ <eventCategory>Cat4</eventCategory> <eventAction>Action4</eventAction> <bandwidth /> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/event.png</icon> <eventName>Name4</eventName> diff --git a/tests/PHPUnit/System/expected/test_OneVisitorTwoVisits_withCookieSupport__Live.getLastVisitsDetails_day.xml b/tests/PHPUnit/System/expected/test_OneVisitorTwoVisits_withCookieSupport__Live.getLastVisitsDetails_day.xml index 6526eaedea..9e17e162fc 100644 --- a/tests/PHPUnit/System/expected/test_OneVisitorTwoVisits_withCookieSupport__Live.getLastVisitsDetails_day.xml +++ b/tests/PHPUnit/System/expected/test_OneVisitorTwoVisits_withCookieSupport__Live.getLastVisitsDetails_day.xml @@ -181,7 +181,7 @@ <bandwidth /> <timeSpent>360</timeSpent> <timeSpentPretty>6 min 0s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -197,7 +197,7 @@ <bandwidth /> <timeSpent>72</timeSpent> <timeSpentPretty>1 min 12s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/download.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -213,7 +213,7 @@ <bandwidth /> <timeSpent>108</timeSpent> <timeSpentPretty>1 min 48s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> @@ -229,7 +229,7 @@ <bandwidth /> <timeSpent>72</timeSpent> <timeSpentPretty>1 min 12s</timeSpentPretty> - <interactionPosition /> + <interactionPosition>2</interactionPosition> <icon>plugins/Morpheus/images/link.png</icon> <bandwidth_pretty>0 M</bandwidth_pretty> |