Updating GA code

Updating google analytics code to support new features.