Want to filter all pages that will give 404 server response status .
I am using google client api ( PHP ) and developing an wordpress plugin for my own use .
I want to achieve some thing like
$filter = 'gaageViews<=10;ga:serverResponseStatus!=404';
and then want to retrieve result as below.
'ga:' . $profileId,
array('dimensions' => 'gaagePath', 'sort' => $order, 'filters' => $filter,'start-index' => 1 + ($page-1)*$max_results, 'max-results' => $max_results ) );
I have also asked in satckoverflow but could not get any answer that I can use .
Re: Want to filter all pages that will give 404 server response status
I guess your 404 error page has a specific title so you can use page title (gaageTitle) dimension to filter out the results.
You can use Query Explorer to make some tests: