Google analytics, adwords and a webshop - php

I want to use the Google analytics API for managing some information.
Let's say I want to know who bought something in my webshop via adwords or not. So I can express my profit against my adwords visitors.
I can't find a good place to start. Maybe someone knows where I can find the proper information?
I want to interact with Google Analytics via PHP.

I managed this by using strings attached to the address (POST or GET method, I can't remember as I was just editing a pre-written cart), so I know when someone adds a product to the cart simply because in my analytics it shows up a page like
../cart.php?action=add&id=39

Related

Google Analytics for Advanced Data Extraction

I am planning to use the FREE Google Analytics as the engine for analytic for an ecommerce website. Is it possible for me to do the advanced data extraction from Google Analytics for the following task?
Every merchants will have their own analytic statistic on the website control panel to view how is their store page performing, which product people view the most, and etc detail statistic info.
Web system will able to use Google Analytics to have deep understanding about each individual customer like what product they view the most, how frequently they visit and etc. Then, using the info to provide most relevant suggestion to each individual customer.
Is this possible to be done with Google Analytics or I really need to have my own analytic system & store all the data myself?

Google Hangouts in my website as a chat/messaging system

I currently have Google OAuth 2.0 for authentication. Next I want to be able to use google hangouts in my website so users can chat with each other, along with showing their contact list. So basically I want it to look like how it is on gmail but on my website for hangouts. Main reason for doing this, I want my users to be able use hangouts as a mode of communication. Please let me know if this is possible and provide the necessary resources, an example/demo of this working would really be helpful.
Im afraid there's no API at the moment available (nor plans for that) to access the text chat feature of Hangouts.
yes, you can. More information about google hangouts API here https://developers.google.com/+/hangouts/getting-started

What is a good PHP analytics script?

I've created a completely custom website with a custom CMS. I would like to be able to use Google Analytics to get information such as visitor count, popular pages, visitor location(?), etc. I'm not into the analytics part of websites yet, so I've been looking for some easy ways to implement GA into the CMS. I'd love for the analytics dashboar to look similar to Blogger's analytics dashboard.
Does anyone have experience with a script that will get information from GA, and display it in a nice format?
Thanks!
By the way, I am very new to GA, so sorry if some of this doesn't make sense.
Piwik is a good option. It is open source and exposes a web API, so you can probably customize it to your needs.

Simplest way to get data from Google Analytics?

I am building a service like Wix.com, users can build simple mutli-pages website with ease. Every website will be including in a global Google Analytics account with a unique profile, then the tracking code is to be placed in the website pages.
Now, on the website dashboard i want to show the online visitors and the total number of visists for the website for each website separatly, trying to do so i have :
Tried using GAPI (http://code.google.com/p/gapi-google-analytics-php-interface/) but due to Google Analytics major update it doesn't work anymore.
I found Google Core reporting API for Analytics, but i believe it's made for 3rd party applications that accesses GA data for their clients, meaning that the user should have a Google account and GA profile for the website, and the App just connects to the account and retrieves data. And this of course isn't the case here; i can't ask the user to create a Google account and embed the tracking code in the website HTML; else what am i here for ?
Got the picture ? I need the simplest method to do this, no fancy stuff.
PS: Minutes ago i found this: Google Analytics Query Explorer (http://ga-dev-tools.appspot.com/explorer/), it's a 3rd party app that builds custom queries for GA and gives you the link, something like that :
https://www.googleapis.com/analytics/v3/data/ga?ids= (the ID) &dimensions=ga%3AvisitCount&metrics=ga%3Avisitors&segment=gaid%3A%3A-1&start-date=2013-02-01&end-date=2013-02-23&max-results=50
Now, trying to access the URL (thinking; this is easy :) ) the respond is a request for login first :
{"error":{"errors":[{"domain":"global","reason":"required","message":"Login Required","locationType":"header","location":"Authorization"}],"code":401,"message":"Login Required"}}
Thanks in advance.
Unless you have fewer than 50 clients this plan is not going to work the way you're asking for. (There is a limit of 50 profiles per account.)
The client will have to make their own GA number and provide it to you as a setting for their website.
In order to display the customers reports on a dashboard on your site you're also going to have to get them to authorize a GA App you create for access.

php class for seo

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

Categories