It would be nice to be able to trigger GA Stats data retrieval via Drush.
It would also be nice to be able to generate GA Stats-like data for development when struggling with Google authentication, or lacking Internet access.

The forthcoming patch has a little bit of scope issues, in that it snipes at a couple minor coding standards issues, adds a bit of watchdog, makes Views integration work properly by default, and removes the ga_stats_data cache--I saw nothing using said cache, so it appears it was operating as a simple lock to prevent grabbing data on every cron run. I've replaced that with a lower impact Drupal variable in the fashion of cron_last.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Grayside’s picture

Status: Active » Needs review
FileSize
8.55 KB

It is worth noting that I was able to build a view against the data generated by this patch, but since I don't have GA login working yet, I have not properly tested the refactor around the data retrieval.

Grayside’s picture

Whitespace issues and a logic fix.

Grayside’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.