aspose file tools*
The moose likes Other Open Source Projects and the fly likes Java retrieving values from GAnalytics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Java retrieving values from GAnalytics" Watch "Java retrieving values from GAnalytics" New topic
Author

Java retrieving values from GAnalytics

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 321
Hi everybody,

I am getting data from my DB using Java. After that I use Javascript in order to send my values (using variables) to GAnalytics. That's working already, but what would happen if I want retrieve data from GAnalytics using his API and show it in my *.jsp?

Is that possible? Where that data is stored? For example if I create a custom variable in GA and using his API retrieve the result to my *.jsp, or for example, if I have in my app the GA javascript code which send the number of visitor to GA. Could retrieve that value from GA and display it in my front ent using Jquery Flot?

Many Thanks,

Cheers!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39530
    
  27
GA has no API to retrieve all the data you send to it. You can get at some of the summarized report via what little API it does have: https://developers.google.com/analytics/devguides/


Ping & DNS - updated with new look and Ping home screen widget
Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 321
Hi,

if for example I send a variable with value "Male" and in GAnalytics I customize it. For example:

custom var 1 containing "Gender"

custom value1 containing "Male"

If the result of this is that there are 30 males. Could I retrieve that custom variable result value using GA API or Java or in other way and show the result in my *.jsp?

Many thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java retrieving values from GAnalytics
 
Similar Threads
Tabbed Pane usage
Value tracking code javascript
how to retrieve javaScript variable into jsp
crating a table using JSP
Editable Table