Google Analytics PHP API example


Google Analytics PHP API example – SWIS BV

This class provides methods for retrieving data from the Google Analytics API.

It provides a number of basic methods to directly get a PHP array with visitors, pageviews, referrers, etc.
You can also use the method getData() to use any number of metrics and dimensions to get an array with the results.

It provides basic caching stored in a session for fast responses.

Related Posts