google analytics helper compatible with ga and ua