Add google analytics and setting. Fixes #236.