diff options
Diffstat (limited to 'plugins/Goals/tests')
9 files changed, 557 insertions, 0 deletions
diff --git a/plugins/Goals/tests/System/TrackGoalsAllowMultipleConversionsPerVisitTest.php b/plugins/Goals/tests/System/TrackGoalsAllowMultipleConversionsPerVisitTest.php new file mode 100644 index 0000000000..b553d284cb --- /dev/null +++ b/plugins/Goals/tests/System/TrackGoalsAllowMultipleConversionsPerVisitTest.php @@ -0,0 +1,80 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ +namespace Piwik\Plugins\Goals\tests\System; + +use Piwik\Plugins\Goals\API; +use Piwik\Tests\Framework\TestCase\SystemTestCase; +use Piwik\Tests\Fixtures\SomeVisitsAllConversions; + +/** + * Tests API methods with goals that do and don't allow multiple + * conversions per visit. + * + * @group TrackGoalsAllowMultipleConversionsPerVisitTest + * @group Plugins + */ +class TrackGoalsAllowMultipleConversionsPerVisitTest extends SystemTestCase +{ + public static $fixture = null; + + /** + * @dataProvider getApiForTesting + */ + public function testApi($api, $params) + { + $this->runApiTests($api, $params); + } + + /** + * @depends testApi + */ + public function testCheck() + { + $idSite = self::$fixture->idSite; + + // test delete is working as expected + $goals = API::getInstance()->getGoals($idSite); + $this->assertTrue(5 == count($goals)); + API::getInstance()->deleteGoal($idSite, self::$fixture->idGoal_OneConversionPerVisit); + API::getInstance()->deleteGoal($idSite, self::$fixture->idGoal_MultipleConversionPerVisit); + $goals = API::getInstance()->getGoals($idSite); + $this->assertTrue(3 == count($goals)); + } + + public function getApiForTesting() + { + $apiToCall = array( + 'VisitTime.getVisitInformationPerServerTime', + 'VisitsSummary.get', + 'Goals.get' + ); + + return array( + array($apiToCall, array('idSite' => self::$fixture->idSite, 'date' => self::$fixture->dateTime)), + array(array('Goals.get'), array( + 'idSite' => self::$fixture->idSite, + 'date' => self::$fixture->dateTime, + 'segment' => 'pageUrl=@/', + 'testSuffix' => '_withLogLinkVisitActionSegment' + )), + + ); + } + + public static function getOutputPrefix() + { + return 'trackGoals_allowMultipleConversionsPerVisit'; + } + + public static function getPathToTestDirectory() + { + return dirname(__FILE__); + } +} + +TrackGoalsAllowMultipleConversionsPerVisitTest::$fixture = new SomeVisitsAllConversions();
\ No newline at end of file diff --git a/plugins/Goals/tests/System/TrackGoalsOneConversionPerVisitTest.php b/plugins/Goals/tests/System/TrackGoalsOneConversionPerVisitTest.php new file mode 100644 index 0000000000..cf1a1dbf92 --- /dev/null +++ b/plugins/Goals/tests/System/TrackGoalsOneConversionPerVisitTest.php @@ -0,0 +1,69 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ +namespace Piwik\Plugins\Goals\tests\System; + +use Piwik\Tests\Framework\TestCase\SystemTestCase; +use Piwik\Tests\Fixtures\TwoVisitsWithCustomVariables; + +/** + * @group Plugins + * @group TrackGoalsOneConversionPerVisitTest + */ +class TrackGoalsOneConversionPerVisitTest extends SystemTestCase +{ + /** + * @var TwoVisitsWithCustomVariables + */ + public static $fixture = null; // initialized below class definition + + /** + * @dataProvider getApiForTesting + */ + public function testApi($api, $params) + { + $this->runApiTests($api, $params); + } + + public function getApiForTesting() + { + $apiToCall = array('Goals.get'); + + return array( + array($apiToCall, array( + 'idSite' => self::$fixture->idSite, + 'date' => self::$fixture->dateTime, + 'periods' => array('day'))), + // test for https://github.com/piwik/piwik/issues/9194 requesting log_conversion with log_link_visit_action segment + array($apiToCall, array( + 'idSite' => self::$fixture->idSite, + 'date' => self::$fixture->dateTime, + 'segment' => 'pageUrl=@/', + 'testSuffix' => '_withLogLinkVisitActionSegment' + )), + array($apiToCall, array( + 'idSite' => self::$fixture->idSite, + 'date' => self::$fixture->dateTime, + 'segment' => 'visitCount>=1;pageUrl=@/', + 'testSuffix' => '_withLogLinkVisitActionAndLogVisitSegment' + )), + ); + } + + public static function getOutputPrefix() + { + return 'trackGoals_oneConversionPerVisit'; + } + + public static function getPathToTestDirectory() + { + return dirname(__FILE__); + } +} + +TrackGoalsOneConversionPerVisitTest::$fixture = new TwoVisitsWithCustomVariables(); +TrackGoalsOneConversionPerVisitTest::$fixture->doExtraQuoteTests = false;
\ No newline at end of file diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__Goals.get_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__Goals.get_day.xml new file mode 100644 index 0000000000..e7f13c883f --- /dev/null +++ b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__Goals.get_day.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_conversions>8</nb_conversions> + <nb_visits_converted>2</nb_visits_converted> + <revenue>1332</revenue> + <conversion_rate>100%</conversion_rate> + <nb_conversions_new_visit>8</nb_conversions_new_visit> + <nb_visits_converted_new_visit>2</nb_visits_converted_new_visit> + <revenue_new_visit>1332</revenue_new_visit> + <conversion_rate_new_visit>100%</conversion_rate_new_visit> + <nb_conversions_returning_visit>0</nb_conversions_returning_visit> + <nb_visits_converted_returning_visit>0</nb_visits_converted_returning_visit> + <revenue_returning_visit>0</revenue_returning_visit> + <conversion_rate_returning_visit>0%</conversion_rate_returning_visit> +</result>
\ No newline at end of file diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__VisitTime.getVisitInformationPerServerTime_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__VisitTime.getVisitInformationPerServerTime_day.xml new file mode 100644 index 0000000000..02554e3e24 --- /dev/null +++ b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__VisitTime.getVisitInformationPerServerTime_day.xml @@ -0,0 +1,319 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>00</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>5</nb_actions> + <nb_users>0</nb_users> + <max_actions>3</max_actions> + <sum_visit_length>363</sum_visit_length> + <bounce_count>0</bounce_count> + <goals> + <row idgoal='1'> + <nb_conversions>2</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>666</revenue> + </row> + <row idgoal='2'> + <nb_conversions>2</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>666</revenue> + </row> + <row idgoal='3'> + <nb_conversions>2</nb_conversions> + <nb_visits_converted>2</nb_visits_converted> + <revenue>0</revenue> + </row> + <row idgoal='4'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>0</revenue> + </row> + <row idgoal='5'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>0</revenue> + </row> + </goals> + <nb_conversions>8</nb_conversions> + <revenue>1332</revenue> + <segment>visitServerHour==0</segment> + </row> + <row> + <label>01</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==1</segment> + </row> + <row> + <label>02</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==2</segment> + </row> + <row> + <label>03</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==3</segment> + </row> + <row> + <label>04</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==4</segment> + </row> + <row> + <label>05</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==5</segment> + </row> + <row> + <label>06</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==6</segment> + </row> + <row> + <label>07</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==7</segment> + </row> + <row> + <label>08</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==8</segment> + </row> + <row> + <label>09</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==9</segment> + </row> + <row> + <label>10</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==10</segment> + </row> + <row> + <label>11</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==11</segment> + </row> + <row> + <label>12</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==12</segment> + </row> + <row> + <label>13</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==13</segment> + </row> + <row> + <label>14</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==14</segment> + </row> + <row> + <label>15</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==15</segment> + </row> + <row> + <label>16</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==16</segment> + </row> + <row> + <label>17</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==17</segment> + </row> + <row> + <label>18</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==18</segment> + </row> + <row> + <label>19</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==19</segment> + </row> + <row> + <label>20</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==20</segment> + </row> + <row> + <label>21</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==21</segment> + </row> + <row> + <label>22</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==22</segment> + </row> + <row> + <label>23</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <segment>visitServerHour==23</segment> + </row> +</result>
\ No newline at end of file diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__VisitsSummary.get_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__VisitsSummary.get_day.xml new file mode 100644 index 0000000000..7168091d51 --- /dev/null +++ b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__VisitsSummary.get_day.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_users>0</nb_users> + <nb_visits>2</nb_visits> + <nb_actions>5</nb_actions> + <nb_visits_converted>2</nb_visits_converted> + <bounce_count>0</bounce_count> + <sum_visit_length>363</sum_visit_length> + <max_actions>3</max_actions> + <bounce_rate>0%</bounce_rate> + <nb_actions_per_visit>2.5</nb_actions_per_visit> + <avg_time_on_site>182</avg_time_on_site> +</result>
\ No newline at end of file diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit_withLogLinkVisitActionSegment__Goals.get_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit_withLogLinkVisitActionSegment__Goals.get_day.xml new file mode 100644 index 0000000000..e7f13c883f --- /dev/null +++ b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit_withLogLinkVisitActionSegment__Goals.get_day.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_conversions>8</nb_conversions> + <nb_visits_converted>2</nb_visits_converted> + <revenue>1332</revenue> + <conversion_rate>100%</conversion_rate> + <nb_conversions_new_visit>8</nb_conversions_new_visit> + <nb_visits_converted_new_visit>2</nb_visits_converted_new_visit> + <revenue_new_visit>1332</revenue_new_visit> + <conversion_rate_new_visit>100%</conversion_rate_new_visit> + <nb_conversions_returning_visit>0</nb_conversions_returning_visit> + <nb_visits_converted_returning_visit>0</nb_visits_converted_returning_visit> + <revenue_returning_visit>0</revenue_returning_visit> + <conversion_rate_returning_visit>0%</conversion_rate_returning_visit> +</result>
\ No newline at end of file diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit__Goals.get_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit__Goals.get_day.xml new file mode 100644 index 0000000000..2c07daa5b1 --- /dev/null +++ b/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit__Goals.get_day.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_conversions>3</nb_conversions> + <nb_visits_converted>2</nb_visits_converted> + <revenue>1000</revenue> + <conversion_rate>66.67%</conversion_rate> + <nb_conversions_new_visit>3</nb_conversions_new_visit> + <nb_visits_converted_new_visit>2</nb_visits_converted_new_visit> + <revenue_new_visit>1000</revenue_new_visit> + <conversion_rate_new_visit>66.67%</conversion_rate_new_visit> + <nb_conversions_returning_visit>0</nb_conversions_returning_visit> + <nb_visits_converted_returning_visit>0</nb_visits_converted_returning_visit> + <revenue_returning_visit>0</revenue_returning_visit> + <conversion_rate_returning_visit>0%</conversion_rate_returning_visit> +</result>
\ No newline at end of file diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit_withLogLinkVisitActionAndLogVisitSegment__Goals.get_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit_withLogLinkVisitActionAndLogVisitSegment__Goals.get_day.xml new file mode 100644 index 0000000000..580ead80ab --- /dev/null +++ b/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit_withLogLinkVisitActionAndLogVisitSegment__Goals.get_day.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_conversions>3</nb_conversions> + <nb_visits_converted>2</nb_visits_converted> + <revenue>1000</revenue> + <conversion_rate>100%</conversion_rate> + <nb_conversions_new_visit>3</nb_conversions_new_visit> + <nb_visits_converted_new_visit>2</nb_visits_converted_new_visit> + <revenue_new_visit>1000</revenue_new_visit> + <conversion_rate_new_visit>100%</conversion_rate_new_visit> + <nb_conversions_returning_visit>0</nb_conversions_returning_visit> + <nb_visits_converted_returning_visit>0</nb_visits_converted_returning_visit> + <revenue_returning_visit>0</revenue_returning_visit> + <conversion_rate_returning_visit>0%</conversion_rate_returning_visit> +</result>
\ No newline at end of file diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit_withLogLinkVisitActionSegment__Goals.get_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit_withLogLinkVisitActionSegment__Goals.get_day.xml new file mode 100644 index 0000000000..580ead80ab --- /dev/null +++ b/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit_withLogLinkVisitActionSegment__Goals.get_day.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_conversions>3</nb_conversions> + <nb_visits_converted>2</nb_visits_converted> + <revenue>1000</revenue> + <conversion_rate>100%</conversion_rate> + <nb_conversions_new_visit>3</nb_conversions_new_visit> + <nb_visits_converted_new_visit>2</nb_visits_converted_new_visit> + <revenue_new_visit>1000</revenue_new_visit> + <conversion_rate_new_visit>100%</conversion_rate_new_visit> + <nb_conversions_returning_visit>0</nb_conversions_returning_visit> + <nb_visits_converted_returning_visit>0</nb_visits_converted_returning_visit> + <revenue_returning_visit>0</revenue_returning_visit> + <conversion_rate_returning_visit>0%</conversion_rate_returning_visit> +</result>
\ No newline at end of file |