1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-24 16:07:37 +00:00
Files
matomo/plugins/UserCountry/tests/System/expected/test___UserCountry.getRegion_day.xml
Stefan Giehl 385b03640e Fix filter in UserCountry.getCountry for Map of Maps (#17779)
* Fix filter in UserCountry.getCountry for Map of Maps

* Adds some tests & fixes other APImethods for multiple period & site request
2021-07-19 08:12:41 -07:00

126 خطوط
3.7 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<result>
<row>
<label>Bourgogne-Franche-Comté, France</label>
<nb_uniq_visitors>1</nb_uniq_visitors>
<nb_visits>2</nb_visits>
<nb_actions>6</nb_actions>
<nb_users>0</nb_users>
<max_actions>5</max_actions>
<sum_visit_length>1621</sum_visit_length>
<bounce_count>1</bounce_count>
<nb_visits_converted>2</nb_visits_converted>
<goals>
<row idgoal='1'>
<nb_conversions>2</nb_conversions>
<nb_visits_converted>2</nb_visits_converted>
<revenue>10</revenue>
</row>
<row idgoal='2'>
<nb_conversions>1</nb_conversions>
<nb_visits_converted>1</nb_visits_converted>
<revenue>5</revenue>
</row>
</goals>
<nb_conversions>3</nb_conversions>
<revenue>15</revenue>
<segment>regionCode==BFC;countryCode==fr</segment>
<region>BFC</region>
<country>fr</country>
<country_name>France</country_name>
<region_name>Bourgogne-Franche-Comté</region_name>
<logo>plugins/Morpheus/icons/dist/flags/fr.png</logo>
</row>
<row>
<label>British Columbia, Canada</label>
<nb_uniq_visitors>1</nb_uniq_visitors>
<nb_visits>2</nb_visits>
<nb_actions>6</nb_actions>
<nb_users>0</nb_users>
<max_actions>5</max_actions>
<sum_visit_length>1621</sum_visit_length>
<bounce_count>1</bounce_count>
<nb_visits_converted>2</nb_visits_converted>
<goals>
<row idgoal='1'>
<nb_conversions>2</nb_conversions>
<nb_visits_converted>2</nb_visits_converted>
<revenue>10</revenue>
</row>
<row idgoal='2'>
<nb_conversions>1</nb_conversions>
<nb_visits_converted>1</nb_visits_converted>
<revenue>5</revenue>
</row>
</goals>
<nb_conversions>3</nb_conversions>
<revenue>15</revenue>
<segment>regionCode==BC;countryCode==ca</segment>
<region>BC</region>
<country>ca</country>
<country_name>Canada</country_name>
<region_name>British Columbia</region_name>
<logo>plugins/Morpheus/icons/dist/flags/ca.png</logo>
</row>
<row>
<label>Unknown</label>
<nb_uniq_visitors>1</nb_uniq_visitors>
<nb_visits>2</nb_visits>
<nb_actions>6</nb_actions>
<nb_users>0</nb_users>
<max_actions>5</max_actions>
<sum_visit_length>1621</sum_visit_length>
<bounce_count>1</bounce_count>
<nb_visits_converted>2</nb_visits_converted>
<goals>
<row idgoal='1'>
<nb_conversions>2</nb_conversions>
<nb_visits_converted>2</nb_visits_converted>
<revenue>10</revenue>
</row>
<row idgoal='2'>
<nb_conversions>1</nb_conversions>
<nb_visits_converted>1</nb_visits_converted>
<revenue>5</revenue>
</row>
</goals>
<nb_conversions>3</nb_conversions>
<revenue>15</revenue>
<region>xx</region>
<country>xx</country>
<country_name>Unknown</country_name>
<region_name>Unknown</region_name>
<logo>plugins/Morpheus/icons/dist/flags/xx.png</logo>
</row>
<row>
<label>Warwickshire, United Kingdom</label>
<nb_uniq_visitors>1</nb_uniq_visitors>
<nb_visits>2</nb_visits>
<nb_actions>6</nb_actions>
<nb_users>0</nb_users>
<max_actions>5</max_actions>
<sum_visit_length>1621</sum_visit_length>
<bounce_count>1</bounce_count>
<nb_visits_converted>2</nb_visits_converted>
<goals>
<row idgoal='1'>
<nb_conversions>2</nb_conversions>
<nb_visits_converted>2</nb_visits_converted>
<revenue>10</revenue>
</row>
<row idgoal='2'>
<nb_conversions>1</nb_conversions>
<nb_visits_converted>1</nb_visits_converted>
<revenue>5</revenue>
</row>
</goals>
<nb_conversions>3</nb_conversions>
<revenue>15</revenue>
<segment>regionCode==WAR;countryCode==gb</segment>
<region>WAR</region>
<country>gb</country>
<country_name>United Kingdom</country_name>
<region_name>Warwickshire</region_name>
<logo>plugins/Morpheus/icons/dist/flags/gb.png</logo>
</row>
</result>