I need a PHP script that uses the Google Analytics Data Export API to allow users of my website to display stats from their Google Analytics account on any of their own websites (like a widget). More detail: 1. User of the script on my website authorizes access to his Analytics account for my site via AuthSub, see: [url removed, login to view] 2. User can select one of his website profiles from Analytics (on my site), like the example here: [url removed, login to view] 3. User selects what kind of data he wants to display as a widget. Possible should be: - Visits last 30 days - Visitors last 30 days - Countries visitors came from last 30 days - Traffic sources, last 30 days 4. Data for the query from 3 is retreived from Google Analytics and stored in MySQL database. - This one is up for discussion - if you know a more efficient way to store and retreive the data (maybe an .xml feed) I am open to suggestions. 5. User gets code to paste and display the stats on his own site. Display should be as follows: - Visits / Visitors -> Bar graph - Countries / Traffi sources -> Pie chart The whole process from authorization until getting the code has to happen on (one or several) pages on my website. Only the bare PHP script with the html to get it working (forms, etc) is necessary. No design, CSS, etc (besides the generated graphs). The code example from Google I gave in step 2 ([url removed, login to view]) gives a good impression of how I want the script to look, just... - much simpler, i.e. no query building, just the 4 pre-defined queries mentioned above - possibility to paste output on other sites as widget - outpot as graph instead of text/list
2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):
a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).