I wanna start using Google Analytics PHP API.
I found 2 libraries and I can’t understand which one should I use and what is the main difference between them: gapi-google-analytics-php-interface and google-api-php-client
P.S. The main reason to use this API is requirement to work with goals.
google-api-php-clientis for Google API’s and not specifically for Google Analytics.gapi-google-analytics-php-interfaceis a library that connects to your Google Analytics account and extracts data. You should use this client.