How can I get a report using the Google Analitics API or the Yandex Metrics API with a list of site pages and the number of visits to these pages from search engines over a period of time?

    2 answers 2

    For Google Analytics:

    • As far as I understand there is only one page per request, you can pull the data? - Kireev Alex

    For Yandex metrics - if there is a list of pages, simply hang on each one for the goal containing the url (regular schedules can be used) and then we get the target report with the number of visits and hits. A report on attendance will be suitable for obtaining data on the entire site.

    It is also possible the new API metrics will allow to obtain information without using goals, but this method did not try