updated to work with new version of google analytics and universal analytics