如何从Google Analytics到iphone SDK自动生成和获取报告

时间:2022-01-16 15:16:03

How to Autheticate and Get Reports from Google Analytics to my custom iphone application.

如何从Google Analytics自动化和获取报告到我的自定义iphone应用程序。

I just want to Authenticate the User and get the registered URLs from Google Analytics.

我只想验证用户并从Google Analytics获取注册的网址。

Thanks in Advance.

提前致谢。

1 个解决方案

#1


1  

You need to use GData Static library for objective c

您需要将GData静态库用于目标c

you can find it here:

你可以在这里找到它:

http://code.google.com/p/google-api-objectivec-client/

You can see that one of the links is for analytics.

您可以看到其中一个链接用于分析。

Here you can find a good tutorial for linking the library:

在这里,您可以找到一个链接库的好教程:

Kelvin's blog - GData Objective-C Client Setup in XCode 4

Kelvin的博客 - XCode 4中的GData Objective-C客户端设置

If you are using ARC, here is an update for the Header files so you can integrate them in your project with out getting ARC warnings:

如果您使用的是ARC,则此处是Header文件的更新,因此您可以将它们集成到项目中,而不会收到ARC警告:

Updating Gdata library for ARC

更新ARC的Gdata库

And this is a simplified explanation I made for the ARC problem:

这是我对ARC问题的简化解释:

explanation on the update

有关更新的说明

Good Luck

#1


1  

You need to use GData Static library for objective c

您需要将GData静态库用于目标c

you can find it here:

你可以在这里找到它:

http://code.google.com/p/google-api-objectivec-client/

You can see that one of the links is for analytics.

您可以看到其中一个链接用于分析。

Here you can find a good tutorial for linking the library:

在这里,您可以找到一个链接库的好教程:

Kelvin's blog - GData Objective-C Client Setup in XCode 4

Kelvin的博客 - XCode 4中的GData Objective-C客户端设置

If you are using ARC, here is an update for the Header files so you can integrate them in your project with out getting ARC warnings:

如果您使用的是ARC,则此处是Header文件的更新,因此您可以将它们集成到项目中,而不会收到ARC警告:

Updating Gdata library for ARC

更新ARC的Gdata库

And this is a simplified explanation I made for the ARC problem:

这是我对ARC问题的简化解释:

explanation on the update

有关更新的说明

Good Luck