Added debug mode for google analytics