Google Analytics PHP Api

Written by on January 18, 2007 in Google Analytics, PHP - 7 Comments

Many asked me about Google Analytics Api and the possibility to use analytics data on their own application and there are many solutions already implemented even that no Api was provided by Google until today ! The first one written by Felix, a CakePHP model to access Google Analytics from PHP5 and PHP4. And the second one for PHP4 and wordpress users, a wordpress reports plugin using curl to access Google Analytics data, the plugin include a simple implementation that you might check if you are interested, or just write your own as Felix did.
wpreports.jpg
Update : Felix’s implementation work with both PHP4 and PHP5 as mentioned in comments.

7 Comments on "Google Analytics PHP Api"

  1. Anonymous March 2, 2007 at 12:32 pm · Reply

    Hey Hatem,
    thanks for mentioning my API on here ; ). The reason I comment is just to mention that it works in PHP5 *and* PHP4. Would be nice if you could correct that in the post.
    – Felix

  2. Hatem March 2, 2007 at 12:40 pm · Reply

    Post updated, thank you.

  3. Twister March 20, 2007 at 6:13 pm · Reply

    Hello Hatem,
    Is there any way I can grab the values present in the Google analytic graphs?
    Looking forward for your earliest reply.
    Thanks!
    Twister

  4. Mark March 20, 2007 at 6:16 pm · Reply

    Hello Hatem,
    Is there any way I can grab the values present in those Google analytic graphs?
    Thanks in advance,
    Mark.

  5. Vincent November 8, 2007 at 5:12 pm · Reply

    google provides an api in java for analytics it’s pretty easy to use . :-)

  6. Hatem November 8, 2007 at 6:33 pm · Reply

    Vincent at this time there is no official Analytics API, check out http://code.google.com for more info.

  7. Vincent November 23, 2007 at 9:38 pm · Reply

    Ahem…
    http://code.google.com/p/janalytics/

Leave a Comment