How to make Google Analytics data publicly available?

Is there any way to display Google Analytics data from my GA account on my website without any user authentication? I would like to show the most popular pages and possibly the most popular queries and so on. Iโ€™m looking for a way to do this that I donโ€™t need to create an API proxy service and obey quotas and restrictions, etc.

+7
source share
5 answers

GA does not currently offer a way to access data without authenticating users, even through the API.

+5
source

Google Analytics Demos and Tools is a resource for users and developers to find out whatโ€™s possible with the Google Analytics platform. Learn how to implement GA and the applications that can be created to take advantage of the flexibility and power of Google Analytics.

The code for the entire site is open source and is available on GitHub. We recommend that you take a look if you want to see how everything is done.

Google Analytics Tools

Github Google Analytics Demos & Tools

+1
source

I had such an idea:

  • Create a button where you get the OAuth2 access token (probably on the admin side)
  • Save token somewhere (db, file, etc.)
  • Do a cron job to update the token every hour (3600 seconds).
0
source

Try the Google Apps script , the output of which can be pasted into the page. They provide a GA connector, and when publishing a web application, you can choose anonymous access.

0
source

I have a feeling that the answers to this question are out of date.

In particular, I managed to get data from my server (I get an XML response), I'm still trying to understand how easy it is to parse this XML into data that javascript can use for rendering.

I know that the ga easy dashboard library (gadash) does it very well, but it depends on the requests made by the library itself (with authentication), and that is exactly what we are trying to avoid.

Does anyone have an idea on how to use the XML data we received to display the graphs?

I would be happy to show how I get xml if we come to a complete solution

Ilan

0
source

All Articles