Skip to main content function getLastPart(url) { var parts = url.split("/"); return (url.lastIndexOf('/') !== url.length - 1 ? parts[parts.length - 1] : parts[parts.length - 2]); } var url = window.location.href; if (url) { var lastPart = getLastPart(url); if (lastPart === "jp") { window.location.href = "https://international.alarm.com/landing/jp/"; } }

Legal