如何将表格数据从谷歌分析显示到我的asp .net页面 [英] How do I display table data from google analytic to my asp .net page

查看:61
本文介绍了如何将表格数据从谷歌分析显示到我的asp .net页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨亲爱的所有人



我想在我的asp .net网页上显示谷歌分析表格数据。可以aby一个请帮我这样做..





提前谢谢...

解决方案

试用API - 使用Google ASP.NET和C#中的Analytics API Ver 3 [ ^ ]

或者,试试包装器 - 用于通过服务帐户访问和查询Google Analytics V3的.NET库 [ ^ ]。



另一个例子 - 在ASP中显示Google Analytics数据。 NET [ ^ ]。

我会通过创建数据集合和集合容器开始:一个,例如:



[C#]带接口示例文件的数据结构 - Pastebin.com [ ^ ](积分,我)



在结构中,将其编辑为结构应包含所有列的首选。



然后,我会创建一个HTTPWebRequest类来填充我的集合,当我的集合填充它上面的事件时会触发填充接口上的对象。



可以将保存方法添加到我提供的类中,因此如果需要演示,可以导出集合中的信息。



因此,唯一的挑战是:HTTPWebRequest Class。


Hi Dear all

I would like to display google analytic tabular data in my asp .net web page. Could aby one please help me to do this..


Thanks in advance...

解决方案

Try the API - Using Google Analytics API Ver 3 in ASP.NET and C#[^]
Alternatively, try the wrapper - .NET Library for Accessing and Querying Google Analytics V3 via Service Account[^].

Another example - Displaying Google Analytics Data in ASP.NET [^].


I would start, by creating data collections and collection containers: One, such as this:

[C#] Data Structures with Interface Example File - Pastebin.com[^] (Credits, Me)

In the structure, edit it as preferable where the structure should contain all columns.

Then, I would create an HTTPWebRequest class in order to populate my collection, by which as my collection populates the events on it would fire therefore populating objects on the interface.

A save method could be added to the class I provided, therefore the information in the collection can be exported if there is ever a need for a demonstration.

Consequently, the only challenge left: HTTPWebRequest Class.


这篇关于如何将表格数据从谷歌分析显示到我的asp .net页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆