On Nov 12, 2007 12:26 PM, Stut <stuttle@xxxxxxxxx> wrote: > Daniel Brown wrote: > > On Nov 12, 2007 12:20 PM, Stut <stuttle@xxxxxxxxx> wrote: > >> tedd wrote: > >>> I have a Google Analytics account covering one of my web sites and I was > >>> wondering if it's possible to extract data from it? > >>> > >>> If it can be done, then how would one do it? > >> Not really PHP-related, but at the top of each page in Analytics there's > >> an Export button. Depending on what page you're looking at you can get a > >> variety of formats including XML, CSV and TSV. > >> > >> Not sure if you can get at it without going through the login process. > > > > I would certainly hope not, but the login could be automated using > > cURL anyway. > > One option would be to use the email feature to get it sent to a PHP > script on a schedule. > > -Stut > > -- > http://stut.net/ > I haven't used GA (probably the only web guy left in the world), but if it has an email feature like Stut mentioned, Tedd, you could run it through a piped-to-PHP email-parsing script. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php