Fix Pointer/Value problems on Google Analytics

Fixes issue with the GA implementation