This tool is used to grab analytics data for urls. It is complete and working great, but we require some minor changes to the script.
Currently the tool pulls and store tokens to mysql table. The tool also uses the ga_profile table to store the analytics profiles. These tables will be eliminated now and the new storage will be the redis for tokens and an exclusive readonly mysql table for analytics profiles which is populated by our system.
New columns will be added to the analytics data tables (primary key, profile_id). There will be a separate database now for analytics data tables.
Instead of passing the profile_id into the tool parameters. The primary key of the new analytics profile table will be pass as parameter instead.