use config to define analytics url