Setting up your Environment:
- Install php and Mysql on your machine
- In your project web root directory, clone the repo
git clone https://github.com/dgroene/GSA-Analytics-Merge.git
Usage:
- DB Credentials are configured in config.php
- Program data is available in data/programs.csv
- Database and tables are cretaed in install.php
- Program data is imported to mysql using import_analytics.php
- Program data with analytics is exported from mysql to csv file in export_analytics.php
- Run program_analytics.php to read and merge program data and 30 day view counts and export them to data/program_analytics.csv