Forums Register Login

Java retrieving values from GAnalytics

+Pie Number of slices to send: Send
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!
+Pie Number of slices to send: Send
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/
+Pie Number of slices to send: Send
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
Bring out your dead! Or a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 649 times.
Similar Threads
crating a table using JSP
Editable Table
Tabbed Pane usage
how to retrieve javaScript variable into jsp
Value tracking code javascript
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 05:27:51.