Skip to content

peter-leonov/analytics-xslt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a set of scripts and stylesheets written to perform an automated downloading raw statistic numbers from the Google Analytics and then converting them to the amCharts format. Google provides greate API for data export, so we can log in and donload all the data with two simple bash-scripts. The work with converting one XML to another is done by the xsltproc with no extensions needed. Those tools (bash and xsltproc) are installed on almost all unix systems out there, so you will have to do nothing to get it up and running.

You can use it with cron to disable yourself from updating stats manually every time. We use this crontab file:
0 0 * * 3 cd /www/inshaker/analytic && ./login.sh >/dev/null
0 6 * * * cd /www/inshaker/analytic && ./update.sh >/dev/null

As you can see from the crontab we are using it on the Inhsaker (http://www.inshaker.ru/geeks/stats.html).

About

Scripts and stylesheets for displaying the google analytics by amCharts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages