Google Analytics(分析)的PHP API [英] PHP API for Google Analytics
问题描述
我想开始使用Google Analytics(分析)PHP API。
我找到了2个库,我不明白应该使用哪一个,它们之间的主要区别是什么: gapi-google-analytics-php-interface 和 google-api-php-client a>
PS使用此API的主要原因是需要使用目标。
-client 适用于Google API,不适用于Google Analytics。 gapi-google-analytics-php-interface
是一个连接到您的Google Analytics帐户并提取数据的库。您应该使用此客户端。
GAPI(称为'g,a,p,i')是Google Analytics PHP5界面。
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-client
is for Google API's and not specifically for Google Analytics.
gapi-google-analytics-php-interface
is a library that connects to your Google Analytics account and extracts data. You should use this client.
GAPI (said 'g,a,p,i') is the Google Analytics PHP5 Interface.
这篇关于Google Analytics(分析)的PHP API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!