Adding google analytics capability & removing a deprecated usage of connect