The following questions are designed to help you think about your business in a new light. The answers you provide are invaluable for both you and your advisor and will form the basis for a successful 1 on 1 advisory session in the weeks to come.
There are no right or wrong answers, and if you are unsure feel free to skip a question.
NOTE: Please ensure you use the same email as used to book your advisory.
document.addEventListener("DOMContentLoaded", function () {
// Event listener for clicks
document.addEventListener("click", function (e) {
// Check if the clicked button is inside the popup
const submitButton = e.target.closest(".sg-popup-id-55187 #aibutton-popup");
if (submitButton) {
e.preventDefault(); // Prevent default behavior
// Get the input field value inside the popup
const inputField = document.querySelector(".sg-popup-id-55187 #ai-search-input");
const queryInput = inputField?.value.trim();
// Validate the input
if (!queryInput || !queryInput.startsWith("http")) {
alert("Please enter a valid URL starting with http or https.");
return;
}
// Build the destination URL
const destinationUrl = `https://wpupdate.netstripes.info/ai-search-bar/?q=${encodeURIComponent(
queryInput
)}`;
// Open the results in a new tab
window.open(destinationUrl, "_blank");
}
});
});