Answer the question
In order to leave comments, you need to log in
How to pass several pages to the 'filters' parameter of the Ya.Metrika API?
Friends, hello everyone!
Tell me how in Yandex Metrica to make a selection not on one page, but on several? Those. how to pass several pages to the 'filters' parameter.
$url = ' https://api-metrika.yandex.ru/stat/v1/data ';
$params = [
'ids' => '0000000000000',
'oauth_token' => '0000000000000000000000000000000000000000',
'metrics' => 'ym:pv:pageviews',
'dimensions' => 'ym:pvfilters:date', 'dimensions' => 'ym:pvfilters:date',
' ' => rawurldecode("ym:pv:URL==' https://yandex.ru/ '"),
'date1' => '30daysAgo',
'date2' =>
Or loop through each page you need and do the consolidation?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question