How can I show my google analytics traffic report

2019-07-30 04:38发布

问题:

How can I show my google analytics traffic report (AKA 'View Report') via asp.net or classic asp?

回答1:

There are several APIs for querying data from Analytics. For example in both JavaScript and C#. See the developer guide for more information.

I don't think there is an easy way to just include their report into an existing page. You would have to use the APIs.



回答2:

you can use the google data APIs to pull feed data as xml look at this tool it lets you run text queries and see the results

then make a call to data feed and parse with Server.CreateObject("MSXML2.DomDocument.3.0") to output the results

im writing an article on how to do it right now ill post here when im done...