added google analytics and debug variable