House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Auto-Login to Google Analytics

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Donnie Carvajal
03/09/2010 05:30 PM

We want to add single login access to Google Analytics from our Content Management System for our clients.  I know there is an API for grabbing the Analytics data, but we are not interested in reproducing the reports.  We like the UI provided by Google.  We just want to give our clients a link inside of the Administrative portion of the Content Management System that will open up the Analytics Profile reports. Is it possible to authenticate to Google using the AuthSub and then pass the token in a GET/POST to Analytics?  If so, does anyone know the syntax?  Should I be looking at using OpenID instead?  I have found tons of articles explaining how to log in to everything but Google using OpenID.  It seems to me if Google has already authorized the login, then accessing the services should be allowed. I realize that this problem is the same trying to access any Google services and this is not just Analytics specific.  So if anyone has had luck linking to any Google services from inside a password protected app, changing the service should be simple. Any help is appreciated, Donnie

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jochem van Dieten
03/10/2010 07:10 AM

> Is it possible to authenticate to Google using the AuthSub and then pass the token in a GET/POST to Analytics? On an intranet you could do some DNS voodoo to hijack a google DNS name and set some cookies from that DNS name. But if you go that way you should take a moment to consider the security consequences of messing with Google accounts. > I realize that this problem is the same trying to access any Google services and this is not just Analytics specific. Which is why I don't think your clients will be happy if you do this. Imagine having Gmail open in one tab with an almost complete message, clicking your intranet link for the statistics and suddenly being logged out from your own Gmail account and into another Google account for the analytics. Jochem -- Jochem van Dieten http://jochem.vandieten.net/

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Kevin Pepperman
03/10/2010 07:23 AM

Ben Nadel's CFHttpSession.cfc may be able to do this, I have not tried it yet-- but it mimics browser sessions. http://www.bennadel.com/projects/cfhttp-session.htm logged out from your own Gmail account and into another Google account > for the analytics. Just as a side note: You can log into 2 gmail accounts in the same browser as once as long as one of them is a business account. :) I do it all the time. -- /Kevin Pepperman "They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." - Benjamin Franklin

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
03/10/2010 09:54 AM

> Just as a side note: You can log into 2 gmail accounts in the same browser > as once as long as one of them is a business account. :) > I do it all the time. ... unless both accounts share the same email address. For example, I have two Google accounts with the email address dwatts@figleaf.com. One is a GAFYD account, the other is a regular Google account with Gmail and Calendar not activated. This allows me to use public Google services like Analytics but have the email sent to my domain account, and is a somewhat common thing for people to do if they have a domain account. In my experience, I can't log into both of those simultaneously from the same browser. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Matthew Smith
03/10/2010 11:43 AM

How do you create a business account on google?  I googled and just got the local business stuff. On Wed, Mar 10, 2010 at 6:21 AM, Kevin Pepperman <chornobyl@gmail.com>wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Kevin Pepperman
03/10/2010 04:52 PM

http://www.google.com/services/ It is a paid service-- We recently converted a company I work for from Exchange to Google business-- They are all very happy with it. -- /Kevin Pepperman "They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." - Benjamin Franklin

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
03/10/2010 06:37 PM

> http://www.google.com/services/ > > It is a paid service-- We recently converted a company I work for from > Exchange to Google business-- They are all very happy with it. Actually, for Apps specifically, you can go directly there: http://www.google.com/a/ We've been using this for figleaf.com for quite a while, after migrating from Exchange. Fig Leaf Software is also a Google Enterprise partner, and we provide implementation and official Google Enterprise training on Apps end-user functionality, Apps administration, and Google Message Security/Google Message Discovery (aka Postini). Feel free to get in touch with me if you have any questions about Apps! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite.


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

July 31, 2010

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
         1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31