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' => 2, 'totals' => array ( 'nb_pageviews' => '2,600', 'nb_visits' => '1,863', 'nb_actions' => '3,147', 'revenue' => '5,377.55', 'nb_visits_lastdate' => 2071.0, ), 'lastDate' => '2022-09-23', 'sites' => array ( 0 => array ( 'label' => 'Demo Site', 'nb_visits' => '1,863', 'nb_actions' => '3,147', 'nb_pageviews' => '2,600', 'revenue' => '$5,377.55', 'nb_conversions' => 121, 'orders' => 46, 'ecommerce_revenue' => 5309.55, 'visits_evolution' => '-10%', 'visits_evolution_trend' => -1, 'actions_evolution' => '-11.2%', 'actions_evolution_trend' => -1, 'pageviews_evolution' => '-11.4%', 'pageviews_evolution_trend' => -1, 'revenue_evolution' => '-40.5%', 'revenue_evolution_trend' => -1, 'nb_conversions_evolution' => '-12.9%', 'nb_conversions_evolution_trend' => -1, 'orders_evolution' => '-17.9%', 'orders_evolution_trend' => -1, 'ecommerce_revenue_evolution' => '-40.7%', 'ecommerce_revenue_evolution_trend' => -1, 'idsite' => 1, 'ratio' => 1, 'currencySymbol' => '$', 'previous_nb_visits' => 2071, 'periodName' => 'day', 'previousRange' => 'Fri, Sep 23', 'previous_nb_actions' => 3544, 'previous_Actions_nb_pageviews' => 2935, 'previous_Goal_revenue' => 9045.5, 'previous_Goal_nb_conversions' => 139, 'previous_Goal_0_nb_conversions' => 56, 'previous_Goal_0_revenue' => 8954.5, 'group' => '', 'main_url' => 'https://divezone.net', ), 1 => array ( 'label' => 'Example Site', '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' => 2, 'ratio' => 1, 'currencySymbol' => '$', 'previous_nb_visits' => 0, 'periodName' => 'day', 'previousRange' => 'Fri, Sep 23', 'previous_nb_actions' => 0, 'previous_Actions_nb_pageviews' => 0, 'previous_Goal_revenue' => 0, 'previous_Goal_nb_conversions' => 0, 'group' => '', 'main_url' => 'https://matomo.org', ), ), );