andeedee / gapi-google-analytics-php-interface

Automatically exported from code.google.com/p/gapi-google-analytics-php-interface
0 stars 0 forks source link

How to print output to file? #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I use GA to track my website' searches and i need to use GAPI to print the most 
searched keywords to a file but don't know how....

With this i can list what i want, how do a make a file from this a file?

foreach($ga->getResults() as $result)
{
 echo ' '. $result .'   '.$result->getSearchUniques().'<br/> ' ;
}

Original issue reported on code.google.com by pedrogom...@gmail.com on 28 Jul 2011 at 7:50