Add google analytics functionality