Setting analytics endpoint