<script>
const params = new URLSearchParams(window.location.search);
const id = params.get("id");
const redirects = {
"1": "https://g.page/r/CUSTOMER_LINK_1",
"2": "https://g.page/r/CUSTOMER_LINK_2",
"3": "https://g.page/r/CUSTOMER_LINK_3"
};
if (redirects[id]) {
window.location.href = redirects[id];
} else {
document.body.innerHTML = "Invalid QR code.";
}
</script>
