add google analytics

New code starts on line 20.