fixing analytics url issue