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 ( 'numSites' => 1, 'totals' => array ( 'nb_pageviews' => '0', 'nb_visits' => '0', 'nb_actions' => '0', 'revenue' => '0', 'nb_visits_lastdate' => 0, ), 'lastDate' => '2024-05-02', 'sites' => array ( 0 => array ( 'label' => 'Station of Commons', 'nb_visits' => '0', 'nb_actions' => '0', 'nb_pageviews' => '0', 'revenue' => '€0', 'nb_conversions' => 0, 'visits_evolution' => '0%', 'visits_evolution_trend' => 0, 'actions_evolution' => '0%', 'actions_evolution_trend' => 0, 'pageviews_evolution' => '0%', 'pageviews_evolution_trend' => 0, 'revenue_evolution' => '0%', 'revenue_evolution_trend' => 0, 'nb_conversions_evolution' => '0%', 'nb_conversions_evolution_trend' => 0, 'idsite' => 4, 'ratio' => 1, 'currencySymbol' => '€', 'previous_nb_visits' => 0, 'periodName' => 'day', 'previousRange' => 'Thu, May 2', 'previous_nb_actions' => 0, 'previous_Actions_nb_pageviews' => 0, 'previous_Goal_revenue' => 0, 'previous_Goal_nb_conversions' => 0, 'group' => '', 'main_url' => 'http://stationofcommons.org', ), ), );