if (window.location.href.indexOf('checkout') > 0) { }

Customer Login