Web Analytics
Google authentication api javascript example