I’d like to display a report that lists all popular pages on the sites I’m tracking in Piwik, and the view counts for each page. For each page that is listed, I’d like to display both the page title and the page URL. That way it’s easy for viewers to understand which pages the report refers to. And they can click on a row in the report to go to that page on the site.
I can’t find any way to get both the page URLs and the page titles in one API call. Similarly, the Piwik UI has a separate report for page URLs and page titles, both under the Actions tab. And I see that these two are tracked as separate actions in the database.
Is this because the page title and page URL can change separately? If so, is my desired report a bad idea? Should I curl my site directly when I generate this report, so I can get the current page title for each URL?