add google analytics functions