This is a simple script that will fetch the data from Google analytics and save it to the database on my domain.
This piece of code should connect to Google analytics account via Google analytics API.
Steps involved:
1. index page will show Google analytics authorize button
2. After authorization, user will see dropdown list of accounts he has in his Google analytics account and option to select date range
3. After selecting account and date range script will save the following data to the database (I will provide database) on my domain.
4. The data that should be saved to the database is: organic traffic, refferal traffic, direct traffic, selected data range (month), site name for which report is created.
Basically this script will be only used by me and on my domain, so there is no need for login system or anything complicated. Script should be based on [login to view URL]
Hi Sir, Serious Freelancer Here.
I have very good experience with PHP and APIs implementation. I can help you.
I'll be here to talk further.
Regards,.
Juan
Hi. I have prior experience in using google analytics api for fetching all the data you want. To give you an overview I can make a python flask app to fetch all the data. The authorization will be done using oauth2 and python has its own googlepythonapiclient to connect to google analytics api. If you want I can also show you the previous work. But the only thing is, I will need some time to do this work (4-5 days) as I am a working professional so will work on this after office hours. If you would like me to do this, please inbox. Thanks :)