Add Google Analytics and Segment.io

Add Google Analytics page tracking and Segment.io event tracking.