add google analytics if config.google_analytics is provided