Automatically login to Google Analytics Web Interface?

1,330 views
Skip to first unread message

thomas_witt_infopark

unread,
Jun 8, 2009, 4:45:05 PM6/8/09
to google-analytics-api - GA Data Export API
I'm currently building an integration to Google Analytics through the
new API for a web based service. I'd only like to display some basic
reports in my service directly and link to the analytics web interface
for further drill down.

Unfortuneately I haven't found any possibility (except hardcoding
login and password for GA in a webpage and simulating a post using
JavaScript) to directly deep link into the original web interface of
Google Analytics.

Any Ideas or suggestions?

Nick

unread,
Jun 8, 2009, 6:43:19 PM6/8/09
to google-analytics-api - GA Data Export API
Hey There,

There is no official support for this, but if you are already
authenticated into your google account, you can link directly to your
reports you have access to. Try bookmarking a page in the UI, closing
the window and clicking the bookmark to see what I mean.

Here's a URL from our UI : https://www.google.com/analytics/reporting/?reset=1&id=11380020&pdr=20090508-20090607
id is your profile id that you can retrieve from our API.

-Nick

Nick

unread,
Jun 8, 2009, 9:01:16 PM6/8/09
to google-analytics-api - GA Data Export API
Here is a cool wireframe of the GA UI I just came across :
http://galearning.com/ga_learning/gainterface/map.htm

If you click into the pages there are actually links to all our
reports and if you are already authenticated, you can get direct
report access.

-Nick


On Jun 8, 3:43 pm, Nick wrote:
> Hey There,
>
> There is no official support for this, but if you are already
> authenticated into your google account, you can link directly to your
> reports you have access to. Try bookmarking a page in the UI, closing
> the window and clicking the bookmark to see what I mean.
>
> Here's a URL from our UI :https://www.google.com/analytics/reporting/?reset=1&id=11380020&pdr=2...

thomas_witt_infopark

unread,
Jun 9, 2009, 4:23:51 AM6/9/09
to google-analytics-api - GA Data Export API
Nick,

> Here is a cool wireframe of the GA UI I just came across :http://galearning.com/ga_learning/gainterface/map.htm
>
> If you click into the pages there are actually links to all our
> reports and if you are already authenticated, you can get direct
> report access.

That's really good news, thanks a lot for this useful link.

Unfortuneately that doesn't solve my login problem - I just want to
auto login someone from my app and avoid the Google Login Panel. Seems
that there is no real solution for this currently.

Hanz

unread,
Jun 19, 2009, 5:07:09 AM6/19/09
to google-analytics-api - GA Data Export API
Hey ,

There is a way to do this but you will need to have PHP 5 running on
your server.
Take a look at this PHP Class writen to retrieve al the google
analytics data without the user nowing that he/she logged into
google :

http://code.google.com/p/gapi-google-analytics-php-interface/

Greets,

Hans
Reply all
Reply to author
Forward
0 new messages