Hi is there any way to put into our web-sites an iframe, or something that show us a miny report of our site in real time?
Google Analytics Reporting API
http://code.google.com/apis/analytics/docs/gdata/v3/gdataGettingStarted.html
Google Analytics data is constantly collected but you will notice via usage that Google doesn't process all data in real-time so it may not help you achieve your objective. Instead, I would recommend something like Piwik that does report in real-time.
Piwik is also open source with an API that will allow you to develop either a plug-in or integrate it into your own app.
Note that Piwik is not hosted as Google Analytics is, you install Piwik on your own hosting environment and this is a big difference to some people.
I hope that this helps you!
Megalytic enables you to embed a mini analytics report in your site or blog. Here's a demo: http://blog.megalytic.com/embedded-client-pages. More details here. Handles Google Analytics, Facebook, and Twitter.
For publishing Google Analytics report real time, Google has launched new API. Its Google Real Time API for Google Analytics.
With this you can perform real time website dashboard. To get start development check it https://developers.google.com/analytics/devguides/reporting/realtime/v3/devguide
This is very similar to Google Analytics, with this you can extract data which are available in the form of dimensions and metrics at Google Analytics account.
Related
can we show the google analytic Dashboard object in own website by using PHP and API or oauth?
You cant embedded the true Google analytics website in your site there would be no way to login. However you could create your own version of it.
You can use the Google Analytics API and the php client library to create your own dashboard. I have seen it done well using charts and graphs
An alternative would be the Embeded API this is javascript based though and only works with the core reporting api V3. It also does not support service accounts.
I am working on web application which will help to schedule the post in social sites like facebook, twitter and google plus. As far as I researched in the internet, it seems Google is not providing any api for writing streams neither at Personal profile nor at Google Pages. And it has provided the api access only to limited apps like hootsuite, buffer.
My question is, Is there any third party (even paid) APIs which will provide me this functionality ? Or, by any chance is it possible to request google for api access similar to the one, it provided for apps like hootsuite,buffer ?
The Buffer API does allow you to schedule tweets automatically. It doesn't seem to support programmatically scheduling updates for other social media platforms, which is what I'm currently trying to do.
I need to implement a concept in a php website, where I can sync my Google Calendar and later on when ever I make any changes in Google Calendar its changes should reflect to my website's calendar as well.
For that currently I have used Google's Calendar API. With the help of this I am able to connect my Google Calendar but not able to sync the Google calendar with my website when ever any change is made to Google Calendar. Can any one give me suggestions what can be done to achieve this.
I have tried even with the https://developers.google.com/google-apps/calendar/v3/push but with the given documentation could not get the notifications.
Any suggestions are welcome.
Thanks in advance !
Google calendar doesn't currently do push for web pages, only servers. You'll need to bring a server in the middle and forward the push to the browser when one arrives. I would recommend you look into http://en.wikipedia.org/wiki/Comet_(programming) and possibly also into alternatives described at the bottom.
I recently completed my first API in PHP. It is hosted at a public URL and accessed by a couple of my own mobile apps and websites. Based on a couple of parameters passed in, it pulls some data from my database and returns some JSON.
I would like to know some details about how often the API is accessed, and by what kind of clients.
Can I use google analytics for this? I have used it successfully on some websites in the same domain, but when I include the analytics php link and access the API, nothing is recorded.
Any gotchas I could be missing? Or is Google analytics only useable on web pages?
Google analytics isnt just for montiring websites, you can also use it to monitor mobile applications.
You might be able to monitor your API with the Measurement Protocol this should let you send info about the preformance of your api, and log the things you are talking about.
Note: I havent tried it but would love to hear from you if this works.
I want to start developing a tool that runs daily via cron for getting daily analytical data from one channel, or video, etc.. through the "Youtube Analytics API". And not what is the best way to approach it.
I have read the documentation of Google and and I have several questions:
I created the project in the console (https://code.google.com/apis/console/) but I doubt what kind of application I have to choose when I create a Client ID (Web Application, Service Account or Installed aplplication).
What PHP library use?
It's a very new API and not much information.
In the Google GData site there is a warning about that "Most newer Google APIs Google Data APIs are not Google Data APIs." and in the google-api-php-client, no examples of this API.
What is the best method for authentication in a cron?
As you can see I am very confuse, can someone help me, please?
Thank you.
1) It will be an installed application unless you will run it in a web server.
2) Use the official library, add the ytanalytics php library. Samples: https://github.com/youtube/yt-samples-php
3) You can do so by getting a refresh token from OAuth2 Playground and setting it in your youtube object.
Here it explains a little more.
And a step by step video.