add dummy function if google analytics credentials are not supplied