If anyone would like to see, use or contribute to the code we used to build the Dashboard, we're on GitHub: https://github.com/GSA/analytics.usa.gov
And also open-sourced the adapter we use to get the data out of Google Analytics and into a nice clean JSON API for our client-side static app to consume: