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' => 'Bookmarks', 'prettyDate' => '27 Feb 24 - 27 Mar 24', 'metadata' => array ( 'category' => 'Visitors', 'name' => 'Country', 'module' => 'UserCountry', 'action' => 'getCountry', 'dimension' => 'Country', 'metrics' => array ( 'nb_visits' => 'Visits', 'nb_actions' => 'Actions', ), 'processedMetrics' => array ( 'nb_actions_per_visit' => 'Actions per Visit', 'avg_time_on_site' => 'Avg. Time on Website', 'bounce_rate' => 'Bounce Rate', ), 'metricsDocumentation' => array ( 'nb_visits' => 'If a visitor comes to your website for the first time or if he visits a page more than 30 minutes after his 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 he visits 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.', 'avg_time_on_page' => 'The average amount of time visitors spent on this page (only the page, not the entire website).', 'nb_hits' => 'The number of times this page was visited.', 'exit_rate' => 'The percentage of visits that left the website after viewing this page.', ), 'metricsGoal' => array ( 'nb_conversions' => 'Conversions', 'revenue' => 'Revenue', ), 'processedMetricsGoal' => array ( 'revenue_per_visit' => 'Revenue per Visit', ), 'imageGraphUrl' => 'index.php?module=API&method=ImageGraph.get&idSite=21&apiModule=UserCountry&apiAction=getCountry&token_auth=anonymous&period=range&date=previous30', 'imageGraphEvolutionUrl' => 'index.php?module=API&method=ImageGraph.get&idSite=21&apiModule=UserCountry&apiAction=getCountry&token_auth=anonymous&period=day&date=previous30', '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 ( ), 'parents' => NULL, 'currentId' => 3, 'depthLevel' => 0, 'indexNotUpToDate' => true, 'rebuildIndexContinuously' => false, 'tableSortedBy' => false, 'queuedFilters' => array ( ), 'rowsCountBeforeLimitFilter' => 0, 'enableRecursiveSort' => false, 'enableRecursiveFilters' => false, 'rowsIndexByLabel' => array ( ), 'summaryRow' => NULL, 'metadata' => array ( ), 'maximumAllowedRows' => 0, )), 'reportMetadata' => Piwik_DataTable::__set_state(array( 'rows' => array ( ), 'parents' => NULL, 'currentId' => 2, 'depthLevel' => 0, 'indexNotUpToDate' => true, 'rebuildIndexContinuously' => false, 'tableSortedBy' => false, 'queuedFilters' => array ( ), 'rowsCountBeforeLimitFilter' => 0, 'enableRecursiveSort' => false, 'enableRecursiveFilters' => false, 'rowsIndexByLabel' => array ( ), 'summaryRow' => NULL, 'metadata' => array ( ), 'maximumAllowedRows' => 0, )), 'timerMillis' => '54', );