Phoenixasuga / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

How to Fetch the Event from Google Analytics using JAVA code. #540

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi All,

Kindly help me with the same code to fetch the Google "Events" using the Java 
Code.

Following is the Events Created using my JSP by using the following tag:
<script type="text/javascript">
    var accountStatus='AccountCreated';     
    var userType ='Individual';     
    if(accountStatus!= null){       
    _gaq.push(['_trackEvent', 'UserType',userType ,accountStatus]);     
        }
    </script>

I am able to see the Events getting logged into the GA Dashboard under Events  
section.
Category: UserType
Action: Individual
Label: AccountCreated.

Original issue reported on code.google.com by sukutt...@gmail.com on 26 Jun 2012 at 1:22

GoogleCodeExporter commented 9 years ago

Original comment by rmis...@google.com on 14 Jan 2013 at 3:31