LUCY offers different possibilities to redirect a user to a predefined pages in certain scenarios: ===== Redirect a user in a hyperlink-based scenario ===== In a hyperlink-based scenario, a landing page is not involved. Users receive a message, either through email or SMS, that may include certain content and potentially a hyperlink. If you choose to incorporate a link within the message template by using the **%link%** variable, this will generate a user-specific URL. LUCY provides an option to specify the user's destination after clicking the link. This can be accomplished by filling out the 'redirect URL field' found within the scenario settings. Remember, if you want to guide the user to the corresponding Awareness Scenario in the campaign, simply enter the **%awareness%** variable into the redirect URL field. This will seamlessly connect the user's interaction with the hyperlink to the next step in their awareness training. {{ redirect_url.png }} ===== Redirect a user in a form field before he clicks the submit button ===== This can be done using some javascript code as described [[special_landing_page_that_redirects_user_before_submitting_a_password|here]]. ===== Time based redirect a user on a landing page in a web based scenario ===== You can use the redirect value as well on landing pages. Left mouse click anywhere your landing page (1), then select **Insert Redirect** within the **Visual Editor** (2) and then define the redirect link (3) using a syntax like "http://example.com". As a result, the user will be redirected within 5 seconds to the desired web page. {{ redirect_url_v2.png }} If you want to use a **static link** to an **external** Intranet/Wiki page even if you have a separate link 'per language' you can place this redirect in the header: ===== Add a redirect script when a form gets submitted or when a link/button gets clicked ===== **Variation A** (no data gets send to LUCY): Just add an onclick event to the button or link, or onsubmit event to a form within the source of the code and the user will get redirected to the site defined in %redirect%. Please note: since you are redirecting the user to another site LUCY won't be able to Trigger successful form submits anymore and no data input from LUCY will be recorded. Example form: