Add Google Analytics to track user behavior and events.

Closes gh-19. Closes gh-12.