# Google Analytics and Gdata

**URL:** <https://www.ruby-forum.com/t/google-analytics-and-gdata/180563>\
**Category:** Rails\
**Created:** [December 21, 2009, 10:46pm UTC](https://www.ruby-forum.com/t/google-analytics-and-gdata/180563 "2009-12-21T22:46:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajitonrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a4c791/32.png) [@ajitonrails](https://www.ruby-forum.com/u/ajitonrails)\
**Post date:** [December 21, 2009, 10:46pm UTC](https://www.ruby-forum.com/t/google-analytics-and-gdata/180563/1 "2009-12-21T22:46:52Z")

</div>

Hello all

in my app I have link “Authorize me to access your Google Analytics  
data”.

so user will click this link…

1.if user is logged into Google account it will show a screen with my  
email id prefilled in authorization section and I will be created as a  
read-only user to access Analytics data.

1. otherwise it will popup login screen and rest of the functionality  
similar as step 1.

I am using Gdata gem in my app.

Can you someone help me with a simple example, please?

Regards

Ajit

–

You received this message because you are subscribed to the Google  
Groups “Ruby on Rails: Talk” group.  
To post to this group, send email to removed\_email\_address@domain.invalid.  
To unsubscribe from this group, send email to  
removed\_email\_address@domain.invalid.  
For more options, visit this group at  
[http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).
