// Redirect to the configured URL document.location = document.head.getAttribute("data-redirect-to");