const agentfullContact = 'tel:4013011111'; <button type="button" onClick={e => { e.preventDefault(); // window.location.href='http://google.com'; window.open(agentfullContact, '_self'); }} > Call for price </button>