Error: Data structure returned is not convertible in the requested format. Try to call this method with the parameters '&format=original&serialize=1'; you will get the original php data structure serialized. The data structure looks like this: $data = array ( 'website' => 'testset', 'prettyDate' => '2024', 'metadata' => array ( 'category' => 'Visitors', 'subcategory' => 'Locations', 'name' => 'Country', 'module' => 'UserCountry', 'action' => 'getCountry', 'dimension' => 'Country', 'documentation' => 'This report shows which country your visitors were in when they accessed your website.', 'metrics' => array ( 'nb_visits' => 'Visits', 'nb_actions' => 'Actions', ), 'metricsDocumentation' => array ( 'nb_visits' => 'If a visitor comes to your website for the first time or if they visit a page more than 30 minutes after their last page view, this will be recorded as a new visit.', 'nb_uniq_visitors' => 'The number of unduplicated visitors coming to your website. Every user is only counted once, even if they visit the website multiple times a day.', 'nb_actions' => 'The number of actions performed by your visitors. Actions can be page views, internal site searches, downloads or outlinks.', 'nb_actions_per_visit' => 'The average number of actions (page views, site searches, downloads or outlinks) that were performed during the visits.', 'avg_time_on_site' => 'The average duration of a visit.', 'bounce_rate' => 'The percentage of visits that only had a single pageview. This means, that the visitor left the website directly from the entrance page.', 'conversion_rate' => 'The percentage of visits that triggered a goal conversion.', ), 'processedMetrics' => array ( 'nb_actions_per_visit' => 'Actions per Visit', 'avg_time_on_site' => 'Avg. Time on Website', 'bounce_rate' => 'Bounce Rate', ), 'metricsGoal' => array ( 'nb_conversions' => 'Conversions', 'revenue' => 'Revenue', ), 'processedMetricsGoal' => array ( 'revenue_per_visit' => 'Revenue per Visit', ), 'imageGraphUrl' => 'index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=UserCountry&apiAction=getCountry&token_auth=anonymous&period=year&date=today', 'imageGraphEvolutionUrl' => 'index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=UserCountry&apiAction=getCountry&token_auth=anonymous&period=year&date=2015-01-01,2024-12-31', 'uniqueId' => 'UserCountry_getCountry', ), 'columns' => array ( 'label' => 'Country', 'nb_visits' => 'Visits', 'nb_actions' => 'Actions', 'nb_actions_per_visit' => 'Actions per Visit', 'avg_time_on_site' => 'Avg. Time on Website', 'bounce_rate' => 'Bounce Rate', 'revenue' => 'Revenue', ), 'reportData' => Piwik\DataTable::__set_state(array( 'rows' => array ( 0 => Piwik\DataTable\Row::__set_state(array( 'label' => 'China', 'nb_visits' => 80, 'nb_actions' => 225, 'nb_actions_per_visit' => 2.7999999999999998, 'avg_time_on_site' => '00:01:48', 'bounce_rate' => '16%', 'revenue' => '€0', )), 1 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Italy', 'nb_visits' => 34, 'nb_actions' => 146, 'nb_actions_per_visit' => 4.2999999999999998, 'avg_time_on_site' => '00:00:49', 'bounce_rate' => '3%', 'revenue' => '€0', )), 2 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Mauritius', 'nb_visits' => 28, 'nb_actions' => 128, 'nb_actions_per_visit' => 4.5999999999999996, 'avg_time_on_site' => '00:07:16', 'bounce_rate' => '11%', 'revenue' => '€0', )), 3 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Germany', 'nb_visits' => 26, 'nb_actions' => 91, 'nb_actions_per_visit' => 3.5, 'avg_time_on_site' => '00:01:22', 'bounce_rate' => '27%', 'revenue' => '€0', )), 4 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Japan', 'nb_visits' => 17, 'nb_actions' => 135, 'nb_actions_per_visit' => 7.9000000000000004, 'avg_time_on_site' => '00:02:42', 'bounce_rate' => '12%', 'revenue' => '€0', )), 5 => Piwik\DataTable\Row::__set_state(array( 'label' => 'United States', 'nb_visits' => 16, 'nb_actions' => 71, 'nb_actions_per_visit' => 4.4000000000000004, 'avg_time_on_site' => '00:00:31', 'bounce_rate' => '13%', 'revenue' => '€0', )), 6 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Netherlands', 'nb_visits' => 12, 'nb_actions' => 69, 'nb_actions_per_visit' => 5.7999999999999998, 'avg_time_on_site' => '00:03:12', 'bounce_rate' => '17%', 'revenue' => '€0', )), 7 => Piwik\DataTable\Row::__set_state(array( 'label' => 'United Kingdom', 'nb_visits' => 12, 'nb_actions' => 84, 'nb_actions_per_visit' => 7.0, 'avg_time_on_site' => '00:01:21', 'bounce_rate' => '8%', 'revenue' => '€0', )), 8 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Canada', 'nb_visits' => 10, 'nb_actions' => 16, 'nb_actions_per_visit' => 1.6000000000000001, 'avg_time_on_site' => '00:00:01', 'bounce_rate' => '40%', 'revenue' => '€0', )), 9 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Hong Kong SAR China', 'nb_visits' => 7, 'nb_actions' => 12, 'nb_actions_per_visit' => 1.7, 'avg_time_on_site' => '00:00:04', 'bounce_rate' => '43%', 'revenue' => '€0', )), 10 => Piwik\DataTable\Row::__set_state(array( 'label' => 'South Africa', 'nb_visits' => 7, 'nb_actions' => 19, 'nb_actions_per_visit' => 2.7000000000000002, 'avg_time_on_site' => '00:03:57', 'bounce_rate' => '14%', 'revenue' => '€0', )), 11 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Russia', 'nb_visits' => 6, 'nb_actions' => 76, 'nb_actions_per_visit' => 12.699999999999999, 'avg_time_on_site' => '00:13:36', 'bounce_rate' => '0%', 'revenue' => '€0', )), 12 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Spain', 'nb_visits' => 6, 'nb_actions' => 82, 'nb_actions_per_visit' => 13.699999999999999, 'avg_time_on_site' => '00:11:28', 'bounce_rate' => '0%', 'revenue' => '€0', )), 13 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Belgium', 'nb_visits' => 4, 'nb_actions' => 6, 'nb_actions_per_visit' => 1.5, 'avg_time_on_site' => '00:00:01', 'bounce_rate' => '50%', 'revenue' => '€0', )), 14 => Piwik\DataTable\Row::__set_state(array( 'label' => 'India', 'nb_visits' => 4, 'nb_actions' => 21, 'nb_actions_per_visit' => 5.2999999999999998, 'avg_time_on_site' => '00:05:07', 'bounce_rate' => '0%', 'revenue' => '€0', )), 15 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Norway', 'nb_visits' => 4, 'nb_actions' => 28, 'nb_actions_per_visit' => 7.0, 'avg_time_on_site' => '00:02:52', 'bounce_rate' => '0%', 'revenue' => '€0', )), 16 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Greece', 'nb_visits' => 3, 'nb_actions' => 44, 'nb_actions_per_visit' => 14.699999999999999, 'avg_time_on_site' => '00:06:47', 'bounce_rate' => '33%', 'revenue' => '€0', )), 17 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Morocco', 'nb_visits' => 3, 'nb_actions' => 22, 'nb_actions_per_visit' => 7.2999999999999998, 'avg_time_on_site' => '00:02:41', 'bounce_rate' => '0%', 'revenue' => '€0', )), 18 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Poland', 'nb_visits' => 3, 'nb_actions' => 12, 'nb_actions_per_visit' => 4.0, 'avg_time_on_site' => '00:04:24', 'bounce_rate' => '33%', 'revenue' => '€0', )), 19 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Romania', 'nb_visits' => 3, 'nb_actions' => 14, 'nb_actions_per_visit' => 4.7000000000000002, 'avg_time_on_site' => '00:06:23', 'bounce_rate' => '0%', 'revenue' => '€0', )), 20 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Singapore', 'nb_visits' => 3, 'nb_actions' => 8, 'nb_actions_per_visit' => 2.7000000000000002, 'avg_time_on_site' => '00:00:02', 'bounce_rate' => '0%', 'revenue' => '€0', )), 21 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Switzerland', 'nb_visits' => 3, 'nb_actions' => 4, 'nb_actions_per_visit' => 1.3, 'avg_time_on_site' => '00:00:01', 'bounce_rate' => '67%', 'revenue' => '€0', )), 22 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Austria', 'nb_visits' => 2, 'nb_actions' => 2, 'nb_actions_per_visit' => 1.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', 'revenue' => '€0', )), 23 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Hungary', 'nb_visits' => 2, 'nb_actions' => 9, 'nb_actions_per_visit' => 4.5, 'avg_time_on_site' => '00:00:33', 'bounce_rate' => '0%', 'revenue' => '€0', )), 24 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Jordan', 'nb_visits' => 2, 'nb_actions' => 4, 'nb_actions_per_visit' => 2.0, 'avg_time_on_site' => '00:00:02', 'bounce_rate' => '0%', 'revenue' => '€0', )), 25 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Bulgaria', 'nb_visits' => 1, 'nb_actions' => 2, 'nb_actions_per_visit' => 2.0, 'avg_time_on_site' => '00:00:02', 'bounce_rate' => '0%', 'revenue' => '€0', )), 26 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Denmark', 'nb_visits' => 1, 'nb_actions' => 2, 'nb_actions_per_visit' => 2.0, 'avg_time_on_site' => '00:00:02', 'bounce_rate' => '0%', 'revenue' => '€0', )), 27 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Finland', 'nb_visits' => 1, 'nb_actions' => 2, 'nb_actions_per_visit' => 2.0, 'avg_time_on_site' => '00:00:01', 'bounce_rate' => '0%', 'revenue' => '€0', )), 28 => Piwik\DataTable\Row::__set_state(array( 'label' => 'France', 'nb_visits' => 1, 'nb_actions' => 2, 'nb_actions_per_visit' => 2.0, 'avg_time_on_site' => '00:00:02', 'bounce_rate' => '0%', 'revenue' => '€0', )), 29 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Iran', 'nb_visits' => 1, 'nb_actions' => 2, 'nb_actions_per_visit' => 2.0, 'avg_time_on_site' => '00:00:01', 'bounce_rate' => '0%', 'revenue' => '€0', )), 30 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Portugal', 'nb_visits' => 1, 'nb_actions' => 4, 'nb_actions_per_visit' => 4.0, 'avg_time_on_site' => '00:00:24', 'bounce_rate' => '0%', 'revenue' => '€0', )), 31 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Serbia', 'nb_visits' => 1, 'nb_actions' => 5, 'nb_actions_per_visit' => 5.0, 'avg_time_on_site' => '00:02:00', 'bounce_rate' => '0%', 'revenue' => '€0', )), 32 => Piwik\DataTable\Row::__set_state(array( 'label' => 'South Korea', 'nb_visits' => 1, 'nb_actions' => 5, 'nb_actions_per_visit' => 5.0, 'avg_time_on_site' => '00:00:19', 'bounce_rate' => '0%', 'revenue' => '€0', )), 33 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Sweden', 'nb_visits' => 1, 'nb_actions' => 4, 'nb_actions_per_visit' => 4.0, 'avg_time_on_site' => '00:01:31', 'bounce_rate' => '0%', 'revenue' => '€0', )), 34 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Turkey', 'nb_visits' => 1, 'nb_actions' => 2, 'nb_actions_per_visit' => 2.0, 'avg_time_on_site' => '00:00:03', 'bounce_rate' => '0%', 'revenue' => '€0', )), 35 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Ukraine', 'nb_visits' => 1, 'nb_actions' => 4, 'nb_actions_per_visit' => 4.0, 'avg_time_on_site' => '00:00:55', 'bounce_rate' => '0%', 'revenue' => '€0', )), 36 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Vietnam', 'nb_visits' => 1, 'nb_actions' => 2, 'nb_actions_per_visit' => 2.0, 'avg_time_on_site' => '00:00:03', 'bounce_rate' => '0%', 'revenue' => '€0', )), ), 'currentId' => 4, 'depthLevel' => 0, 'indexNotUpToDate' => true, 'rebuildIndexContinuously' => false, 'tableSortedBy' => false, 'queuedFilters' => array ( ), 'disabledFilters' => array ( ), 'rowsCountBeforeLimitFilter' => 0, 'enableRecursiveSort' => false, 'enableRecursiveFilters' => false, 'rowsIndexByLabel' => array ( ), 'summaryRow' => NULL, 'totalsRow' => NULL, 'metadata' => array ( ), 'maximumAllowedRows' => 0, )), 'reportMetadata' => Piwik\DataTable::__set_state(array( 'rows' => array ( 0 => Piwik\DataTable\Row::__set_state(array( 'code' => 'cn', 'logo' => 'plugins/Morpheus/icons/dist/flags/cn.png', 'segment' => 'countryCode==cn', 'logoHeight' => 16, )), 1 => Piwik\DataTable\Row::__set_state(array( 'code' => 'it', 'logo' => 'plugins/Morpheus/icons/dist/flags/it.png', 'segment' => 'countryCode==it', 'logoHeight' => 16, )), 2 => Piwik\DataTable\Row::__set_state(array( 'code' => 'mu', 'logo' => 'plugins/Morpheus/icons/dist/flags/mu.png', 'segment' => 'countryCode==mu', 'logoHeight' => 16, )), 3 => Piwik\DataTable\Row::__set_state(array( 'code' => 'de', 'logo' => 'plugins/Morpheus/icons/dist/flags/de.png', 'segment' => 'countryCode==de', 'logoHeight' => 16, )), 4 => Piwik\DataTable\Row::__set_state(array( 'code' => 'jp', 'logo' => 'plugins/Morpheus/icons/dist/flags/jp.png', 'segment' => 'countryCode==jp', 'logoHeight' => 16, )), 5 => Piwik\DataTable\Row::__set_state(array( 'code' => 'us', 'logo' => 'plugins/Morpheus/icons/dist/flags/us.png', 'segment' => 'countryCode==us', 'logoHeight' => 16, )), 6 => Piwik\DataTable\Row::__set_state(array( 'code' => 'nl', 'logo' => 'plugins/Morpheus/icons/dist/flags/nl.png', 'segment' => 'countryCode==nl', 'logoHeight' => 16, )), 7 => Piwik\DataTable\Row::__set_state(array( 'code' => 'gb', 'logo' => 'plugins/Morpheus/icons/dist/flags/gb.png', 'segment' => 'countryCode==gb', 'logoHeight' => 16, )), 8 => Piwik\DataTable\Row::__set_state(array( 'code' => 'ca', 'logo' => 'plugins/Morpheus/icons/dist/flags/ca.png', 'segment' => 'countryCode==ca', 'logoHeight' => 16, )), 9 => Piwik\DataTable\Row::__set_state(array( 'code' => 'hk', 'logo' => 'plugins/Morpheus/icons/dist/flags/hk.png', 'segment' => 'countryCode==hk', 'logoHeight' => 16, )), 10 => Piwik\DataTable\Row::__set_state(array( 'code' => 'za', 'logo' => 'plugins/Morpheus/icons/dist/flags/za.png', 'segment' => 'countryCode==za', 'logoHeight' => 16, )), 11 => Piwik\DataTable\Row::__set_state(array( 'code' => 'ru', 'logo' => 'plugins/Morpheus/icons/dist/flags/ru.png', 'segment' => 'countryCode==ru', 'logoHeight' => 16, )), 12 => Piwik\DataTable\Row::__set_state(array( 'code' => 'es', 'logo' => 'plugins/Morpheus/icons/dist/flags/es.png', 'segment' => 'countryCode==es', 'logoHeight' => 16, )), 13 => Piwik\DataTable\Row::__set_state(array( 'code' => 'be', 'logo' => 'plugins/Morpheus/icons/dist/flags/be.png', 'segment' => 'countryCode==be', 'logoHeight' => 16, )), 14 => Piwik\DataTable\Row::__set_state(array( 'code' => 'in', 'logo' => 'plugins/Morpheus/icons/dist/flags/in.png', 'segment' => 'countryCode==in', 'logoHeight' => 16, )), 15 => Piwik\DataTable\Row::__set_state(array( 'code' => 'no', 'logo' => 'plugins/Morpheus/icons/dist/flags/no.png', 'segment' => 'countryCode==no', 'logoHeight' => 16, )), 16 => Piwik\DataTable\Row::__set_state(array( 'code' => 'gr', 'logo' => 'plugins/Morpheus/icons/dist/flags/gr.png', 'segment' => 'countryCode==gr', 'logoHeight' => 16, )), 17 => Piwik\DataTable\Row::__set_state(array( 'code' => 'ma', 'logo' => 'plugins/Morpheus/icons/dist/flags/ma.png', 'segment' => 'countryCode==ma', 'logoHeight' => 16, )), 18 => Piwik\DataTable\Row::__set_state(array( 'code' => 'pl', 'logo' => 'plugins/Morpheus/icons/dist/flags/pl.png', 'segment' => 'countryCode==pl', 'logoHeight' => 16, )), 19 => Piwik\DataTable\Row::__set_state(array( 'code' => 'ro', 'logo' => 'plugins/Morpheus/icons/dist/flags/ro.png', 'segment' => 'countryCode==ro', 'logoHeight' => 16, )), 20 => Piwik\DataTable\Row::__set_state(array( 'code' => 'sg', 'logo' => 'plugins/Morpheus/icons/dist/flags/sg.png', 'segment' => 'countryCode==sg', 'logoHeight' => 16, )), 21 => Piwik\DataTable\Row::__set_state(array( 'code' => 'ch', 'logo' => 'plugins/Morpheus/icons/dist/flags/ch.png', 'segment' => 'countryCode==ch', 'logoHeight' => 16, )), 22 => Piwik\DataTable\Row::__set_state(array( 'code' => 'at', 'logo' => 'plugins/Morpheus/icons/dist/flags/at.png', 'segment' => 'countryCode==at', 'logoHeight' => 16, )), 23 => Piwik\DataTable\Row::__set_state(array( 'code' => 'hu', 'logo' => 'plugins/Morpheus/icons/dist/flags/hu.png', 'segment' => 'countryCode==hu', 'logoHeight' => 16, )), 24 => Piwik\DataTable\Row::__set_state(array( 'code' => 'jo', 'logo' => 'plugins/Morpheus/icons/dist/flags/jo.png', 'segment' => 'countryCode==jo', 'logoHeight' => 16, )), 25 => Piwik\DataTable\Row::__set_state(array( 'code' => 'bg', 'logo' => 'plugins/Morpheus/icons/dist/flags/bg.png', 'segment' => 'countryCode==bg', 'logoHeight' => 16, )), 26 => Piwik\DataTable\Row::__set_state(array( 'code' => 'dk', 'logo' => 'plugins/Morpheus/icons/dist/flags/dk.png', 'segment' => 'countryCode==dk', 'logoHeight' => 16, )), 27 => Piwik\DataTable\Row::__set_state(array( 'code' => 'fi', 'logo' => 'plugins/Morpheus/icons/dist/flags/fi.png', 'segment' => 'countryCode==fi', 'logoHeight' => 16, )), 28 => Piwik\DataTable\Row::__set_state(array( 'code' => 'fr', 'logo' => 'plugins/Morpheus/icons/dist/flags/fr.png', 'segment' => 'countryCode==fr', 'logoHeight' => 16, )), 29 => Piwik\DataTable\Row::__set_state(array( 'code' => 'ir', 'logo' => 'plugins/Morpheus/icons/dist/flags/ir.png', 'segment' => 'countryCode==ir', 'logoHeight' => 16, )), 30 => Piwik\DataTable\Row::__set_state(array( 'code' => 'pt', 'logo' => 'plugins/Morpheus/icons/dist/flags/pt.png', 'segment' => 'countryCode==pt', 'logoHeight' => 16, )), 31 => Piwik\DataTable\Row::__set_state(array( 'code' => 'rs', 'logo' => 'plugins/Morpheus/icons/dist/flags/rs.png', 'segment' => 'countryCode==rs', 'logoHeight' => 16, )), 32 => Piwik\DataTable\Row::__set_state(array( 'code' => 'kr', 'logo' => 'plugins/Morpheus/icons/dist/flags/kr.png', 'segment' => 'countryCode==kr', 'logoHeight' => 16, )), 33 => Piwik\DataTable\Row::__set_state(array( 'code' => 'se', 'logo' => 'plugins/Morpheus/icons/dist/flags/se.png', 'segment' => 'countryCode==se', 'logoHeight' => 16, )), 34 => Piwik\DataTable\Row::__set_state(array( 'code' => 'tr', 'logo' => 'plugins/Morpheus/icons/dist/flags/tr.png', 'segment' => 'countryCode==tr', 'logoHeight' => 16, )), 35 => Piwik\DataTable\Row::__set_state(array( 'code' => 'ua', 'logo' => 'plugins/Morpheus/icons/dist/flags/ua.png', 'segment' => 'countryCode==ua', 'logoHeight' => 16, )), 36 => Piwik\DataTable\Row::__set_state(array( 'code' => 'vn', 'logo' => 'plugins/Morpheus/icons/dist/flags/vn.png', 'segment' => 'countryCode==vn', 'logoHeight' => 16, )), ), 'currentId' => 3, 'depthLevel' => 0, 'indexNotUpToDate' => true, 'rebuildIndexContinuously' => false, 'tableSortedBy' => false, 'queuedFilters' => array ( ), 'disabledFilters' => array ( ), 'rowsCountBeforeLimitFilter' => 0, 'enableRecursiveSort' => false, 'enableRecursiveFilters' => false, 'rowsIndexByLabel' => array ( ), 'summaryRow' => NULL, 'totalsRow' => NULL, 'metadata' => array ( ), 'maximumAllowedRows' => 0, )), 'reportTotal' => array ( 'nb_visits' => 309, 'nb_actions' => 1364, 'max_actions' => 51.0, 'sum_visit_length' => 47879, 'bounce_count' => 47, 'nb_visits_converted' => 0, 'sum_daily_nb_uniq_visitors' => 234, 'sum_daily_nb_users' => 0, 'nb_actions_per_visit' => 4.4000000000000004, ), 'timerMillis' => '273', );