I want to get these data from Google Analytics https://support.google.com/analytics/answer/3437719?hl=en
How can I do it? Tried through the Reporting API, did not work.
You cannot, at least not for the more "exotic" fields (fullVisitorId, Nr. of session etc), at least not via the Reporting API). As the title of the linked page suggests this requires integration with Google's BigQuery product which is only available for GA360 clients.
You can of course get the more mundane dimensions and metrics (i.e. the ones that are accessible via the interface), but I don't suppose your are talking about that (and if you do you should show us what you tried so far).
Related
I manage web application which is made by Symfony2(PHP).
I measure some value in Database (for example, register User per a day) on management screen made by myself.
But I want to compare this value with data on Google analytics.
so I want to know how to send a value in database to Google analytics.
You could check the Data Import section on Property level, in Admin menu. You can find various range of data, that can be imported into Analytics, and applied to your reports.
It's not clear from your post, if any of these would be a solution for you. The detailed description of this feature is available here.
Personally, I'd do it reversed, and collect GA data for my management screen via GA API, if I had a management screen already.
I'm using the Google Plus API for a project that I'm working on. I'm hoping to be able to get information about shared circles in which a particular user has been included.
I've seen this active on Circle Count. For example, half way down Guy Kawasaki's profile page (http://www.circlecount.com/p/+GuyKawasaki), you can see the number of circles in which he has been shared. It also includes information about each circle like the date it was shared, the number of users that were included in it and a few more details.
I'm using PHP and am hoping to do this through the API, but I don't see any options for this type of information in the API. When I use the API to get information about activities, I don't see any field that seems to identify a shared circle post as anything different from any other post.
If you know a way to workaround the lack of support for this in the API through some form of a hack, please feel free to let me know.
Try looking over here: https://developers.google.com/+/domains/getting-started
Read the names of a user's circles and the membership of each circle
Google+ API v1 NO
Google+ Domains API YES
So I get on this url (Google+ Domains API): https://developers.google.com/+/domains/api/#Circles
Where the information about circles can be retreived. With this call:
/people/{userId}/circles
I'm looking for a way to retrieve and then display (with some Highcharts - like library) the current traffic we have on the website. The same way google analytics displays it on the gioogle analytics admin dashboard, but I'd like to retrieve with some API and display it directly on our custom dashboard.
After reading through the complete google analytics documentation, I've understood that
"Google Analytics API doesn’t support real-time stats yet… but this is
still useful if you want to display pageviews or number of visits on
your site and have it automatically update."
So my question is, is there another API to retrieve and display the current/instant traffic on a website on our custom admin dashboard. Or, is there a workaround (with AJAX ?) to do so with the google analytics API ? ( i've seen that you can retrieve the amount visitors on a given perido, so even if this is not real time, fo now it gets as close as I can to my goal)
I'm working with php and javscript
Thanks
No - the current API doesn't currently support true real-time statistics. It is the most highly requested feature though:
Google Analytics developer issues and feature requests
Access to Real Time Data
We develop services which integrate with the API. On average I estimate the latency is about 1-3 hours. I believe the larger your dataset it the longer the latency.
I've played around the the Analytics API and used oauth and managed to pull data from my Analytics account, this wasn't too much of a bother and worked really well.
The problem is I'm building a small "data graphing" service for me clients, this will basically feed data from Google Analytics, Telephone tracking and a few other services into a central area that'll display how many people are contacting them from their website.
The problem is that to use the Google Analytic API you need to be authenticated by oauth, this prompts the user to log into a Google account.
Is there a way in which I can get my GA data without the need to manually authenticate with oauth?
You could try GAPI - Google Analytics API PHP Interface
Here's the Google Code page of this project:
http://code.google.com/p/gapi-google-analytics-php-interface/
Features (as mentioned on the GAPI project page):
Supports CURL and fopen HTTP access methods, with autodetection
PHP arrays for Google Analytics metrics and dimensions
Account data object mapping - get methods for parameters
Report data object mapping - get methods for metrics and parameters
Easy filtering, use a GAPI query language for Google Analytics filters
Full PHP5 Object Oriented code, ready for use in your PHP application
I recently use the great php class call : Google Analytics PHP API. I manage to get it working to get a lot of info and stats for my 25+ website that have analytic
Now i like to get more data like
The page rank the google placement
(where i am on google #325 or #520)
Google Page Rank
Google Indexed Pages
Traffic Rank
Inbound Links
DMOZ Directory
Yahoo! Directory
get a summary (my way) much more like http://websitegrader.com
do you know a php class to do that ?
I guarantee you're not going to find one "class" that does all that for you.
Manually checking your site's rank on Alexa is probably going to be your best source of information on top of what Google Analytics is already giving you.
Google Analytics does NOT require any sort of API.
The site you linked to asks for your Google username/password. I'm flagging this question. I encourage others to do the same.
you can get all from alexa api (Alexa Web Services)
http://aws.amazon.com/awis/
but not free
$0.00015 per request ($0.15 for 1,000 requests)
i thought in the past to build a website to arrange an Arab sites
but arrived at the checkpoint
somme website use awis
www.statbrain.com
www.websiteoutlook.com
www.websitevaluecalculator.com